ConventionPrimitivePropertyConfiguration.IsConcurrencyToken Method

 

Configures the property to be used as an optimistic concurrency token.

Namespace:   System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodIsConcurrencyToken()

Configures the property to be used as an optimistic concurrency token.

System_CAPS_pubmethodIsConcurrencyToken(Boolean)

Configures whether or not the property is to be used as an optimistic concurrency token.


ConventionPrimitivePropertyConfiguration.IsConcurrencyToken Method ()

Configures the property to be used as an optimistic concurrency token.

public virtual ConventionPrimitivePropertyConfiguration IsConcurrencyToken()

Calling this will have no effect once it has been configured.


ConventionPrimitivePropertyConfiguration.IsConcurrencyToken Method (Boolean)

Configures whether or not the property is to be used as an optimistic concurrency token.

public virtual ConventionPrimitivePropertyConfiguration IsConcurrencyToken(
	bool concurrencyToken
)

Parameters

concurrencyToken
Type: System.Boolean

Value indicating if the property is a concurrency token or not.

Calling this will have no effect once it has been configured.