Esempio n. 1
0
 public static IDbConnection CreateArtistAndTrackTablesWithData(IDbConnection db)
 {
     db.DropAndCreateTable <Artist>();
     db.DropAndCreateTable <Track>();
     Artists.Each(x => db.Save(x, references: true));
     return(db);
 }