C# Class Rsdn.Janus.SqlDbSchema

Afficher le fichier Open project: rsdn/janus

Protected Properties

Свойство Type Description
_sqlClauses System.Data.DataTable
_version SqlServerVersion

Méthodes publiques

Méthode Description
GetSchema ( SqlConnection con, string collectionName, object restrictions ) : DataTable

Méthodes protégées

Méthode Description
BuildCommand ( SqlConnection connection, string collectionName, object restrictions ) : SqlCommand
GetCommandText ( object restrictions ) : SqlClause
HelperGetComputed ( int tid, int cid ) : string
HelperGetExtendedProperty ( string property_name, string level0_object_type, string level0_object_name, string level1_object_type, string level1_object_name, string level2_object_type, string level2_object_name ) : object
HelperGetObjectDefinition ( int id ) : string
ProcessResult ( DataTable schema ) : DataTable
SqlDbSchema ( ) : System

Private Methods

Méthode Description
QuotedStringOrNull ( string str ) : string

Method Details

BuildCommand() protected méthode

protected BuildCommand ( SqlConnection connection, string collectionName, object restrictions ) : SqlCommand
connection System.Data.SqlClient.SqlConnection
collectionName string
restrictions object
Résultat System.Data.SqlClient.SqlCommand

GetCommandText() protected abstract méthode

protected abstract GetCommandText ( object restrictions ) : SqlClause
restrictions object
Résultat SqlClause

GetSchema() public méthode

public GetSchema ( SqlConnection con, string collectionName, object restrictions ) : DataTable
con System.Data.SqlClient.SqlConnection
collectionName string
restrictions object
Résultat System.Data.DataTable

HelperGetComputed() protected static méthode

protected static HelperGetComputed ( int tid, int cid ) : string
tid int
cid int
Résultat string

HelperGetExtendedProperty() protected static méthode

protected static HelperGetExtendedProperty ( string property_name, string level0_object_type, string level0_object_name, string level1_object_type, string level1_object_name, string level2_object_type, string level2_object_name ) : object
property_name string
level0_object_type string
level0_object_name string
level1_object_type string
level1_object_name string
level2_object_type string
level2_object_name string
Résultat object

HelperGetObjectDefinition() protected static méthode

protected static HelperGetObjectDefinition ( int id ) : string
id int
Résultat string

ProcessResult() protected méthode

protected ProcessResult ( DataTable schema ) : DataTable
schema System.Data.DataTable
Résultat System.Data.DataTable

SqlDbSchema() protected méthode

protected SqlDbSchema ( ) : System
Résultat System

Property Details

_sqlClauses protected_oe property

protected DataTable,System.Data _sqlClauses
Résultat System.Data.DataTable

_version protected_oe static_oe property

protected static SqlServerVersion,Rsdn.Janus _version
Résultat SqlServerVersion