IdeaBlade DevForce 2010 Help Reference
ConcurrencyStrategy Enumeration
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : ConcurrencyStrategy Enumeration



The strategy to use when working with a 'concurrency' EntityProperty.

Syntax

Visual Basic (Declaration) 
Public Enum ConcurrencyStrategy 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
Visual Basic (Usage)Copy Code
Dim instance As ConcurrencyStrategy
C# 
public enum ConcurrencyStrategy : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
C++/CLI 
public enum class ConcurrencyStrategy : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  

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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.