示例#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());
     }
 }
示例#2
0
 public static void AddToDataBase(this IDateable dateable, System.Data.OleDb.OleDbConnection Conexion)
 {
     using (CoreDataBaseAccess core = new CoreDataBaseAccess(Conexion))
     {
         core.InsertarAsync(dateable);
     }
 }