Example #1
0
 public static string GetPropertyName(DataRow dataRow)
 {
     return(Namer.GetPascalCasePlural((string)dataRow["ColumnName"]));
 }
Example #2
0
 public static string GetVariableName(DataRow dataRow)
 {
     return(Namer.GetCamelCaseSingularPlural((string)dataRow["ColumnName"]));
 }
Example #3
0
 public static string GetVariableName(DataTable dataTable)
 {
     return(Namer.GetCamelCaseSingularPlural(dataTable.TableName));
 }
Example #4
0
 public static string GetTypeName(DataTable dataTable)
 {
     return(Namer.GetPascalCaseSingular(dataTable.TableName) + "Catalog");
 }
 public static string GetCatalogTablePropertyName(DataTable dataTable)
 {
     return(Namer.GetPascalCasePlural(dataTable.TableName));
 }
 public static string GetCatalogTableFieldName(DataTable dataTable)
 {
     return("_" + Namer.GetCamelCaseSingularPlural(dataTable.TableName));
 }