DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>..::..GetTableOrViewFromClass<(Of <(<'TObject>)>)> Method (OperationType)
Returns the table or view derived from the class's name and/or Table attribute.
Namespace:
Tortuga.Chain.MetadataAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
public TableOrViewMetadata<TObjectName, TDbType> GetTableOrViewFromClass<TObject>( OperationType operation )
Public Function GetTableOrViewFromClass(Of TObject) ( _ operation As OperationType _ ) As TableOrViewMetadata(Of TObjectName, TDbType)
public: generic<typename TObject> TableOrViewMetadata<TObjectName, TDbType>^ GetTableOrViewFromClass( OperationType^ operation )
Type Parameters
- TObject
- The type of the object.
Parameters
- operation
- Type: Tortuga.Chain.Metadata..::..OperationType
The operation.