Exemplo n.º 1
0
 public string GetString(string fieldName)
 {
     if (FinancialDataDocumentModel != null)
     {
         return(FinancialDataDocumentModel.GetPropertyValue <string>(fieldName));
     }
     return(string.Empty);
 }
Exemplo n.º 2
0
 public int GetInt(string fieldName)
 {
     if (FinancialDataDocumentModel != null)
     {
         return(FinancialDataDocumentModel.GetPropertyValue <int>(fieldName));
     }
     return(0);
 }
Exemplo n.º 3
0
        public decimal?GetDecimal(string fieldName)
        {
            decimal?result;

            try
            {
                result = FinancialDataDocumentModel.GetPropertyValue <decimal?>(fieldName);
            }
            catch
            {
                return(null);
            }

            return(result);
        }