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

SqlServerMetadataCache..::..GetUserDefinedTableTypes Method

Gets the table-valued functions that were loaded by this cache.

Namespace:  Tortuga.Chain.SqlServer
Assembly:  Tortuga.Chain.SqlServer.MDS (in Tortuga.Chain.SqlServer.MDS.dll)

Syntax


public IReadOnlyCollection<UserDefinedTableTypeMetadata<SqlServerObjectName, AbstractDbType>> GetUserDefinedTableTypes()
Public Function GetUserDefinedTableTypes As IReadOnlyCollection(Of UserDefinedTableTypeMetadata(Of SqlServerObjectName, AbstractDbType))
public:
IReadOnlyCollection<UserDefinedTableTypeMetadata<SqlServerObjectName^, AbstractDbType^>^>^ GetUserDefinedTableTypes()

Return Value

ICollection<UserDefinedTableTypeMetadata<SqlServerObjectName, SqlDbType>>.

Remarks


Call Preload before invoking this method to ensure that all table-valued functions were loaded from the database's schema. Otherwise only the objects that were actually used thus far will be returned.