示例#1
0
        public void Test()
        {
            const string container = "mustaches-2015";
            var builder = new DbContextOptionsBuilder<MuztacheStore>()
                .UseSqlServer("Data Source=n9libpbrtl.database.windows.net;Initial Catalog=Muztache_db;Integrated Security=False;User ID=DataReader;Password=Tig3rBl00d;Connect Timeout=60;Encrypt=False;TrustServerCertificate=True;ApplicationIntent=ReadWrite;MultiSubnetFailover=False");

            MuztacheStore store = new MuztacheStore(builder.Options);
        }
示例#2
0
 public ContestantController(MuztacheStore store, BlobService blobService)
 {
     this.store = store;
     this.blobService = blobService;
 }
示例#3
0
 public SecurityController(MuztacheStore store)
 {
     this.store = store;
 }
示例#4
0
 public UserController(MuztacheStore store)
 {
     this.store = store;
 }