Метод MetadataWorkspaceExtensions.GetAllAssociations
Returns an enumerable collection of all AssociationType objects in the specified ItemCollection.
Пространство имен: Microsoft.Data.Entity.Design.DatabaseGeneration
Сборка: Microsoft.Data.Entity.Design.DatabaseGeneration (в microsoft.data.entity.design.databasegeneration.dll)
Использование
Синтаксис
'Декларация
<ExtensionAttribute> _
Public Shared Function GetAllAssociations ( _
itemCollection As ItemCollection _
) As IEnumerable(Of AssociationType)
[ExtensionAttribute]
public static IEnumerable<AssociationType> GetAllAssociations (
ItemCollection itemCollection
)
[ExtensionAttribute]
public:
static IEnumerable<AssociationType^>^ GetAllAssociations (
ItemCollection^ itemCollection
)
/** @attribute ExtensionAttribute() */
public static IEnumerable<AssociationType> GetAllAssociations (
ItemCollection itemCollection
)
ExtensionAttribute
public static function GetAllAssociations (
itemCollection : ItemCollection
) : IEnumerable<AssociationType>
Параметры
- itemCollection
An in-memory collection of metadata.
Возвращаемое значение
An enumerable collection of all AssociationType objects in the specified ItemCollection.
Замечания
The GetAllAssociations 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