SqlServerArchiveTEntity Constructor (TransactionContext, String, String, TrackingTypeArchiverCollection) |
Initializes a new instance, the archive is available immediately for reading.
Namespace:
AGI.Foundation.Tracking
Assembly:
AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public SqlServerArchive(
TransactionContext context,
string connectionString,
string tableName,
TrackingTypeArchiverCollection typeArchivers
)
Public Sub New (
context As TransactionContext,
connectionString As String,
tableName As String,
typeArchivers As TrackingTypeArchiverCollection
)
public:
SqlServerArchive(
TransactionContext^ context,
String^ connectionString,
String^ tableName,
TrackingTypeArchiverCollection^ typeArchivers
)
new :
context : TransactionContext *
connectionString : string *
tableName : string *
typeArchivers : TrackingTypeArchiverCollection -> SqlServerArchive
Parameters
- context
- Type: AGI.FoundationTransactionContext
The TransactionContext for which to archive entities. - connectionString
- Type: SystemString
The connection string used for connecting to the database. - tableName
- Type: SystemString
The name of the table to use for storing tracking data. - typeArchivers
- Type: AGI.Foundation.TrackingTrackingTypeArchiverCollection
The type archivers to use to archive entity properties.
See Also