Beispiel #1
0
        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);
        }
Beispiel #2
0
 public void UpdateCustomerCustomerDemo(BusinessObjects.CustomerCustomerDemo obj)
 {
     obj.AcceptChanges();
     obj.MarkAllColumnsAsDirty(EntitySpaces.Interfaces.esDataRowState.Modified);
     obj.Save();
 }