MetadataWorkspace.RegisterItemCollection Method (ItemCollection)

 
Note: This API is now obsolete.

Registers the item collection with each associated data model.

Namespace:   System.Data.Entity.Core.Metadata.Edm
Assembly:  EntityFramework (in EntityFramework.dll)

[SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[ObsoleteAttribute("Construct MetadataWorkspace using constructor that accepts metadata loading delegates.")]
public virtual void RegisterItemCollection(
	ItemCollection collection
)

Parameters

collection
Type: System.Data.Entity.Core.Metadata.Edm.ItemCollection

The output parameter collection that needs to be filled up.