Interface IPropertyValueConverter
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Namespace: EPiServer.DataAccess
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public interface IPropertyValueConverter
Methods
GetValue(PropertyData, PropertyValueConverterContext)
Gets the value from the property in a database friendly format.
Declaration
PropertyDataRecord GetValue(PropertyData property, PropertyValueConverterContext context)
Parameters
Type | Name | Description |
---|---|---|
PropertyData | property | The property from where the value should be retrieved from. |
PropertyValueConverterContext | context |
Returns
Type | Description |
---|---|
PropertyDataRecord | A record with an assigned database friendly value. |
SetValue(PropertyData, PropertyDataRecord, PropertyValueConverterContext)
Assigns the database value to the property.
Declaration
void SetValue(PropertyData property, PropertyDataRecord dataRecord, PropertyValueConverterContext context)
Parameters
Type | Name | Description |
---|---|---|
PropertyData | property | The property to which the value should be assigned to. |
PropertyDataRecord | dataRecord | The values extracted from the database. |
PropertyValueConverterContext | context |