Class CultureInfoTypeHandler
Handles System.
Inheritance
System.Object
CultureInfoTypeHandler
Implements
Namespace: EPiServer.Data.TypeHandlers.Internal
Assembly: EPiServer.Data.dll
Version: 12.0.3Syntax
public class CultureInfoTypeHandler : Object, ITypeHandler
Constructors
CultureInfoTypeHandler()
Declaration
public CultureInfoTypeHandler()
Methods
FromDatabaseFormat(String, Object, Type, Type)
Returns an System.
Declaration
public object FromDatabaseFormat(string propertyName, object propertyValue, Type targetType, Type ownerType)
Parameters
Type | Name | Description |
---|---|---|
System. |
propertyName | Name of the property. |
System. |
propertyValue | The property value. |
System. |
targetType | Type of the target. |
System. |
ownerType | Type of the owner. |
Returns
Type | Description |
---|---|
System. |
A System. |
MapToDatabaseType(Type)
Returns the database type as string.
Declaration
public Type MapToDatabaseType(Type type)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | The type. |
Returns
Type | Description |
---|---|
System. |
The type that is stored in database |
ToDatabaseFormat(String, Object, Type)
Returns the System.
Declaration
public object ToDatabaseFormat(string propertyName, object propertyValue, Type ownerType)
Parameters
Type | Name | Description |
---|---|---|
System. |
propertyName | Name of the property. |
System. |
propertyValue | The property value. |
System. |
ownerType | Type of the owner. |
Returns
Type | Description |
---|---|
System. |
The name of the System. |