- 增加 FreeSql.Generator 实体类生成工具

This commit is contained in:
28810
2019-12-11 22:38:41 +08:00
parent 3a889504fb
commit 7797edebf1
7 changed files with 696 additions and 7 deletions

View File

@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace FreeSql.Generator
{
public class Program
{
static void Main(string[] args)
{
if (args != null && args.Length == 0) args = new[] { "?" };
ManualResetEvent wait = new ManualResetEvent(false);
new Thread(() => {
Thread.CurrentThread.Join(TimeSpan.FromSeconds(1));
ConsoleApp app = new ConsoleApp(args, wait);
}).Start();
wait.WaitOne();
return;
}
}
}