예제 #1
0
        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);
        }
예제 #2
0
        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);
        }