SqlServerAppenders..::..WithHistory Method (TableDbCommandBuilder<(Of <(<'SqlCommand, SqlParameter, SqlServerLimitOption>)>)>, DateTime)
Adds a FOR SYSTEM_TIME cluse to the query to get the historical record for a specific date.
Namespace:
Tortuga.Chain.SqlServerAssembly: Tortuga.Chain.SqlServer.MDS (in Tortuga.Chain.SqlServer.MDS.dll)
Syntax
public static TableDbCommandBuilder<SqlCommand, SqlParameter, SqlServerLimitOption> WithHistory( this TableDbCommandBuilder<SqlCommand, SqlParameter, SqlServerLimitOption> tableDbCommand, DateTime asOfDate )
<ExtensionAttribute> _ Public Shared Function WithHistory ( _ tableDbCommand As TableDbCommandBuilder(Of SqlCommand, SqlParameter, SqlServerLimitOption), _ asOfDate As DateTime _ ) As TableDbCommandBuilder(Of SqlCommand, SqlParameter, SqlServerLimitOption)
[ExtensionAttribute] public: static TableDbCommandBuilder<SqlCommand^, SqlParameter^, SqlServerLimitOption^>^ WithHistory( TableDbCommandBuilder<SqlCommand^, SqlParameter^, SqlServerLimitOption^>^ tableDbCommand, DateTime^ asOfDate )
Parameters
- tableDbCommand
- Type: Tortuga.Chain.CommandBuilders..::..TableDbCommandBuilder<(Of <(<'SqlCommand, SqlParameter, SqlServerLimitOption>)>)>
The table database command.
- asOfDate
- Type: DateTime
As Of Date to use

