protected override string GetPropertyName(string tableName, string columnName) { string name = ConfigNameMapping.GetPropertyName(tableName, columnName); return((string.IsNullOrWhiteSpace(name)) ? PluralNameMapping.GetPropertyName(tableName, columnName) : name); }
protected override string GetPropertyName(string tableName, string columnName) { string name = ConfigNameMapping.GetPropertyName(tableName, columnName); return((string.IsNullOrWhiteSpace(name)) ? columnName.UnderscoreToUpperCamel() : name); }