static public void Delete(System.String territoryID, esSqlAccessType sqlAccessType) { var obj = new Territories(); obj.TerritoryID = territoryID; obj.AcceptChanges(); obj.MarkAsDeleted(); obj.Save(sqlAccessType); }
public void UpdateTerritories(BusinessObjects.Territories obj) { obj.AcceptChanges(); obj.MarkAllColumnsAsDirty(EntitySpaces.Interfaces.esDataRowState.Modified); obj.Save(); }