Метод MetadataWorkspaceExtensions.GetAllReferentialConstraints

Returns an enumerable collection of all ReferentialConstraint objects in the specified StoreItemCollection.

Пространство имен: Microsoft.Data.Entity.Design.DatabaseGeneration
Сборка: Microsoft.Data.Entity.Design.DatabaseGeneration (в microsoft.data.entity.design.databasegeneration.dll)

Использование

Синтаксис

'Декларация
<ExtensionAttribute> _
Public Shared Function GetAllReferentialConstraints ( _
    storeItemCollection As StoreItemCollection _
) As IEnumerable(Of ReferentialConstraint)
[ExtensionAttribute] 
public static IEnumerable<ReferentialConstraint> GetAllReferentialConstraints (
    StoreItemCollection storeItemCollection
)
[ExtensionAttribute] 
public:
static IEnumerable<ReferentialConstraint^>^ GetAllReferentialConstraints (
    StoreItemCollection^ storeItemCollection
)
/** @attribute ExtensionAttribute() */ 
public static IEnumerable<ReferentialConstraint> GetAllReferentialConstraints (
    StoreItemCollection storeItemCollection
)
ExtensionAttribute 
public static function GetAllReferentialConstraints (
    storeItemCollection : StoreItemCollection
) : IEnumerable<ReferentialConstraint>

Параметры

  • storeItemCollection
    An in-memory collection of storage model metadata.

Возвращаемое значение

An enumerable collection of all ReferentialConstraint objects in the specified StoreItemCollection.

Замечания

The GetAllReferentialConstraints 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