public void Insert(int PaymentObjectType,int ObjectAccountKey,DateTime DateCreated) { PaymentObject item = new PaymentObject(); item.PaymentObjectType = PaymentObjectType; item.ObjectAccountKey = ObjectAccountKey; item.DateCreated = DateCreated; item.Save(UserName); }
public void Update(long PaymentObjectKey,int PaymentObjectType,int ObjectAccountKey,DateTime DateCreated) { PaymentObject item = new PaymentObject(); item.MarkOld(); item.IsLoaded = true; item.PaymentObjectKey = PaymentObjectKey; item.PaymentObjectType = PaymentObjectType; item.ObjectAccountKey = ObjectAccountKey; item.DateCreated = DateCreated; item.Save(UserName); }