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\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\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);