MetadataWorkspace.GetItem<T> Method (String, Boolean, DataSpace)

 

Returns an item by using the specified identity and the data model.

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

public T GetItem<T>(
	string identity,
	bool ignoreCase,
	DataSpace dataSpace
)
where T : GlobalItem

Parameters

identity
Type: System.String

The identity of the item.

ignoreCase
Type: System.Boolean

true to perform the case-insensitive search; otherwise, false.

dataSpace
Type: System.Data.Metadata.Edm.DataSpace

The conceptual model on which the item is searched.

Return Value

Type: T

The item that matches the given identity in the specified data model.

Type Parameters

T

The type returned by the method.

.NET Framework
Available since 3.5
Return to top
Show: