ColumnTypeResolution Enum
Defines resolution method that determines System.Data.DataColumn.DataType.
Remarks
System.Data.DataColumn.DataType is determined by the ColumnTypeResolution and by exploring types of all Value in some column. Column type can be System.Boolean, System.Int32, System.Double, System.DateTime, System.String or System.Object.
Fields
Auto | If all values in some column have the same type then that type will be used for System.Data.DataColumn.DataType, otherwise column will be of type System.Object. |
AutoPreferStringCurrentCulture | If all values in some column have the same type then that type will be used for System.Data.DataColumn.DataType, otherwise column will be of type System.String. For conversion from some Value to string System.Globalization.CultureInfo.CurrentCulture will be used. |
AutoPreferStringInvariantCulture | If all values in some column have the same type then that type will be used for System.Data.DataColumn.DataType, otherwise column will be of type System.String. For conversion from some Value to string System.Globalization.CultureInfo.InvariantCulture will be used. |
Object | All columns will be of type System.Object. |
StringCurrentCulture | All columns will be of type System.String. For conversion from some Value to string System.Globalization.CultureInfo.CurrentCulture will be used. |
StringInvariantCulture | All columns will be of type System.String. For conversion from some Value to string System.Globalization.CultureInfo.InvariantCulture will be used. |