DataSourceExtensionsExecuteGetTableMetadataCommand Method |
Gets meta data information about a table
Namespace:
Aloe.SystemFrameworks.Domain.DataAccess
Assembly:
Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntaxpublic static TableMetadata ExecuteGetTableMetadataCommand(
this IDataSource dataSource,
string tableName,
string transactionName = null
)
<ExtensionAttribute>
Public Shared Function ExecuteGetTableMetadataCommand (
dataSource As IDataSource,
tableName As String,
Optional transactionName As String = Nothing
) As TableMetadata
public:
[ExtensionAttribute]
static TableMetadata^ ExecuteGetTableMetadataCommand(
IDataSource^ dataSource,
String^ tableName,
String^ transactionName = nullptr
)
[<ExtensionAttribute>]
static member ExecuteGetTableMetadataCommand :
dataSource : IDataSource *
tableName : string *
?transactionName : string
(* Defaults:
let _transactionName = defaultArg transactionName null
*)
-> TableMetadata
Parameters
- dataSource
- Type: Aloe.SystemFrameworks.Domain.DataAccessIDataSource
The data source on which to effect the command - tableName
- Type: SystemString
The table for which to return meta data - transactionName (Optional)
- Type: SystemString
The name of the transaction, for logging purposes.
Return Value
Type:
TableMetadataThe meta data about the specified table
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IDataSource. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also