TypeConversionSettings Class

Definition

Type conversion settings

public class TypeConversionSettings
type TypeConversionSettings = class
Public Class TypeConversionSettings
Inheritance
TypeConversionSettings

Constructors

TypeConversionSettings()

Initializes a new instance of the TypeConversionSettings class.

TypeConversionSettings(Object, Object, Object, Object, Object, Object)

Initializes a new instance of the TypeConversionSettings class.

Properties

AllowDataTruncation

Gets or sets whether to allow data truncation when converting the data. Type: boolean (or Expression with resultType boolean).

Culture

Gets or sets the culture used to convert data from/to string. Type: string (or Expression with resultType string).

DateTimeFormat

Gets or sets the format for DateTime values. Type: string (or Expression with resultType string).

DateTimeOffsetFormat

Gets or sets the format for DateTimeOffset values. Type: string (or Expression with resultType string).

TimeSpanFormat

Gets or sets the format for TimeSpan values. Type: string (or Expression with resultType string).

TreatBooleanAsNumber

Gets or sets whether to treat boolean values as numbers. Type: boolean (or Expression with resultType boolean).

Applies to