public int InsertCatalogImage(int id, byte[] imageBytes) { // TODO: Check if exists CatalogPicturesTableAdapter dataAdapter = new CatalogPicturesTableAdapter(); return(dataAdapter.Insert(id, imageBytes)); }
public int UpdateCatalogImage(DataRow dataRow) { CatalogPicturesTableAdapter dataAdapter = new CatalogPicturesTableAdapter(); return(dataAdapter.Update(dataRow)); }
public int DeleteCatalogImage(int id) { CatalogPicturesTableAdapter dataAdapter = new CatalogPicturesTableAdapter(); return(dataAdapter.Delete(id)); }
public int UpdateCatalogImage(int id, byte[] imageBytes) { CatalogPicturesTableAdapter dataAdapter = new CatalogPicturesTableAdapter(); return(dataAdapter.Update(imageBytes, id)); }