本文整理汇总了C#中Transaction.MarkOld方法的典型用法代码示例。如果您正苦于以下问题:C# Transaction.MarkOld方法的具体用法?C# Transaction.MarkOld怎么用?C# Transaction.MarkOld使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Transaction
的用法示例。
在下文中一共展示了Transaction.MarkOld方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Update
public void Update(int TransactionId,int OrderId,int TransactionTypeDescriptorId,string PaymentMethod,string GatewayName,string GatewayResponse,string GatewayTransactionId,string AVSCode,string CVV2Code,decimal GrossAmount,decimal NetAmount,decimal FeeAmount,DateTime TransactionDate,string GatewayErrors,string CreatedBy,DateTime CreatedOn,string ModifiedBy,DateTime ModifiedOn)
{
Transaction item = new Transaction();
item.TransactionId = TransactionId;
item.OrderId = OrderId;
item.TransactionTypeDescriptorId = TransactionTypeDescriptorId;
item.PaymentMethod = PaymentMethod;
item.GatewayName = GatewayName;
item.GatewayResponse = GatewayResponse;
item.GatewayTransactionId = GatewayTransactionId;
item.AVSCode = AVSCode;
item.CVV2Code = CVV2Code;
item.GrossAmount = GrossAmount;
item.NetAmount = NetAmount;
item.FeeAmount = FeeAmount;
item.TransactionDate = TransactionDate;
item.GatewayErrors = GatewayErrors;
item.CreatedBy = CreatedBy;
item.CreatedOn = CreatedOn;
item.ModifiedBy = ModifiedBy;
item.ModifiedOn = ModifiedOn;
item.MarkOld();
item.Save(UserName);
}
示例2: Update
public void Update(int TxKey,decimal? Amount,int? GiftKey,DateTime? InitDate,DateTime? CollectedDate,string TxnId,int? TxStatus,string Pakey,string ReceiverEmail)
{
Transaction item = new Transaction();
item.MarkOld();
item.IsLoaded = true;
item.TxKey = TxKey;
item.Amount = Amount;
item.GiftKey = GiftKey;
item.InitDate = InitDate;
item.CollectedDate = CollectedDate;
item.TxnId = TxnId;
item.TxStatus = TxStatus;
item.Pakey = Pakey;
item.ReceiverEmail = ReceiverEmail;
item.Save(UserName);
}