C# Class Rsdn.Janus.SqlDbSchema

ファイルを表示 Open project: rsdn/janus

Protected Properties

Property Type Description
_sqlClauses System.Data.DataTable
_version SqlServerVersion

Public Methods

Method Description
GetSchema ( SqlConnection con, string collectionName, object restrictions ) : DataTable

Protected Methods

Method 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

Method Description
QuotedStringOrNull ( string str ) : string

Method Details

BuildCommand() protected method

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

GetCommandText() protected abstract method

protected abstract GetCommandText ( object restrictions ) : SqlClause
restrictions object
return SqlClause

GetSchema() public method

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

HelperGetComputed() protected static method

protected static HelperGetComputed ( int tid, int cid ) : string
tid int
cid int
return string

HelperGetExtendedProperty() protected static method

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
return object

HelperGetObjectDefinition() protected static method

protected static HelperGetObjectDefinition ( int id ) : string
id int
return string

ProcessResult() protected method

protected ProcessResult ( DataTable schema ) : DataTable
schema System.Data.DataTable
return System.Data.DataTable

SqlDbSchema() protected method

protected SqlDbSchema ( ) : System
return System

Property Details

_sqlClauses protected_oe property

protected DataTable,System.Data _sqlClauses
return System.Data.DataTable

_version protected_oe static_oe property

protected static SqlServerVersion,Rsdn.Janus _version
return SqlServerVersion