예제 #1
0
 public void DeleteList(List <BaseModele> bms, SqlConnection conn)
 {
     if (bms != null && bms.Count != 0)
     {
         Connexion c = new Connexion();
         foreach (var bm in bms)
         {
             c.Execute(QueryDelete(bm), conn);
         }
     }
 }
예제 #2
0
        public void Delete(BaseModele bm, SqlConnection conn)
        {
            Connexion c = new Connexion();

            c.Execute(QueryDelete(bm), conn);
        }