Added main program for EF tooling
This commit is contained in:
1 file changed
+13
@@ -0,0 +1,13 @@
|
||||
using Microsoft.Extensions.Hosting;
|
||||
namespace DataModel;
|
||||
|
||||
public static class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("This app is intended for the EF tooling. You cannot start this data project, though.");
|
||||
Environment.Exit(0);
|
||||
}
|
||||
|
||||
public static IHostBuilder CreateHostBuilder(string[] args) => Setup.Setup4EFTooling(args);
|
||||
}
|
||||
Reference in new issue
Block a user