共用方式為


DbMappingViewCache.GetView(EntitySetBase) 方法

定義

取得對應至指定範圍的檢視。

public abstract System.Data.Entity.Infrastructure.MappingViews.DbMappingView GetView (System.Data.Entity.Core.Metadata.Edm.EntitySetBase extent);
abstract member GetView : System.Data.Entity.Core.Metadata.Edm.EntitySetBase -> System.Data.Entity.Infrastructure.MappingViews.DbMappingView
Public MustOverride Function GetView (extent As EntitySetBase) As DbMappingView

參數

extent
EntitySetBase

EntitySetBase 指定範圍。

傳回

DbMappingView 指定對應檢視,如果範圍未與對應檢視相關聯,則為 null。

適用於