Implements the MD5 concurrency manager. This class uses a Md5 check
to discover if somebody else has changed the object in the meantime.
Syntax
| Visual Basic (Declaration) | |
|---|
Public NotInheritable Class Md5ConcurrencyManager
Implements IConcurrencyManager |
| Managed Extensions for C++ | |
|---|
public __gc __sealed class Md5ConcurrencyManager : public IConcurrencyManager |
Example
The following example shows the usage of the class in your application.
| C# | Copy Code |
|---|
// ... Other code // Creates a new ObjectContext that uses an MsSql Server as storage. ObjectContext context = new ObjectContext(new MsSqlStorage("sa", "", "localhost", "application")); // Set the MD5 Concurrency Manager. The ObjectContext uses it from // now on to check the concurrency. context.ConcurrencyManager = new Md5ConcurrencyManager(); // ... Other code |
Remarks
Inheritance Hierarchy
System.Object
Chili.Opf3.Concurrency.Md5.Md5ConcurrencyManager
Requirements
Namespace: Chili.Opf3.Concurrency.Md5
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Chili.Opf3 (in Chili.Opf3.dll)
See Also