Visual Basic (Declaration) | |
---|---|
Public Enum ConcurrencyStrategy Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ConcurrencyStrategy |
C# | |
---|---|
public enum ConcurrencyStrategy : System.Enum, System.IComparable, System.IConvertible, System.IFormattable |
C++/CLI | |
---|---|
public enum class ConcurrencyStrategy : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable |
Member | Description |
---|---|
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. |
ServerCallback | Call a custom IConcurrencyStrategy upon insert or update. |
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.
System.Object
System.ValueType
System.Enum
IdeaBlade.EntityModel.ConcurrencyStrategy
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