本文整理汇总了C#中Data.UpdateCredit方法的典型用法代码示例。如果您正苦于以下问题:C# Data.UpdateCredit方法的具体用法?C# Data.UpdateCredit怎么用?C# Data.UpdateCredit使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Data
的用法示例。
在下文中一共展示了Data.UpdateCredit方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InsertCreditCardPayment
private void InsertCreditCardPayment(Data.Payment pvtclsPayment, long pvtlngTransactionID, string pvtstrTransactionNo, decimal pvtdecAmount, Int16 pvtintCardTypeID, string pvtstrCardNo, string pvtstrCardHolder, string pvtstrValidityDates, string pvtstrRemarks)
{
Data.CardType clsCardType = new Data.CardType(pvtclsPayment.Connection, pvtclsPayment.Transaction);
Data.CardTypeDetails clsCardTypeDetails = clsCardType.Details(pvtintCardTypeID);
Data.CreditCardPaymentDetails Details = new Data.CreditCardPaymentDetails();
Details.TransactionID = pvtlngTransactionID;
Details.TransactionNo = pvtstrTransactionNo;
Details.Amount = pvtdecAmount;
Details.CardTypeID = pvtintCardTypeID;
Details.CardNo = pvtstrCardNo;
Details.CardTypeCode = clsCardTypeDetails.CardTypeCode;
Details.CardTypeName = clsCardTypeDetails.CardTypeName;
Details.CardHolder = pvtstrCardHolder;
Details.ValidityDates = pvtstrValidityDates;
Details.Remarks = pvtstrRemarks;
pvtclsPayment.InsertCreditCardPayment(Details);
pvtclsPayment.UpdateCredit(mclsCustomerDetails.ContactID, pvtlngTransactionID, pvtstrTransactionNo, pvtdecAmount, pvtstrRemarks);
}
示例2: InsertCreditCardPayment
private void InsertCreditCardPayment(Data.Payment clsPayment, Int64 intTransactionID, string strTransactionNo, decimal decAmount, Int16 intCardTypeID, string strCardNo, string strCardHolder, string strValidityDates, string strRemarks)
{
Data.CardType clsCardType = new Data.CardType(clsPayment.Connection, clsPayment.Transaction);
Data.CardTypeDetails clsCardTypeDetails = clsCardType.Details(intCardTypeID);
Data.CreditCardPaymentDetails Details = new Data.CreditCardPaymentDetails();
Details.BranchDetails = mclsTerminalDetails.BranchDetails;
Details.TerminalNo = mclsTerminalDetails.TerminalNo;
Details.TransactionID = intTransactionID;
Details.TransactionNo = strTransactionNo;
Details.Amount = decAmount;
Details.CardTypeID = intCardTypeID;
Details.CardNo = strCardNo;
Details.CardTypeCode = clsCardTypeDetails.CardTypeCode;
Details.CardTypeName = clsCardTypeDetails.CardTypeName;
Details.CardHolder = strCardHolder;
Details.ValidityDates = strValidityDates;
Details.Remarks = strRemarks;
new Data.CreditCardPayments(clsPayment.Connection, clsPayment.Transaction).Insert(Details);
clsPayment.UpdateCredit(mclsCustomerDetails.ContactID, intTransactionID, strTransactionNo, decAmount, strRemarks);
}
示例3: InsertChequePayment
private void InsertChequePayment(Data.Payment pvtclsPayment, long pvtlngTransactionID, string pvtstrTransactionNo, string pvtstrChequeNo, decimal pvtdecAmount, DateTime pvtdteValidityDate, string pvtstrRemarks)
{
Data.ChequePaymentDetails Details = new Data.ChequePaymentDetails();
Details.TransactionID = pvtlngTransactionID;
Details.TransactionNo = pvtstrTransactionNo;
Details.ChequeNo = pvtstrChequeNo;
Details.Amount = pvtdecAmount;
Details.ValidityDate = pvtdteValidityDate;
Details.Remarks = pvtstrRemarks;
pvtclsPayment.InsertChequePayment(Details);
pvtclsPayment.UpdateCredit(mclsCustomerDetails.ContactID, pvtlngTransactionID, pvtstrTransactionNo, pvtdecAmount, pvtstrRemarks);
}
示例4: InsertChequePayment
private void InsertChequePayment(Data.Payment clsPayment, Int64 intTransactionID, string strTransactionNo, string strChequeNo, decimal decAmount, DateTime dteValidityDate, string strRemarks)
{
Data.ChequePaymentDetails Details = new Data.ChequePaymentDetails();
Details.BranchDetails = mclsTerminalDetails.BranchDetails;
Details.TerminalNo = mclsTerminalDetails.TerminalNo;
Details.TransactionID = intTransactionID;
Details.TransactionNo = strTransactionNo;
Details.ChequeNo = strChequeNo;
Details.Amount = decAmount;
Details.ValidityDate = dteValidityDate;
Details.Remarks = strRemarks;
new Data.ChequePayments(clsPayment.Connection, clsPayment.Transaction).Insert(Details);
clsPayment.UpdateCredit(mclsCustomerDetails.ContactID, intTransactionID, strTransactionNo, decAmount, strRemarks);
}