C# Class nHydrate.DataImport.SqlClient.SchemaModelHelper

Inheritance: ISchemaModelHelper
Afficher le fichier Open project: nHydrate/nHydrate Class Usage Examples

Méthodes publiques

Méthode Description
GetSQLVersion ( string connectionString ) : SQLServerTypeConstants
IsSupportedSQLVersion ( string connectionString ) : bool
IsValidConnectionString ( string connectionString ) : bool

Private Methods

Méthode Description
GetFunctionBody ( string schema, string name, string connectionString ) : string
GetSqlColumnsForComputed ( ) : string
GetSqlColumnsForTable ( ) : string
GetSqlColumnsForTable ( string tableName ) : string
GetSqlDatabaseTables ( ) : string
GetSqlForFunctions ( ) : string
GetSqlForIndexes ( ) : string
GetSqlForRelationships ( ) : string
GetSqlForStoredProcedures ( ) : string
GetSqlForStoredProcedures ( string name ) : string
GetSqlForStoredProceduresBody ( string schema, string spName, string connectionString ) : string
GetSqlForStoredProceduresColumns ( StoredProc sp ) : string
GetSqlForStoredProceduresParameters ( ) : string
GetSqlForUniqueConstraints ( ) : string
GetSqlForViews ( ) : string
GetSqlForViewsColumns ( ) : string
GetSqlIndexesForTable ( ) : string
GetViewBody ( string sql ) : string
StripComments ( string sql ) : string

Not perfect!! Just strips off what looks like comment

Method Details

GetSQLVersion() public méthode

public GetSQLVersion ( string connectionString ) : SQLServerTypeConstants
connectionString string
Résultat SQLServerTypeConstants

IsSupportedSQLVersion() public méthode

public IsSupportedSQLVersion ( string connectionString ) : bool
connectionString string
Résultat bool

IsValidConnectionString() public méthode

public IsValidConnectionString ( string connectionString ) : bool
connectionString string
Résultat bool