MetadataWorkspace.RegisterItemCollection メソッド
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
メモ: この API は、互換性のために残されています。
関連付けられている各データ モデルに項目コレクションを登録します。
名前空間: System.Data.Entity.Core.Metadata.Edm
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
<SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")> _
<ObsoleteAttribute("Construct MetadataWorkspace using constructor that accepts metadata loading delegates.")> _
Public Overridable Sub RegisterItemCollection ( _
collection As ItemCollection _
)
'使用
Dim instance As MetadataWorkspace
Dim collection As ItemCollection
instance.RegisterItemCollection(collection)
[SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[ObsoleteAttribute("Construct MetadataWorkspace using constructor that accepts metadata loading delegates.")]
public virtual void RegisterItemCollection(
ItemCollection collection
)
[SuppressMessageAttribute(L"Microsoft.Maintainability", L"CA1502:AvoidExcessiveComplexity")]
[ObsoleteAttribute(L"Construct MetadataWorkspace using constructor that accepts metadata loading delegates.")]
public:
virtual void RegisterItemCollection(
ItemCollection^ collection
)
[<SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")>]
[<ObsoleteAttribute("Construct MetadataWorkspace using constructor that accepts metadata loading delegates.")>]
abstract RegisterItemCollection :
collection:ItemCollection -> unit
[<SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")>]
[<ObsoleteAttribute("Construct MetadataWorkspace using constructor that accepts metadata loading delegates.")>]
override RegisterItemCollection :
collection:ItemCollection -> unit
public function RegisterItemCollection(
collection : ItemCollection
)
パラメーター
- collection
型 : System.Data.Entity.Core.Metadata.Edm.ItemCollection
登録対象となる出力パラメーター コレクション。