static public void Delete(System.Int32 shipperID, esSqlAccessType sqlAccessType) { var obj = new Shippers(); obj.ShipperID = shipperID; obj.AcceptChanges(); obj.MarkAsDeleted(); obj.Save(sqlAccessType); }
static public void Delete(System.Int32 shipperID) { var obj = new Shippers(); obj.ShipperID = shipperID; obj.AcceptChanges(); obj.MarkAsDeleted(); obj.Save(); }