November Happy Hour will be moved to Thursday December 5th.

Class EntityTypeOverrideAttribute

Applying this attribute on a class tells EPiServer.Data to store entity data under the type returned by in the database.

Inheritance
System.Object
EntityTypeOverrideAttribute
Namespace: EPiServer.Data.Entity
Assembly: EPiServer.Data.dll
Version: 12.0.3
Syntax
public sealed class EntityTypeOverrideAttribute : Attribute

Constructors

EntityTypeOverrideAttribute(Type)

Initializes a new instance of this class.

Declaration
public EntityTypeOverrideAttribute(Type overrideType)
Parameters
Type Name Description
System.Type overrideType

The type that should be used instead of the original type

Properties

OverrideType

The type that should be used instead of the original type

Declaration
public Type OverrideType { get; }
Property Value
Type Description
System.Type

Extension Methods