Interface IDataType
Represents a data type.
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public interface IDataType : IUmbracoEntity, ITreeEntity, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Properties
View SourceConfigurationData
Gets or sets the configuration data.
Declaration
IDictionary<string, object> ConfigurationData { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<System.String, System.Object> |
ConfigurationObject
Gets an object representation of the configuration data.
Declaration
object ConfigurationObject { get; }
Property Value
Type | Description |
---|---|
System.Object |
Remarks
The object type is dictated by the underlying IConfigurationEditor implementation of the Editor.
DatabaseType
Gets or sets the database type for the data type values.
Declaration
ValueStorageType DatabaseType { get; set; }
Property Value
Type | Description |
---|---|
ValueStorageType |
Remarks
In most cases this is imposed by the property editor, but some editors may support storing different types.
Editor
Gets or sets the property editor.
Declaration
IDataEditor Editor { get; set; }
Property Value
Type | Description |
---|---|
IDataEditor |
EditorAlias
Gets the property editor alias.
Declaration
string EditorAlias { get; }
Property Value
Type | Description |
---|---|
System.String |
EditorUiAlias
Gets the property editor UI alias.
Declaration
string EditorUiAlias { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
View SourceDeepCloneWithResetIdentities()
Creates a deep clone of the current entity with its identity/alias reset We have the default implementation here to avoid breaking changes for the user
Declaration
virtual IDataType DeepCloneWithResetIdentities()
Returns
Type | Description |
---|---|
IDataType |