C# Class BetterMembership.Extensions.DatabaseExtensions

Afficher le fichier Open project: TheCodeKing/BetterMembership.Net

Méthodes publiques

Méthode Description
AddColumnToTable ( this db, string userTableName, string userEmailColumn, SqlDbType dataType, int maxEmailLength, bool allowNull, bool isUnique ) : bool
ColumnExists ( this db, string tableName, string columnName ) : bool
GetColumnsForTable ( this db, string tableName ) : IList
TableExists ( this db, string tableName ) : bool

Method Details

AddColumnToTable() public static méthode

public static AddColumnToTable ( this db, string userTableName, string userEmailColumn, SqlDbType dataType, int maxEmailLength, bool allowNull, bool isUnique ) : bool
db this
userTableName string
userEmailColumn string
dataType SqlDbType
maxEmailLength int
allowNull bool
isUnique bool
Résultat bool

ColumnExists() public static méthode

public static ColumnExists ( this db, string tableName, string columnName ) : bool
db this
tableName string
columnName string
Résultat bool

GetColumnsForTable() public static méthode

public static GetColumnsForTable ( this db, string tableName ) : IList
db this
tableName string
Résultat IList

TableExists() public static méthode

public static TableExists ( this db, string tableName ) : bool
db this
tableName string
Résultat bool