Ejemplo n.º 1
0
 public static string GetPropertyName(DataRow dataRow)
 {
     return(Namer.GetPascalCasePlural((string)dataRow["ColumnName"]));
 }
Ejemplo n.º 2
0
 public static string GetVariableName(DataRow dataRow)
 {
     return(Namer.GetCamelCaseSingularPlural((string)dataRow["ColumnName"]));
 }
Ejemplo n.º 3
0
 public static string GetVariableName(DataTable dataTable)
 {
     return(Namer.GetCamelCaseSingularPlural(dataTable.TableName));
 }
Ejemplo n.º 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));
 }