DevForce Help Reference
ConcurrencyStrategy Enumeration


The strategy to use when working with a 'concurrency' EntityProperty.
Syntax
'Declaration
 
Public Enum ConcurrencyStrategy 
   Inherits System.Enum
   Implements System.IComparable, System.IConvertible, System.IFormattable 
'Usage
 
Dim instance As ConcurrencyStrategy
Members
MemberDescription
AutoDateTime Allow DevForce to automatically set the current date and time to the property upon insert or update.
AutoGuid Allow DevForce to automatically assign a new Guid to the property upon insert or update.
AutoIncrement Allow DevForce to automatically increment a numeric field by 1 upon insert or update.
Client The property is a concurrency field, but the client application is responsible for maintaining the value.
None The property is not a concurrency field.
ServerCallbackCall a custom IConcurrencyStrategy upon insert or update.
Remarks
The DevForce Object Mapping tool allows you to set a ConcurrencyStrategy for every property to be used as a concurrency field. Concurrency properties are used to support optimistic concurrency checking during EntityManager.SaveChanges processing.

If you choose a strategy of ServerCallback then you must implement a custom IConcurrencyStrategy so that your callback routine will be called during save processing.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         IdeaBlade.EntityModel.ConcurrencyStrategy

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IdeaBlade.EntityModel Namespace

Send Feedback