本文整理汇总了C#中Payment.MarkOld方法的典型用法代码示例。如果您正苦于以下问题:C# Payment.MarkOld方法的具体用法?C# Payment.MarkOld怎么用?C# Payment.MarkOld使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Payment
的用法示例。
在下文中一共展示了Payment.MarkOld方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Update
public void Update(int PaymentsKey,int QuoteKey,int? QuoteKeyActual,int PaymentStatus,DateTime DateCreated,int? RequestorUserKey,long? PaymentObjectSender,long? PaymentObjectReceiver,string PaymentDescription,int? TreasuryType)
{
Payment item = new Payment();
item.MarkOld();
item.IsLoaded = true;
item.PaymentsKey = PaymentsKey;
item.QuoteKey = QuoteKey;
item.QuoteKeyActual = QuoteKeyActual;
item.PaymentStatus = PaymentStatus;
item.DateCreated = DateCreated;
item.RequestorUserKey = RequestorUserKey;
item.PaymentObjectSender = PaymentObjectSender;
item.PaymentObjectReceiver = PaymentObjectReceiver;
item.PaymentDescription = PaymentDescription;
item.TreasuryType = TreasuryType;
item.Save(UserName);
}
示例2: Update
public void Update(int Id,string PaymentCode,DateTime PaymentDate,int? PaymentMemberID,int? PaymentCompanyID,string PaymentEmail,decimal PaymentSum,string PaymentMemo,int PaymentStatus,int? PaymentType,int? PaymentOrderID,int? CreatedBy,DateTime? CreatedOn,int? ModifiedBy,DateTime? ModifiedOn)
{
Payment item = new Payment();
item.MarkOld();
item.IsLoaded = true;
item.Id = Id;
item.PaymentCode = PaymentCode;
item.PaymentDate = PaymentDate;
item.PaymentMemberID = PaymentMemberID;
item.PaymentCompanyID = PaymentCompanyID;
item.PaymentEmail = PaymentEmail;
item.PaymentSum = PaymentSum;
item.PaymentMemo = PaymentMemo;
item.PaymentStatus = PaymentStatus;
item.PaymentType = PaymentType;
item.PaymentOrderID = PaymentOrderID;
item.CreatedBy = CreatedBy;
item.CreatedOn = CreatedOn;
item.ModifiedBy = ModifiedBy;
item.ModifiedOn = ModifiedOn;
item.Save(UserName);
}