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);
        }
示例#3
0
 public void UpdateShippers(BusinessObjects.Shippers obj)
 {
     obj.AcceptChanges();
     obj.MarkAllColumnsAsDirty(EntitySpaces.Interfaces.esDataRowState.Modified);
     obj.Save();
 }