DecimalPropertyConfiguration.IsConcurrencyToken Method
Configures the property to be used as an optimistic concurrency token.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | IsConcurrencyToken() | Configures the property to be used as an optimistic concurrency token. |
![]() | IsConcurrencyToken(Nullable<Boolean>) | Configures whether or not the property is to be used as an optimistic concurrency token. |
DecimalPropertyConfiguration.IsConcurrencyToken Method ()
Configures the property to be used as an optimistic concurrency token.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfigurationThe same DecimalPropertyConfiguration instance so that multiple calls can be chained.
DecimalPropertyConfiguration.IsConcurrencyToken Method (Nullable<Boolean>)
Configures whether or not the property is to be used as an optimistic concurrency token.
Parameters
- concurrencyToken
-
Type:
System.Nullable<Boolean>
Value indicating if the property is a concurrency token or not. Specifying 'null' will remove the concurrency token facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfigurationThe same DecimalPropertyConfiguration instance so that multiple calls can be chained.