Class DataEntity
- Assembly
- ReferenceApplication.Infrastructure.dll
Provides a common Guid primary key for ReferenceApplication data entities.
public abstract class DataEntity
- Inheritance
-
DataEntity
- Derived
- Inherited Members
Properties
ConcurrencyStamp
Gets or sets the application-managed optimistic concurrency token used to detect conflicting updates.
public string ConcurrencyStamp { get; set; }
Property Value
Remarks
This token is application-managed so the model stays provider-neutral. SQLite is the only provider this reference application supports; an adopter that adds its own SQL Server provider and migration history can replace this pattern with a provider-native rowversion column when appropriate.
Id
Gets or sets the primary key.
public Guid Id { get; set; }