次の方法で共有


EntityViewGenerationAttribute クラス

定義

注意事項

The mechanism to provide pre-generated views has changed. Implement a class that derives from System.Data.Entity.Infrastructure.MappingViews.DbMappingViewCache and has a parameterless constructor, then associate it with a type that derives from DbContext or ObjectContext by using System.Data.Entity.Infrastructure.MappingViews.DbMappingViewCacheTypeAttribute.

生成されたビューの種類を含むアセンブリをマークする属性。

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
[System.Obsolete("The mechanism to provide pre-generated views has changed. Implement a class that derives from System.Data.Entity.Infrastructure.MappingViews.DbMappingViewCache and has a parameterless constructor, then associate it with a type that derives from DbContext or ObjectContext by using System.Data.Entity.Infrastructure.MappingViews.DbMappingViewCacheTypeAttribute.", true)]
public sealed class EntityViewGenerationAttribute : Attribute
type EntityViewGenerationAttribute = class
    inherit Attribute
Public NotInheritable Class EntityViewGenerationAttribute
Inherits Attribute
継承
EntityViewGenerationAttribute
属性

コンストラクター

EntityViewGenerationAttribute(Type)
古い.

EntityViewGenerationAttribute クラスの新しいインスタンスを初期化します。

プロパティ

ViewGenerationType
古い.

ビューの T:System.Type を取得します。

適用対象