예제 #1
0
 public SqlUserRepository()
 {
     _db = new DB(Config.GetConnectionString());
 }
예제 #2
0
 public void CreateDatbase()
 {
     var cs = @"Data Source=.\SQLEXPRESS;Initial Catalog=OpenIdAuth;Integrated Security=True";
     var db = new DB(cs);
     db.CreateDatabase();
 }
예제 #3
0
 static DatabaseMaintenance()
 {
     Db = new DB(Config.GetConnectionString());
 }