forked from ddrilling/AsbCloudServer
40 lines
999 B
C#
40 lines
999 B
C#
using AsbCloudApp.Data;
|
|
using AsbCloudApp.Data.DailyReport;
|
|
using AsbCloudDb;
|
|
using AsbCloudDb.Model;
|
|
using AsbCloudInfrastructure.Services.DailyReport;
|
|
using ClosedXML.Excel;
|
|
using DocumentFormat.OpenXml.Wordprocessing;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Org.BouncyCastle.Utilities.Collections;
|
|
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ConsoleApp1
|
|
{
|
|
|
|
class Program
|
|
{
|
|
private static AsbCloudDbContext db = ServiceFactory.Context;
|
|
|
|
// use ServiceFactory to make services
|
|
static void Main(/*string[] args*/)
|
|
{
|
|
var h = new Hashtable();
|
|
h.Add("name", 1);
|
|
h.Add("name2", "66");
|
|
var v = h["v"];
|
|
|
|
var s = System.Text.Json.JsonSerializer.Serialize(h);
|
|
|
|
Console.WriteLine($"total time: ms");
|
|
Console.ReadLine();
|
|
}
|
|
}
|
|
}
|