13 instantiations of SqlGuid
System.Data (13)
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (3)
508result = new SqlGuid( temp ); 1038result = new SqlGuid( GetGuid_Unchecked( sink, getters, ordinal ) ); 1217targetBuffer.SqlGuid = new SqlGuid( GetGuid_Unchecked( sink, getters, ordinal ) );
fx\src\data\System\Data\Common\SQLConvert.cs (1)
640return new SqlGuid(XmlConvert.ToGuid((string)value));
fx\src\data\System\Data\Common\SQLTypes\SQLGuidStorage.cs (1)
92SqlGuid newValue = new SqlGuid();
fx\src\data\System\Data\SqlClient\SqlEnums.cs (1)
507sqlVal = new SqlGuid((Guid)comVal);
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
5171value.SqlGuid = new SqlGuid(unencryptedBytes, true); // doesn't copy the byte array 5606value.SqlGuid = new SqlGuid(b, true); // doesn't copy the byte array
fx\src\data\System\Data\SQLTypes\SQLGuid.cs (5)
125return new SqlGuid(x); 163return new SqlGuid(s); 192return x.IsNull ? Null : new SqlGuid(x.Value); 200return x.IsNull ? Null : new SqlGuid(x.Value); 398public static readonly SqlGuid Null = new SqlGuid(true);
110 references to SqlGuid
System.Data (110)
fx\src\data\Microsoft\SqlServer\Server\ITypedGetters.cs (1)
77SqlGuid GetSqlGuid( int ordinal );
fx\src\data\Microsoft\SqlServer\Server\ITypedSetters.cs (1)
84void SetSqlGuid( int ordinal, SqlGuid value );
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (2)
119ht.Add( typeof( SqlGuid ), ExtendedClrTypeCode.SqlGuid ); 312if (value.GetType() == typeof( SqlGuid ))
fx\src\data\Microsoft\SqlServer\Server\SmiRecordBuffer.cs (2)
372public virtual SqlGuid GetSqlGuid( int ordinal ) { 745public virtual void SetSqlGuid( int ordinal, SqlGuid value ) {
fx\src\data\Microsoft\SqlServer\Server\SmiRequestExecutor.cs (2)
430public virtual SqlGuid GetSqlGuid( int ordinal ) { 803public virtual void SetSqlGuid( int ordinal, SqlGuid value ) {
fx\src\data\Microsoft\SqlServer\Server\SqlDataRecord.cs (2)
348public virtual SqlGuid GetSqlGuid(int ordinal) { 558public virtual void SetSqlGuid(int ordinal, SqlGuid value) {
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (9)
500internal static SqlGuid GetSqlGuid( SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal, SmiMetaData metaData ) { 501SqlGuid result; 504result = SqlGuid.Null; 516result = (SqlGuid) obj; 1098SqlGuid.Null, // SqlDbType.UniqueIdentifier 1147targetBuffer.SqlGuid = SqlGuid.Null; 1504internal static void SetSqlGuid( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SmiMetaData metaData, SqlGuid value ) { 1621case ExtendedClrTypeCode.SqlGuid: SetSqlGuid_Unchecked( sink, setters, ordinal, (SqlGuid) value ); break; 3508private static void SetSqlGuid_Unchecked( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SqlGuid value ) {
fx\src\data\System\Data\ColumnTypeConverter.cs (1)
55typeof(SqlGuid),
fx\src\data\System\Data\Common\DataStorage.cs (1)
107typeof(SqlGuid),
fx\src\data\System\Data\Common\SQLConvert.cs (5)
329public static SqlGuid ConvertToSqlGuid(object value) { 332return SqlGuid.Null; 339return (SqlGuid)value; 343throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlGuid)); 729return XmlConvert.ToString(((SqlGuid)value).Value);
fx\src\data\System\Data\Common\SQLTypes\SQLGuidStorage.cs (15)
22private SqlGuid[] values; 25: base(column, typeof(SqlGuid), SqlGuid.Null, SqlGuid.Null, StorageType.SqlGuid) { 47throw ExprException.Overflow(typeof(SqlGuid)); 57return values[recordNo].CompareTo((SqlGuid)value); 84SqlGuid[] newValues = new SqlGuid[capacity]; 92SqlGuid newValue = new SqlGuid(); 101return ((SqlGuid)tmp); 106Debug.Assert((value.GetType() == typeof(SqlGuid)), "wrong input type"); 117return new SqlGuid[recordCount]; 121SqlGuid[] typedStore = (SqlGuid[]) store; 127values = (SqlGuid[]) store;
fx\src\data\System\Data\Filter\BinaryNode.cs (1)
199return ((SqlGuid)vLeft).CompareTo(vRight);
fx\src\data\System\Data\Sql\SqlMetaData.cs (5)
933public SqlGuid Adjust(SqlGuid value) { 1086else if (dataType == typeof(SqlGuid)) 1087value = this.Adjust((SqlGuid)value); 1215else if (dataType == typeof(SqlGuid))
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (3)
545internal SqlGuid SqlGuid { 548return (SqlGuid)_object; 550return (SqlGuid)this.SqlValue; // anything else we haven't thought of goes through boxing.
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (1)
2328virtual public SqlGuid GetSqlGuid(int i) {
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (1)
789public override SqlGuid GetSqlGuid(int ordinal) {
fx\src\data\System\Data\SqlClient\SqlEnums.cs (6)
318else if (dataType == typeof(SqlGuid)) 393else if (sqlType == typeof(SqlGuid)) return SqlGuid.Null; 438else if (sqlVal is SqlGuid) 439comVal = ((SqlGuid)sqlVal).Value; 803(255, 255, 16, true, false, false, TdsEnums.SQLUNIQUEID, TdsEnums.SQLUNIQUEID, MetaTypeName.ROWGUID, typeof(System.Guid), typeof(SqlGuid), SqlDbType.UniqueIdentifier, DbType.Guid, 0);
fx\src\data\System\Data\SqlClient\TdsParser.cs (3)
4808nullVal.SqlGuid = SqlGuid.Null; 9986byte[] b = ((SqlGuid)value).ToByteArray(); 10950byte[] b = ((SqlGuid)value).ToByteArray();
fx\src\data\System\Data\SQLTypes\SQLBinary.cs (4)
236/// Converts a <see cref='System.Data.SqlTypes.SqlGuid'/> to a <see cref='System.Data.SqlTypes.SqlBinary'/> 241public static explicit operator SqlBinary(SqlGuid x) { 366public SqlGuid ToSqlGuid() { 367return (SqlGuid)this;
fx\src\data\System\Data\SQLTypes\SQLGuid.cs (41)
124public static implicit operator SqlGuid(Guid x) { 132public static explicit operator Guid(SqlGuid x) { 159public static SqlGuid Parse(String s) { 161return SqlGuid.Null; 168private static EComparison Compare(SqlGuid x, SqlGuid y) { 191public static explicit operator SqlGuid(SqlString x) { 199public static explicit operator SqlGuid(SqlBinary x) { 207public static SqlBoolean operator==(SqlGuid x, SqlGuid y) { 214public static SqlBoolean operator!=(SqlGuid x, SqlGuid y) { 221public static SqlBoolean operator<(SqlGuid x, SqlGuid y) { 228public static SqlBoolean operator>(SqlGuid x, SqlGuid y) { 235public static SqlBoolean operator<=(SqlGuid x, SqlGuid y) { 246public static SqlBoolean operator>=(SqlGuid x, SqlGuid y) { 259public static SqlBoolean Equals(SqlGuid x, SqlGuid y) { 264public static SqlBoolean NotEquals(SqlGuid x, SqlGuid y) { 269public static SqlBoolean LessThan(SqlGuid x, SqlGuid y) { 274public static SqlBoolean GreaterThan(SqlGuid x, SqlGuid y) { 279public static SqlBoolean LessThanOrEqual(SqlGuid x, SqlGuid y) { 284public static SqlBoolean GreaterThanOrEqual(SqlGuid x, SqlGuid y) { 310if (value is SqlGuid) { 311SqlGuid i = (SqlGuid)value; 315throw ADP.WrongType(value.GetType(), typeof(SqlGuid)); 318public int CompareTo(SqlGuid value) { 336if (!(value is SqlGuid)) { 340SqlGuid i = (SqlGuid)value; 398public static readonly SqlGuid Null = new SqlGuid(true);
fx\src\data\System\Data\SQLTypes\SQLString.cs (3)
590public static explicit operator SqlString(SqlGuid x) { 734public SqlGuid ToSqlGuid() { 735return (SqlGuid)this;
fx\src\data\System\Data\xmlsaver.cs (1)
244if (type == typeof(string) ||type == typeof(SqlGuid) ||type == typeof(SqlString) || type == typeof(SqlChars))