static public void Delete(System.Int32 supplierID, esSqlAccessType sqlAccessType) { var obj = new Suppliers(); obj.SupplierID = supplierID; obj.AcceptChanges(); obj.MarkAsDeleted(); obj.Save(sqlAccessType); }
public void UpdateSuppliers(BusinessObjects.Suppliers obj) { obj.AcceptChanges(); obj.MarkAllColumnsAsDirty(EntitySpaces.Interfaces.esDataRowState.Modified); obj.Save(); }