StorageMappingItemCollection.MappingViewCacheFactory 屬性
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
取得或設定 DbMappingViewCacheFactory,以建立 DbMappingViewCache 執行個體用來擷取預先產生的對應檢視。
命名空間: System.Data.Entity.Core.Mapping
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Property MappingViewCacheFactory As DbMappingViewCacheFactory
Get
Set
'用途
Dim instance As StorageMappingItemCollection
Dim value As DbMappingViewCacheFactory
value = instance.MappingViewCacheFactory
instance.MappingViewCacheFactory = value
public DbMappingViewCacheFactory MappingViewCacheFactory { get; set; }
public:
property DbMappingViewCacheFactory^ MappingViewCacheFactory {
DbMappingViewCacheFactory^ get ();
void set (DbMappingViewCacheFactory^ value);
}
member MappingViewCacheFactory : DbMappingViewCacheFactory with get, set
function get MappingViewCacheFactory () : DbMappingViewCacheFactory
function set MappingViewCacheFactory (value : DbMappingViewCacheFactory)
屬性值
類型:System.Data.Entity.Infrastructure.MappingViews.DbMappingViewCacheFactory
DbMappingViewCacheFactory ,可用於建立用來擷取預先產生之對應檢視的 DbMappingViewCache 執行個體。