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 DataContractAttribute for other use (e.g. WCF) and that use collides with the desired affect when saving the type to the Dynamic Data Store

Namespace:  EPiServer.Data.Dynamic
Assembly:  EPiServer.Data (in EPiServer.Data.dll) Version: 6.1.79.0

Syntax

C#
public sealed class EPiServerDataContractAttribute : Attribute
Visual Basic (Declaration)
Public NotInheritable Class EPiServerDataContractAttribute _
	Inherits Attribute
Visual C++
public ref class EPiServerDataContractAttribute sealed : public Attribute

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    EPiServer.Data.Dynamic..::.EPiServerDataContractAttribute

See Also