Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class EdmKey Inherits IdeaBlade.EntityModel.ClientEdmKey Implements IdeaBlade.EntityModel.IDataSourceKey |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As EdmKey |
C# | |
---|---|
[SerializableAttribute()] public class EdmKey : IdeaBlade.EntityModel.ClientEdmKey, IdeaBlade.EntityModel.IDataSourceKey |
C++/CLI | |
---|---|
[SerializableAttribute()] public ref class EdmKey : public IdeaBlade.EntityModel.ClientEdmKey, IdeaBlade.EntityModel.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 IdeaBlade.EntityModel.IDataSourceKeyResolver.
An EdmKey differs from its base type IdeaBlade.EntityModel.ClientEdmKey in that it contains references to Entity Framework assemblies. When working on the client side you should use the ClientEdmKey, and when on the server use the EdmKey.
System.Object
IdeaBlade.EntityModel.ClientEdmKey
IdeaBlade.EntityModel.Edm.EdmKey
IdeaBlade.EntityModel.Edm.DbKey
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