private void FixupCASH_PAYMENT(CASH_PAYMENT previousValue) { if (previousValue != null && ReferenceEquals(previousValue.PAYMENT, this)) { previousValue.PAYMENT = null; } if (CASH_PAYMENT != null) { CASH_PAYMENT.PAYMENT = this; } }
public void DeleteById(int Id) { CASH_PAYMENT cPayment = new CASH_PAYMENT() { ID = Id }; Delete(cPayment); }
public void Delete(CASH_PAYMENT Entity) { Context.CASH_PAYMENT.Attach(Entity); Context.DeleteObject(Entity); }
public void Update(CASH_PAYMENT Entity) { Context.CASH_PAYMENT.Attach(Entity); Context.ObjectStateManager.ChangeObjectState(Entity, System.Data.EntityState.Modified); }
public void Insert(CASH_PAYMENT Entity) { Context.CASH_PAYMENT.AddObject(Entity); }
public List<CASH_PAYMENT> Search(CASH_PAYMENT Entity, int PageSize, int PageIndex, out int TotalRecords, string OrderExp, Util.SortDirection SortDirection) { throw new NotImplementedException(); }