C# Class Gribble.TableSchema

Inheritance: ITableSchema
Afficher le fichier Open project: mikeobrien/Gribble

Méthodes publiques

Méthode Description
AddColumn ( string tableName, Column column ) : void
AddColumns ( string tableName ) : void
AddNonClusteredIndex ( string tableName ) : void
AddNonClusteredIndexes ( string tableName ) : void
Create ( IConnectionManager connectionManager, IProfiler profiler = null ) : ITableSchema
Create ( SqlConnection connection, System.TimeSpan commandTimeout = null, IProfiler profiler = null ) : ITableSchema
CreateTable ( string tableName ) : void
CreateTable ( string tableName, string modelTable ) : void
DeleteTable ( string tableName ) : void
GetColumns ( string tableName ) : IEnumerable
GetIndexes ( string tableName ) : IEnumerable
RemoveColumn ( string tableName, string columnName ) : void
RemoveNonClusteredIndex ( string tableName, string indexName ) : void
TableExists ( string tableName ) : bool
TableSchema ( IConnectionManager connectionManager, IProfiler profiler ) : System

Private Methods

Méthode Description
ColumnFactory ( IDataReader reader ) : Column

Method Details

AddColumn() public méthode

public AddColumn ( string tableName, Column column ) : void
tableName string
column Column
Résultat void

AddColumns() public méthode

public AddColumns ( string tableName ) : void
tableName string
Résultat void

AddNonClusteredIndex() public méthode

public AddNonClusteredIndex ( string tableName ) : void
tableName string
Résultat void

AddNonClusteredIndexes() public méthode

public AddNonClusteredIndexes ( string tableName ) : void
tableName string
Résultat void

Create() public static méthode

public static Create ( IConnectionManager connectionManager, IProfiler profiler = null ) : ITableSchema
connectionManager IConnectionManager
profiler IProfiler
Résultat ITableSchema

Create() public static méthode

public static Create ( SqlConnection connection, System.TimeSpan commandTimeout = null, IProfiler profiler = null ) : ITableSchema
connection System.Data.SqlClient.SqlConnection
commandTimeout System.TimeSpan
profiler IProfiler
Résultat ITableSchema

CreateTable() public méthode

public CreateTable ( string tableName ) : void
tableName string
Résultat void

CreateTable() public méthode

public CreateTable ( string tableName, string modelTable ) : void
tableName string
modelTable string
Résultat void

DeleteTable() public méthode

public DeleteTable ( string tableName ) : void
tableName string
Résultat void

GetColumns() public méthode

public GetColumns ( string tableName ) : IEnumerable
tableName string
Résultat IEnumerable

GetIndexes() public méthode

public GetIndexes ( string tableName ) : IEnumerable
tableName string
Résultat IEnumerable

RemoveColumn() public méthode

public RemoveColumn ( string tableName, string columnName ) : void
tableName string
columnName string
Résultat void

RemoveNonClusteredIndex() public méthode

public RemoveNonClusteredIndex ( string tableName, string indexName ) : void
tableName string
indexName string
Résultat void

TableExists() public méthode

public TableExists ( string tableName ) : bool
tableName string
Résultat bool

TableSchema() public méthode

public TableSchema ( IConnectionManager connectionManager, IProfiler profiler ) : System
connectionManager IConnectionManager
profiler IProfiler
Résultat Gribble.TransactSql.System