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