static public void Delete(System.String customerID, System.String customerTypeID, esSqlAccessType sqlAccessType) { var obj = new CustomerCustomerDemo(); obj.CustomerID = customerID; obj.CustomerTypeID = customerTypeID; obj.AcceptChanges(); obj.MarkAsDeleted(); obj.Save(sqlAccessType); }
public void UpdateCustomerCustomerDemo(BusinessObjects.CustomerCustomerDemo obj) { obj.AcceptChanges(); obj.MarkAllColumnsAsDirty(EntitySpaces.Interfaces.esDataRowState.Modified); obj.Save(); }