示例#1
0
        public Startup(IConfiguration configuration)
        {
            using (var client = new SQLvcsContext())
            {
                //client.Database.EnsureDeleted();

                client.Database.Migrate();
                //client.Database.EnsureCreated();
            }
            Configuration = configuration;
        }
示例#2
0
 public UsersController(SQLvcsContext context)
 {
     _context = context;
 }
示例#3
0
 public ClientsController(SQLvcsContext context)
 {
     _context = context;
 }
示例#4
0
 public AdminController(SQLvcsContext context)
 {
     _context = context;
 }
示例#5
0
 public ProjectsController(SQLvcsContext context)
 {
     _context = context;
 }
示例#6
0
 public TestController(SQLvcsContext context, IHostingEnvironment appEnvironment)
 {
     _context        = context;
     _appEnvironment = appEnvironment;
 }
示例#7
0
 public RepoController(SQLvcsContext context)
 {
     _context = context;
 }
示例#8
0
 public DacpacsController(SQLvcsContext context)
 {
     _context = context;
 }
 public InstancesController(SQLvcsContext context)
 {
     _context = context;
 }
示例#10
0
 public DatabasesController(SQLvcsContext context)
 {
     _context = context;
 }