mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 增加 FreeSql.Generator 实体类生成工具
This commit is contained in:
22
Extensions/FreeSql.Generator/Program.cs
Normal file
22
Extensions/FreeSql.Generator/Program.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user