Class SqlDialect
Represents a specific SQL dialect.
public class SqlDialect : IEquatable<SqlDialect>
- Inheritance
-
SqlDialect
- Implements
- Inherited Members
Constructors
SqlDialect(string)
Creates a new SqlDialect instance.
public SqlDialect(string name)
Parameters
name
stringName of this dialect.
Properties
Name
Name of this dialect.
public string Name { get; }
Property Value
Methods
Equals(SqlDialect?)
Indicates whether the current object is equal to another object of the same type.
[Pure]
public bool Equals(SqlDialect? other)
Parameters
other
SqlDialectAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
[Pure]
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
[Pure]
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string representation of this SqlDialect instance.
[Pure]
public override string ToString()
Returns
- string
String representation.
Operators
operator ==(SqlDialect?, SqlDialect?)
Checks if a
is equal to b
.
[Pure]
public static bool operator ==(SqlDialect? a, SqlDialect? b)
Parameters
a
SqlDialectFirst operand.
b
SqlDialectSecond operand.
Returns
- bool
true when operands are equal, otherwise false.
operator !=(SqlDialect?, SqlDialect?)
Checks if a
is not equal to b
.
[Pure]
public static bool operator !=(SqlDialect? a, SqlDialect? b)
Parameters
a
SqlDialectFirst operand.
b
SqlDialectSecond operand.
Returns
- bool
true when operands are not equal, otherwise false.