c#之tcbs方法示例hasvalue
public void PostOptionalCopy(Rtxn rtxn, long deductSchedNbr, long clearingAcctNbr, DateTime? effDate, bool isCopy, bool isForcePost, long? submNbrToCopy)
{
this._rtxn = rtxn;
this._deductSchedNbr = deductSchedNbr;
this._clearingAcctNbr = clearingAcctNbr;
//判斷方法引數effdate是否有值
if (effDate.HasValue)
{
this._effDate = effDate.Value;
}
else
{
this._effDate = DateTime.MinValue;
}
if (submNbrToCopy.HasValue)
{
this._submNbrToCopy = submNbrToCopy.Value;
}
this._isCopyOn = isCopy;
this._isForcePost = isForcePost;
this._saveType = DeductSchedSubmOption.PostWithOptionalCopy;
base.MarkAsDirty();
}
{
this._rtxn = rtxn;
this._deductSchedNbr = deductSchedNbr;
this._clearingAcctNbr = clearingAcctNbr;
//判斷方法引數effdate是否有值
if (effDate.HasValue)
{
this._effDate = effDate.Value;
}
else
{
this._effDate = DateTime.MinValue;
}
if (submNbrToCopy.HasValue)
{
this._submNbrToCopy = submNbrToCopy.Value;
}
this._isCopyOn = isCopy;
this._isForcePost = isForcePost;
this._saveType = DeductSchedSubmOption.PostWithOptionalCopy;
base.MarkAsDirty();
}
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-707515/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- c#之tcbs method方法示例C#
- c#之tcbs 列印憑證示例C#
- c# tcbs之switch多分支case示例C#
- c#之tcbs method方法_getC#
- c# tcbs之類中方法的特徵C#特徵
- c# tcbs之建構函式呼叫建構函式示例C#函式
- c# hasvalue屬性C#
- c# tcbs之外部類成員型別為內部類之示例C#型別
- tcbs之集合類與子類的示例
- c#之tcbs struct(2)小記C#Struct
- c#之tcbs class的小記C#
- c#之tcbs extern修飾符C#
- c#之tcbs 建構函式小記C#函式
- c#之string.format方法示例C#ORM
- c# 之tcbs在winform介面如何以mvc方法呼叫oracle函式C#ORMMVCOracle函式
- c# tcbs之遞迴方法查詢符合條件的控制元件C#遞迴控制元件
- c#之tcbs靜態方法_返回值為類的型別_小記C#型別
- c#之異常處理tcbs_try_catch_finallyC#
- c# tcbs屬性訪問器C#
- tcbs sqr之轉睡眠戶_sqr示例學習筆記_報表report筆記
- c# tcbs專案學習體悟C#
- tcbs_批量儲存過程_sql_case when_示例儲存過程SQL
- c#之帶有out輸出引數的方法定義及使用示例C#
- C#中抽象方法與虛方法的區別詳解及示例C#抽象
- 20111107 tcbs c#異常C#
- c# 冷儲存示例C#
- C# superSocket簡單示例C#
- C# string Format示例C#ORM
- c#安全形色示例C#
- c#之String.Split 方法C#
- C#之 sealed(密封類和密封方法)C#
- iStylePDF c#整合開發示例C#
- C# 指標複習示例C#指標
- c#靜態類static class示例C#
- c#反射Type_gettype示例測試C#反射
- c# 方法C#
- C#方法C#
- Flask之ajax操作示例Flask