C# Class Simple.Metadata.SQLiteSchemaProvider

Inheritance: DbSchemaProvider
显示文件 Open project: juanplopes/simple

Public Methods

Method Description
GetConstraints ( IList includedTables, IList excludedTables ) : IEnumerable
GetDbColumnType ( string providerDbType ) : DbType

For a given database type, returns a closest-match DbType. According SQLite SQLiteConvert :: internal static DbType TypeNameToDbType(string Name)

GetTables ( IList includedTables, IList excludedTables ) : IEnumerable
SQLiteSchemaProvider ( MetaContext context ) : System

Method Details

GetConstraints() public method

public GetConstraints ( IList includedTables, IList excludedTables ) : IEnumerable
includedTables IList
excludedTables IList
return IEnumerable

GetDbColumnType() public method

For a given database type, returns a closest-match DbType. According SQLite SQLiteConvert :: internal static DbType TypeNameToDbType(string Name)
public GetDbColumnType ( string providerDbType ) : DbType
providerDbType string The name of the type to match
return DbType

GetTables() public method

public GetTables ( IList includedTables, IList excludedTables ) : IEnumerable
includedTables IList
excludedTables IList
return IEnumerable

SQLiteSchemaProvider() public method

public SQLiteSchemaProvider ( MetaContext context ) : System
context MetaContext
return System