Пример #1
0
 /// <summary>
 /// incomesubtype - inTypeId
 /// </summary>
 public List<IncomeSubType> Incomesubtype()
 {
     using(var dap = new IncomeSubTypeAccess(Container, true))
     {
         return dap.GetByinTypeId(InTypeId);
     }
 }
Пример #2
0
 public IncomeSubType IncomeSubType()
 {
     using(var dap = new IncomeSubTypeAccess(Container, true))
     {
         if(InSubTypeId != null)
             return dap.GetByinSubTypeId(InSubTypeId.Value);
         return null;
     }
 }