c#之tcbs class的小記

wisdomone1發表於2011-08-30
public static GetDeductSchedCount GGetGetDeductSchedCount
(long DeductSchedNbr,long SubmNbr, params object[] fetchOptions)
        {

//類getdeductschedcount的方法中GGetGetDeductSchedCount直接例項化本類
//此方法呼叫本類另一個方法Criteria
            GetDeductSchedCount glt = new GetDeductSchedCount();
            try
            {
                Criteria criteria = new Criteria(DeductSchedNbr,SubmNbr, fetchOptions);
                glt = (GetDeductSchedCount)CoreBusinessBase.Director.Fetch(criteria);
            }
            catch (Exception ex)
            {
                string a = ex.Message.ToString();
            }
            return glt;
           
        }

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

相關文章