DataTypeT Constructor (String, String, String, FuncObject, T, CultureInfo, T, FuncT, Object, CultureInfo, Object, IDataTypeTextSerializer) |
Constructor
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax public DataType(
string sqlType,
string fieldType,
string schemaType,
Func<Object, T, CultureInfo, T> conversionFunc,
Func<T, Object, CultureInfo, Object> dbConversionFunc,
IDataTypeTextSerializer textSerializer
)
Parameters
- sqlType
- Type: SystemString
SQL type - fieldType
- Type: SystemString
Field type - schemaType
- Type: SystemString
Schema type - conversionFunc
- Type: SystemFuncObject, T, CultureInfo, T
Conversion function - dbConversionFunc
- Type: SystemFuncT, Object, CultureInfo, Object
Function which converts value to its database representation. - textSerializer
- Type: CMS.DataEngineIDataTypeTextSerializer
Text serializer used for this type.
See Also