Table of Contents

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

type Sql.SqlIDType
id string

Properties

ID

public string ID { get; }

Property Value

string

Type

public Sql.SqlIDType Type { get; }

Property Value

Sql.SqlIDType

Methods

Equals(SqlID)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Sql.SqlID other)

Parameters

other Sql.SqlID

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object? obj)

Parameters

obj object

Another object to compare to.

Returns

bool

true if obj and 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

value string

Returns

Sql.SqlID

ToSql(Expression)

public ISqlExpression ToSql(Expression expression)

Parameters

expression Expression

Returns

ISqlExpression

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

A string containing a fully qualified type name.