c#之tcbs方法示例hasvalue

wisdomone1發表於2011-09-15
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();
        }

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-707515/,如需轉載,請註明出處,否則將追究法律責任。

相關文章