public class RecroTrack : RecroTrackA, IDisposable
Entities that need tracking should be added to the RecroTrack_Table table. In the [Keys] field, in the case of a composite key, a comma-separated list should be provided.
If the table contains a column named RowVersion (of type int), it is incremented with each modification. In case of an update, it monitors the original value and prevents modification if it has already changed.
appsettings.json
"Recrovit": {
"RecroTrack": {
"Enabled": true,
"RowVersionName": "rowversion"
}
}
RecroTrack | Initializes a new instance of the RecroTrack class. |
Enabled | Gets a value indicating whether this RecroTrack is enabled. |
FEPType | Gets or sets the type of the FEP. |
RGDataContext |
Gets or sets the context.
(Inherited from RecroTrackA) |
RowVersionName | Gets the name of the row version. |
TransactionComment | Gets or sets the comment. |
TransactionName | Gets or sets the name of the transaction. |
UserId | Gets or sets the user identifier. |
UserName | Gets the name of the user from UserId. |
ClearCache | Clears the cache. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
ExecuteUpdateAsync | Creating a Custom Entry in RecroTrack |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
Init | Initialization of global settings for RecroTrack. |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
SaveChangesAsync |
Calling SaveChanges on the DBContext and saving RecroTrack objects.
(Overrides RecroTrackASaveChangesAsync) |
SaveChangesAsync(IRGFLogger, IRGDataContext, String, String, String) | Calling SaveChanges on the DBContext and saving RecroTrack objects. |
ToString | Returns a string that represents the current object. (Inherited from Object) |