static public void Delete(System.Int32 shipperID) { var obj = new Shippers(); obj.ShipperID = shipperID; obj.AcceptChanges(); obj.MarkAsDeleted(); obj.Save(); }
static public void Delete(System.Int32 shipperID, esSqlAccessType sqlAccessType) { var obj = new Shippers(); obj.ShipperID = shipperID; obj.AcceptChanges(); obj.MarkAsDeleted(); obj.Save(sqlAccessType); }
public void UpdateShippers(BusinessObjects.Shippers obj) { obj.AcceptChanges(); obj.MarkAllColumnsAsDirty(EntitySpaces.Interfaces.esDataRowState.Modified); obj.Save(); }