Exemplo n.º 1
0
 private static void GetText()
 {
     DealParameter.GetFinalParameter();
     foreach (FinalParameter fp in Singleton <Condition> .Instance.FinalParameters)
     {
         Text.Append(GetSummary(fp.Description));
         if (Singleton <Condition> .Instance.EntityType == EntityType.InputDto)
         {
             Text.Append(GetDataAnnotation(fp));
         }
         Text.Append(GetTextLine(fp));
         Text.Append("\t\r\n");
     }
 }
Exemplo n.º 2
0
 public static string FinalDAL()
 {
     DealParameter.GetFinalParameter();
     if (Singleton <Condition> .Instance.DLLName == DLLName.Dapper)
     {
         GetDapperText();
         return(DapperText.ToString());
     }
     else
     {
         GetDataAccessText();
         return(DataAccessText.ToString());
     }
 }