Visual Basic (Declaration) | |
---|---|
Public Class ClientEdmKey Implements IDataSourceKey |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ClientEdmKey |
C# | |
---|---|
public class ClientEdmKey : IDataSourceKey |
C++/CLI | |
---|---|
public ref class ClientEdmKey : public IDataSourceKey |
By default an EdmKey is created from the connection information for a matching element in the ConnectionStrings section of your configuration file. You can override this default by specifying an EdmKey in the IdeaBlade section of the configuration file. You can also create an EdmKey at run-time by implementing a custom IDataSourceKeyResolver.
The ClientEdmKey is a client-side version of the EdmKey and requires no connection string information. If you implement a custom IIdGenerator the IIdGenerator.IsApplicable method will be called with a client-side key when invoked on the client, and with the server-side EdmKey when invoked on the server.
System.Object
IdeaBlade.EntityModel.ClientEdmKey
IdeaBlade.EntityModel.Edm.EdmKey
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