Esempio n. 1
0
 public void Recreate()
 {
   _connection = SqlHelper.Provider.OpenConnection();
   NorthwindDatabase database = new NorthwindDatabase(_connection);
   database.DropAllTables();
   database.Create();
 }
 public long AddSingleEmployee()
 {
   NorthwindDatabase database = new NorthwindDatabase(_database.Connection);
   return database.AddEmployee("Steve", "Zandt", DateTime.Now, true, 0);
 }
 public void AddDefaultData()
 {
   NorthwindDatabase database = new NorthwindDatabase(_database.Connection);
   database.AddDefaultData();
 }