Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class DbKey Inherits EdmKey Implements IdeaBlade.EntityModel.IDataSourceKey |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As DbKey |
C# | |
---|---|
[SerializableAttribute()] public class DbKey : EdmKey, IdeaBlade.EntityModel.IDataSourceKey |
C++/CLI | |
---|---|
[SerializableAttribute()] public ref class DbKey : public EdmKey, IdeaBlade.EntityModel.IDataSourceKey |
An DbKey differs from an EdmKey in that its connection string does not contain EDMX metadata information because a design-time model is not used. As with the EdmKey, the DbKey is used on only the server; your client application should use a ClientEdmKey when working with data source keys.
If the database does not exist or has changed it will be created when the DbKey is constructed, depending on the IDatabaseInitializer strategy in effect.
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