コード例 #1
0
 public UnitOfWork(IConnectionStringsConfiguration connectionStringsConfiguration)
 {
     _db = new ApplicationContext(connectionStringsConfiguration);
     _db.Database.EnsureCreated();
 }
コード例 #2
0
 public ApplicationContext(IConnectionStringsConfiguration connectionConfiguration)
 {
     _connectionConfiguration = connectionConfiguration;
 }