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)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetAggregateFunction
Gets an aggregate function.
Public method GetForeignKeysForTable
Gets the foreign keys for a table.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method GetHashCode
Serves as the default hash function.
(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(SqlServerObjectName)
Gets the metadata for a scalar function.
Public method GetScalarFunction(TObjectName)
Gets the metadata for a scalar function.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method GetScalarFunctions
Gets the scalar functions that were loaded by this cache.
Public method GetStoredProcedure(SqlServerObjectName)
Gets the stored procedure's metadata.
Public method GetStoredProcedure(TObjectName)
Gets the stored procedure's metadata.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method GetStoredProcedures
Gets the stored procedures that were loaded by this cache.
Public method GetTableFunction(SqlServerObjectName)
Gets the metadata for a table function.
Public method GetTableFunction(TObjectName)
Gets the metadata for a table function.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method GetTableFunctions
Gets the table-valued functions that were loaded by this cache.
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)
Returns the table or view derived from the class's name and/or Table attribute.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method GetTableOrViewFromClass<(Of <<'(TObject>)>>)(OperationType)
Returns the table or view derived from the class's name and/or Table attribute.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method GetTablesAndViews
Gets the tables and views that were loaded by this cache.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetUserDefinedTableType(SqlServerObjectName)
Gets the metadata for a user defined type.
Public method GetUserDefinedTableType(TObjectName)
Gets the metadata for a user defined type.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method GetUserDefinedTableTypes
Gets the table-valued functions that were loaded by this cache.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(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 Preload()()()()
Preloads all of the metadata for this data source.
Public method Preload(Nullable<(Of <<'(String>)>>))
Preloads all of the metadata for this data source.
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
Registers a database type and its CLR equivalent.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method Reset
Resets the metadata cache, clearing out all cached metadata.
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
Returns a string that represents the current object.
(Inherited from Object.)
Protected method TryGetRegisteredType (Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetScalarFunction(String, Nullable<(Of <<'(ScalarFunctionMetadata>)>>)%)
Tries to get the metadata for a scalar function.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetScalarFunction(TObjectName, Nullable<(Of <<'(ScalarFunctionMetadata>)>>)%)
Tries to get the metadata for a scalar function.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetStoredProcedure(String, Nullable<(Of <<'(StoredProcedureMetadata>)>>)%)
Tries to get the stored procedure's metadata.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetStoredProcedure(TObjectName, Nullable<(Of <<'(StoredProcedureMetadata>)>>)%)
Tries to get the stored procedure's metadata.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetTableFunction(String, Nullable<(Of <<'(TableFunctionMetadata>)>>)%)
Tries to get the metadata for a table function.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetTableFunction(TObjectName, Nullable<(Of <<'(TableFunctionMetadata>)>>)%)
Tries to get the metadata for a table function.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetTableOrView
Tries to get the metadata for a table or view.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetUserDefinedTableType(String, Nullable<(Of <<'(UserDefinedTableTypeMetadata>)>>)%)
Try to get the metadata for a user defined type.
(Inherited from DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>.)
Public method TryGetUserDefinedTableType(TObjectName, Nullable<(Of <<'(UserDefinedTableTypeMetadata>)>>)%)
Try to get the metadata for a user defined type.
(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 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 MaxParameters
Gets the maximum number of parameters in a single SQL batch.
Public property MaxRowsPerValuesClause
Get the maximum number of rows in a single SQL statement's Values clause.
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>)>)>.)