Try our conversational search powered by Generative AI!

Class EPiServerDataContractAttribute

Specifies that the type should be saved to the Dynamic Data Store with custom mappings. When a type is marked with EPiServerDataContractAttribute then only properties marked with EPiServerDataMemberAttribute regardless of visibility will saved to the Dynamic Data Store. This should only be used when custom mapping is required of properties and the type has already been marked with System.Runtime.Serialization.DataContractAttribute for other use (e.g. WCF) and that use collides with the desired affect when saving the type to the Dynamic Data Store

Inheritance
System.Object
EPiServerDataContractAttribute
Namespace: EPiServer.Data.Dynamic
Assembly: EPiServer.Data.dll
Version: 12.0.3
Syntax
public class EPiServerDataContractAttribute : Attribute

Constructors

EPiServerDataContractAttribute()

Declaration
public EPiServerDataContractAttribute()

Extension Methods