fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (13)
202internal static DateTimeOffset GetDateTimeOffset(SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal, SmiMetaData metaData, bool gettersSupportKatmaiDateTime) {
211return (DateTimeOffset)result;
215internal static DateTimeOffset GetDateTimeOffset(SmiEventSink_Default sink, SmiTypedGetterSetter getters, int ordinal, SmiMetaData metaData) {
220return (DateTimeOffset)GetValue200(sink, getters, ordinal, metaData, null);
1408internal static void SetDateTimeOffset(SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SmiMetaData metaData, DateTimeOffset value, bool settersSupportKatmaiDateTime) {
1711SetDateTimeOffset_Unchecked(sink, setters, ordinal, (DateTimeOffset)value);
2011DateTimeOffset dto;
2015dto = (DateTimeOffset)reader.GetValue(i);
2295DateTimeOffset dto;
2302dto = (DateTimeOffset)record.GetValue(i);
3090private static DateTimeOffset GetDateTimeOffset_Unchecked(SmiEventSink_Default sink, SmiTypedGetterSetter getters, int ordinal) {
3093DateTimeOffset result = getters.GetDateTimeOffset(sink, ordinal);
3342private static void SetDateTimeOffset_Unchecked(SmiEventSink_Default sink, SmiTypedGetterSetter setters, int ordinal, DateTimeOffset value) {
fx\src\data\System\Data\SqlClient\SqlEnums.cs (5)
342else if (dataType == typeof(DateTimeOffset)) {
408else if (sqlType == typeof(DateTimeOffset)) return DBNull.Value;
525else if (comVal is TimeSpan || comVal is DateTimeOffset)
832(255, 7, -1, false, false, false, TdsEnums.SQLDATETIMEOFFSET, TdsEnums.SQLDATETIMEOFFSET, MetaTypeName.DATETIMEOFFSET, typeof(System.DateTimeOffset), typeof(System.DateTimeOffset), SqlDbType.DateTimeOffset, DbType.DateTimeOffset, 1);
fx\src\data\System\Data\SqlClient\TdsParser.cs (6)
5956WriteDateTimeOffset((DateTimeOffset)value, mt.Scale, length, stateObj);
6120WriteDateTimeOffset((DateTimeOffset)value, metatype.Scale, 10, stateObj);
6308private byte[] SerializeDateTimeOffset(DateTimeOffset value, byte scale, int length) {
6329private void WriteDateTimeOffset(DateTimeOffset value, byte scale, int length, TdsParserStateObject stateObj) {
10696WriteDateTimeOffset((DateTimeOffset)value, scale, actualLength, stateObj);
10905return SerializeDateTimeOffset((DateTimeOffset)value, scale, actualLength);