64 references to ValueOffset
System.Data (64)
fx\src\data\System\Data\OleDb\ColumnBinding.cs (63)
233
RowBinding.WriteInt64(
ValueOffset
, 0); // safe because AlignDataSize forces 8 byte blocks
238
RowBinding.WriteInt64(
ValueOffset
, 0); // safe because AlignDataSize forces 8 byte blocks
559
Int16 value = RowBinding.ReadInt16(
ValueOffset
);
566
RowBinding.WriteInt16(
ValueOffset
, (short)(value ? ODB.VARIANT_TRUE : ODB.VARIANT_FALSE));
578
IntPtr ptr = bindings.ReadIntPtr(
ValueOffset
);
595
RowBinding.SetBstrValue(
ValueOffset
, value);
607
IntPtr ptr = bindings.ReadIntPtr(
ValueOffset
);
636
RowBinding.SetByRefValue(
ValueOffset
, ptr);
648
IntPtr ptr = bindings.ReadIntPtr(
ValueOffset
);
676
RowBinding.SetByRefValue(
ValueOffset
, ptr);
693
RowBinding.SetByRefValue(
ValueOffset
, ptr);
701
RowBinding.ReadBytes(
ValueOffset
, value, 0, byteCount);
711
RowBinding.WriteBytes(
ValueOffset
, value, ValueBindingOffset, bytecount);
718
return Decimal.FromOACurrency(RowBinding.ReadInt64(
ValueOffset
));
724
RowBinding.WriteInt64(
ValueOffset
, Decimal.ToOACurrency(value));
730
return DateTime.FromOADate(RowBinding.ReadDouble(
ValueOffset
));
736
RowBinding.WriteDouble(
ValueOffset
, value.ToOADate());
742
return RowBinding.ReadDate(
ValueOffset
);
748
RowBinding.WriteDate(
ValueOffset
, value);
754
return RowBinding.ReadTime(
ValueOffset
);
760
RowBinding.WriteTime(
ValueOffset
, value);
766
return RowBinding.ReadDateTime(
ValueOffset
);
772
RowBinding.WriteDateTime(
ValueOffset
, value);
779
RowBinding.ReadInt32Array(
ValueOffset
, buffer, 0, 4);
803
RowBinding.WriteInt32Array(
ValueOffset
, buffer, 0, 4);
809
return RowBinding.ReadInt32(
ValueOffset
);
815
RowBinding.WriteInt32(
ValueOffset
, value);
821
Int64 tmp = RowBinding.ReadInt64(
ValueOffset
);
829
RowBinding.WriteInt64(
ValueOffset
, tmp);
835
return RowBinding.ReadGuid(
ValueOffset
);
842
RowBinding.WriteGuid(
ValueOffset
, value);
849
return DataReader().ResetChapter(IndexForAccessor, IndexWithinAccessor, RowBinding,
ValueOffset
);
855
byte value = RowBinding.ReadByte(
ValueOffset
);
862
RowBinding.WriteByte(
ValueOffset
, unchecked((Byte) value));
868
return RowBinding.ReadInt16(
ValueOffset
);
874
RowBinding.WriteInt16(
ValueOffset
, value);
880
return RowBinding.ReadInt32(
ValueOffset
);
886
RowBinding.WriteInt32(
ValueOffset
, value);
892
return RowBinding.ReadInt64(
ValueOffset
);
898
RowBinding.WriteInt64(
ValueOffset
, value);
910
IntPtr ptr = bindings.ReadIntPtr(
ValueOffset
);
927
RowBinding.WriteIntPtr(
ValueOffset
, ptr);
939
IntPtr ptr = bindings.ReadIntPtr(
ValueOffset
);
956
RowBinding.WriteIntPtr(
ValueOffset
, ptr);
962
return RowBinding.ReadNumeric(
ValueOffset
);
975
RowBinding.WriteNumeric(
ValueOffset
, value, ColumnBindingPrecision);
982
return RowBinding.ReadSingle(
ValueOffset
);
988
RowBinding.WriteSingle(
ValueOffset
,value);
995
return RowBinding.ReadDouble(
ValueOffset
);
1001
RowBinding.WriteDouble(
ValueOffset
, value);
1007
return RowBinding.ReadByte(
ValueOffset
);
1013
RowBinding.WriteByte(
ValueOffset
, value);
1019
return unchecked((UInt16) RowBinding.ReadInt16(
ValueOffset
));
1025
RowBinding.WriteInt16(
ValueOffset
, unchecked((Int16) value));
1031
return unchecked((UInt32) RowBinding.ReadInt32(
ValueOffset
));
1037
RowBinding.WriteInt32(
ValueOffset
, unchecked((Int32) value));
1043
return unchecked((UInt64) RowBinding.ReadInt64(
ValueOffset
));
1049
RowBinding.WriteInt64(
ValueOffset
, unchecked((Int64) value));
1057
return RowBinding.PtrToStringUni(
ValueOffset
, byteCount / 2);
1069
RowBinding.WriteCharArray(
ValueOffset
, chars, ValueBindingOffset, charCount);
1081
RowBinding.WriteCharArray(
ValueOffset
, value, ValueBindingOffset, charCount);
1087
return RowBinding.GetVariantValue(
ValueOffset
);
1093
RowBinding.SetVariantValue(
ValueOffset
, value);
fx\src\data\System\Data\OleDb\DBBindings.cs (1)
239
_dbcolumns[i].pData = rowBinding.DangerousGetDataPtr(columnBindings[i].
ValueOffset
); // We are simply pointing at a location later in the buffer, so we're OK to not addref the buffer.