2022-07-04 05:29:16 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
|
|
|
|
using AsbCloudApp.Data.DailyReport;
|
2022-10-10 12:39:54 +05:00
|
|
|
|
using AsbCloudDb;
|
2022-10-06 13:49:20 +05:00
|
|
|
|
using AsbCloudDb.Model;
|
2022-07-04 05:29:16 +05:00
|
|
|
|
using AsbCloudInfrastructure.Services.DailyReport;
|
2022-06-17 13:20:48 +05:00
|
|
|
|
using ClosedXML.Excel;
|
2022-10-06 13:49:20 +05:00
|
|
|
|
using DocumentFormat.OpenXml.Wordprocessing;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
2022-10-11 09:02:53 +05:00
|
|
|
|
using Org.BouncyCastle.Utilities.Collections;
|
2022-05-05 10:06:15 +05:00
|
|
|
|
using System;
|
2022-10-11 17:04:26 +05:00
|
|
|
|
using System.Collections;
|
2022-10-11 09:02:53 +05:00
|
|
|
|
using System.Collections.Generic;
|
2022-06-17 13:20:48 +05:00
|
|
|
|
using System.IO;
|
2022-10-06 13:49:20 +05:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
2021-10-26 17:22:32 +05:00
|
|
|
|
|
|
|
|
|
namespace ConsoleApp1
|
2021-04-02 17:28:07 +05:00
|
|
|
|
{
|
2022-06-15 14:57:37 +05:00
|
|
|
|
|
2021-04-02 17:28:07 +05:00
|
|
|
|
class Program
|
2021-10-03 20:08:17 +05:00
|
|
|
|
{
|
2022-10-06 13:49:20 +05:00
|
|
|
|
private static AsbCloudDbContext db = ServiceFactory.Context;
|
2022-10-11 09:02:53 +05:00
|
|
|
|
|
2022-10-06 13:49:20 +05:00
|
|
|
|
// use ServiceFactory to make services
|
|
|
|
|
static void Main(/*string[] args*/)
|
|
|
|
|
{
|
2022-10-11 17:04:26 +05:00
|
|
|
|
var h = new Hashtable();
|
|
|
|
|
h.Add("name", 1);
|
|
|
|
|
h.Add("name2", "66");
|
|
|
|
|
var v = h["v"];
|
|
|
|
|
|
|
|
|
|
var s = System.Text.Json.JsonSerializer.Serialize(h);
|
|
|
|
|
|
2022-10-11 09:02:53 +05:00
|
|
|
|
Console.WriteLine($"total time: ms");
|
|
|
|
|
Console.ReadLine();
|
2022-10-06 13:49:20 +05:00
|
|
|
|
}
|
2022-06-17 13:20:48 +05:00
|
|
|
|
}
|
2021-04-02 17:28:07 +05:00
|
|
|
|
}
|