DbMappingViewCache.GetView Method (EntitySetBase)

 

Gets a view corresponding to the specified extent.

Namespace:   System.Data.Entity.Infrastructure.MappingViews
Assembly:  EntityFramework (in EntityFramework.dll)

public abstract DbMappingView GetView(
	EntitySetBase extent
)

Parameters

extent
Type: System.Data.Entity.Core.Metadata.Edm.EntitySetBase

An EntitySetBase that specifies the extent.

Return Value

Type: System.Data.Entity.Infrastructure.MappingViews.DbMappingView

A DbMappingView that specifies the mapping view, or null if the extent is not associated with a mapping view.