Struct Sql.SqlID
- Namespace
- LinqToDB
- Assembly
- linq2db.dll
public readonly struct Sql.SqlID : IToSqlConverter, IEquatable<Sql.SqlID>
- Implements
- Extension Methods
Constructors
SqlID(SqlIDType, string)
public SqlID(Sql.SqlIDType type, string id)
Parameters
Properties
ID
public string ID { get; }
Property Value
Type
public Sql.SqlIDType Type { get; }
Property Value
Methods
Equals(SqlID)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Sql.SqlID other)
Parameters
Returns
- bool
true if the current object is equal to the
otherparameter; otherwise, false.
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
objobjectAnother object to compare to.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
Parse(string)
public static Sql.SqlID Parse(string value)
Parameters
valuestring
Returns
ToSql(Expression)
public ISqlExpression ToSql(Expression expression)
Parameters
expressionExpression
Returns
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()