DbMappingViewCacheTypeAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
定義自訂屬性,指定與 或 DbContext) 子類別相關聯之) 的對應檢視快取類型 ( (子類別。 DbMappingViewCacheObjectContext 快取類型會在執行時間具現化,並用來擷取對應內容中預先產生的檢視。
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1019:DefineAccessorsForAttributeArguments")]
public sealed class DbMappingViewCacheTypeAttribute : Attribute
type DbMappingViewCacheTypeAttribute = class
inherit Attribute
Public NotInheritable Class DbMappingViewCacheTypeAttribute
Inherits Attribute
- 繼承
-
DbMappingViewCacheTypeAttribute
- 屬性
建構函式
DbMappingViewCacheTypeAttribute(Type, String) |
建立 DbMappingViewCacheTypeAttribute 實例,將內容類型與對應檢視快取類型產生關聯。 |
DbMappingViewCacheTypeAttribute(Type, Type) |
建立 DbMappingViewCacheTypeAttribute 實例,將內容類型與對應檢視快取類型產生關聯。 |