C# 클래스 BetterMembership.Extensions.DatabaseExtensions

파일 보기 프로젝트 열기: TheCodeKing/BetterMembership.Net

공개 메소드들

메소드 설명
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

메소드 상세

AddColumnToTable() 공개 정적인 메소드

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
리턴 bool

ColumnExists() 공개 정적인 메소드

public static ColumnExists ( this db, string tableName, string columnName ) : bool
db this
tableName string
columnName string
리턴 bool

GetColumnsForTable() 공개 정적인 메소드

public static GetColumnsForTable ( this db, string tableName ) : IList
db this
tableName string
리턴 IList

TableExists() 공개 정적인 메소드

public static TableExists ( this db, string tableName ) : bool
db this
tableName string
리턴 bool