Exemple #1
0
 public static void AddToDataBase(this List <IDateable> List, System.Data.OleDb.OleDbConnection Conexion)
 {
     using (CoreDataBaseAccess core = new CoreDataBaseAccess(Conexion))
     {
         core.InsertarAsync(List.ToArray());
     }
 }
Exemple #2
0
 public static void AddToDataBase(this IDateable dateable, System.Data.OleDb.OleDbConnection Conexion)
 {
     using (CoreDataBaseAccess core = new CoreDataBaseAccess(Conexion))
     {
         core.InsertarAsync(dateable);
     }
 }