mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-15 23:42:51 +08:00
23 lines
593 B
C#
23 lines
593 B
C#
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;
|
|
}
|
|
}
|
|
}
|