Метод MetadataWorkspaceExtensions.GetKeyProperties (AssociationEndMember)
Returns the key properties of the EntityType that is associated with the specified AssociationEndMember.
Пространство имен: Microsoft.Data.Entity.Design.DatabaseGeneration
Сборка: Microsoft.Data.Entity.Design.DatabaseGeneration (в microsoft.data.entity.design.databasegeneration.dll)
Использование
Синтаксис
'Декларация
<ExtensionAttribute> _
Public Shared Function GetKeyProperties ( _
end As AssociationEndMember _
) As IEnumerable(Of EdmProperty)
[ExtensionAttribute]
public static IEnumerable<EdmProperty> GetKeyProperties (
AssociationEndMember end
)
[ExtensionAttribute]
public:
static IEnumerable<EdmProperty^>^ GetKeyProperties (
AssociationEndMember^ end
)
/** @attribute ExtensionAttribute() */
public static IEnumerable<EdmProperty> GetKeyProperties (
AssociationEndMember end
)
ExtensionAttribute
public static function GetKeyProperties (
end : AssociationEndMember
) : IEnumerable<EdmProperty>
Параметры
- end
One end of an association in a conceptual model.
Возвращаемое значение
The key properties of the EntityType that is associated with the specified AssociationEndMember.
Замечания
The GetKeyProperties method is used by the Generate Database Wizard when generating a database from a conceptual model.
Многопоточное использование
Все общие статические члены (Shared в Visual Basic) можно использовать в потокобезопасных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.
Платформы
Платформы разработки
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008 и Windows 2000
Целевые платформы
См. также
Справочник
MetadataWorkspaceExtensions - класс
Члены MetadataWorkspaceExtensions
Microsoft.Data.Entity.Design.DatabaseGeneration - пространство имен
Другие ресурсы
How to: Generate a Database from a Conceptual Model
Windows Workflow Foundation
How to: Generate a Database from a Conceptual Model
Windows Workflow Foundation