/// <summary> /// expedituresubtype - exTypeId /// </summary> public List<ExpeditureSubType> Expedituresubtype() { using(var dap = new ExpeditureSubTypeAccess(Container, true)) { return dap.GetByexTypeId(ExTypeId); } }
public ExpeditureSubType ExpeditureSubtype() { using(var dap = new ExpeditureSubTypeAccess(Container, true)) { if(ExSubTypeId != null) return dap.GetByexSubTypeId(ExSubTypeId.Value); return null; } }