Interface IPropertyValueConverter<T>
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inherited Members
Namespace: EPiServer.DataAccess.Internal
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public interface IPropertyValueConverter<in T> : IPropertyValueConverter where T : PropertyDataType Parameters
| Name | Description | 
|---|---|
| T | 
Methods
GetValue(T, PropertyValueConverterContext)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the value from the property in a database friendly format.
Declaration
PropertyDataRecord GetValue(T property, PropertyValueConverterContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| T | 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(T, PropertyDataRecord, PropertyValueConverterContext)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Assigns the database value to the property.
Declaration
void SetValue(T property, PropertyDataRecord dataRecord, PropertyValueConverterContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| T | property | The property to which the value should be assigned to. | 
| PropertyDataRecord | dataRecord | The values extracted from the database. | 
| PropertyValueConverterContext | context | 
