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