Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

SqlServerMetadataCache Members

The SqlServerMetadataCache type exposes the following members.

Constructors


  Name Description
Public method SqlServerMetadataCache
Initializes a new instance of the SqlServerMetadataCache class.

Methods


  Name Description
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAggregateFunction
Gets an aggregate function.
Public method GetForeignKeysForTable(SqlServerObjectName)
Gets the foreign keys for a table.
Public method GetForeignKeysForTable(TObjectName)
Gets the foreign keys for a table.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method GetHashCode (Inherited from Object.)
Public method GetIndexesForTable(SqlServerObjectName)
Gets the indexes for a table.
Public method GetIndexesForTable(TObjectName)
Gets the indexes for a table.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method GetScalarFunction
Gets the metadata for a scalar function.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method GetStoredProcedure
Gets the stored procedure's metadata.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method GetTableFunction
Gets the metadata for a table function.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method GetTableOrView(SqlServerObjectName)
Gets the detailed metadata for a table or view.
Public method GetTableOrView(TObjectName)
Gets the metadata for a table.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method GetTableOrViewFromClass(Type, OperationType) (Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method GetTableOrViewFromClass``1(OperationType) (Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method GetType (Inherited from Object.)
Public method GetUserDefinedTableType
Gets the metadata for a user defined type.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ParseObjectName
Parse a string and return the database specific representation of the database object's name.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method PreloadScalarFunctions
Preloads the scalar functions.
Public method PreloadStoredProcedures
Preloads the stored procedures.
Public method PreloadTableFunctions
Preloads the table value functions.
Public method PreloadTables
Preloads metadata for all tables.
Public method PreloadUserDefinedTableTypes
Preloads the user defined types.
Public method PreloadViews
Preloads metadata for all views.
Public method QuoteColumnName
Quotes the name of the column.
Public method RegisterType (Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method ToClrType(String, Boolean, Nullable<(Of <<'(Int32>)>>), Nullable<(Of <<'(Boolean>)>>))
Returns the CLR type that matches the indicated database column type.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Protected method ToClrType(UTP, Boolean, Nullable<(Of <<'(Int32>)>>)) (Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method ToString (Inherited from Object.)
Protected method TryGetRegisteredType (Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetScalarFunction(String, ScalarFunctionMetadata%) (Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetScalarFunction(UTP, ScalarFunctionMetadata%) (Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetStoredProcedure(String, StoredProcedureMetadata%) (Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetStoredProcedure(UTP, StoredProcedureMetadata%) (Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetTableFunction(String, TableFunctionMetadata%) (Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetTableFunction(UTP, TableFunctionMetadata%) (Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetTableOrView (Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetUserDefinedTableType(String, UserDefinedTableTypeMetadata%) (Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetUserDefinedTableType(UTP, UserDefinedTableTypeMetadata%) (Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method UnregisterType
Removes a database type registration and its CLR equivalent. If a builtin type, this restores it to its default behavior.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method ValueToSqlValue(Object, Nullable<(Of <<'(SqlDbType>)>>))
Converts a value to a string suitable for use in a SQL statement.
Public method ValueToSqlValue(Object, Nullable<(Of <<'(TDbType>)>>))
Converts a value to a string suitable for use in a SQL statement.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)

Properties


  Name Description
Public property CommentString
Gets the comment string. For most databases this is "--".
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public property Converter
Gets the converter dictionary used by materializers.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public property DatabaseName
Returns the current database.
Public property DefaultSchema
Returns the user's default schema.
Public property ServerVersion
Gets the server version number.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public property ServerVersionName
Gets the server version name.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public property UnsupportedSqlTypeNames
Gets a list of known, unsupported SQL type names.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)