public string GenerateCodePropertyParamsName(IColumn column)
        {
            string entityParamsName = TableColumnGenerationHelper.GenerateNameByTableColumn(column, "{0}", StringCase.CamelCase);

            if (TableColumnGenerationHelper.Csharpkeyword.Contains(entityParamsName))
            {
                return(entityParamsName + "p");
            }
            return(entityParamsName);
        }
Example #2
0
 public string GenerateCodePropertyName(IColumn column)
 {
     return(TableColumnGenerationHelper.GenerateNameByTableColumn(column, "{0}", StringCase.PascalCase));
 }
Example #3
0
 public string GenerateCodePropertyMemberName(IColumn column)
 {
     return(TableColumnGenerationHelper.GenerateNameByTableColumn(column,
                                                                  this.EntityCodePropertyMemberPrefix + "{0}",
                                                                  StringCase.CamelCase));
 }