Class EPiServerDataStoreAttribute
Apply this attribute to class whose instances are to be stored in the EPiServer Dynamic Data Store where you want to control various aspects of store creation
Inheritance
Namespace: EPiServer.Data.Dynamic
Assembly: EPiServer.Data.dll
Version: 12.0.3Syntax
public sealed class EPiServerDataStoreAttribute : Attribute
Constructors
EPiServerDataStoreAttribute()
Declaration
public EPiServerDataStoreAttribute()
Properties
AutomaticallyCreateStore
if
Declaration
public bool AutomaticallyCreateStore { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AutomaticallyRemapStore
if
Declaration
public bool AutomaticallyRemapStore { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DatabaseDateTimeKind
Specifies how the store should handle with System.DateTime types.
Declaration
public DatabaseDateTimeKind DatabaseDateTimeKind { get; set; }
Property Value
Type | Description |
---|---|
DatabaseDateTimeKind |
IsDateTimeKindSpecified
Indicate if the DateTimeKind has been stes via attribute
Declaration
public bool IsDateTimeKindSpecified { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
StoreName
The name of the store to create for the Type. If this property has no value then the store will get the default name of 'namespace.typename' where namespace is the namespace the type is in and typename is the name of the type the attribute is applied to
Declaration
public string StoreName { get; set; }
Property Value
Type | Description |
---|---|
System.String |