C# Class System.Data.SqlTypes.SqlTypeWorkarounds

This type provides workarounds for the separation between System.Data.Common and System.Data.SqlClient. The latter wants to access internal members of the former, and this class provides ways to do that. We must review and update this implementation any time the implementation of the corresponding types in System.Data.Common change.
显示文件 Open project: dotnet/corefx

Private Methods

Method Description
SqlBinaryCtor ( byte value, bool ignored ) : SqlBinary
SqlDateTimeToDateTime ( int daypart, int timepart ) : DateTime
SqlDecimalExtractData ( SqlDecimal d, uint &data1, uint &data2, uint &data3, uint &data4 ) : void
SqlGuidCtor ( byte value, bool ignored ) : SqlGuid
SqlMoneyCtor ( long value, int ignored ) : SqlMoney

Constructs a SqlMoney from a long value without scaling. The ignored parameter exists only to distinguish this constructor from the constructor that takes a long. Used only internally.

SqlMoneyToSqlInternalRepresentation ( SqlMoney money ) : long
SqlXmlCreateSqlXmlReader ( Stream stream, bool closeInput = false, bool async = false ) : XmlReader