Class InterpolatedTemporaryTable
A sequence of values, created from an expression in an interpolated string, to be passed to an SQL statement as a
temporary table.
Inheritance
InterpolatedTemporaryTable
Assembly: RentADeveloper.DbConnectionPlus.dll
Syntax
public record InterpolatedTemporaryTable : IEquatable<InterpolatedTemporaryTable>
Constructors
View Source
InterpolatedTemporaryTable(InterpolatedTemporaryTable)
Declaration
protected InterpolatedTemporaryTable(InterpolatedTemporaryTable original)
Parameters
View Source
InterpolatedTemporaryTable(string, IEnumerable, Type)
A sequence of values, created from an expression in an interpolated string, to be passed to an SQL statement as a
temporary table.
Declaration
public InterpolatedTemporaryTable(string Name, IEnumerable Values, Type ValuesType)
Parameters
| Type |
Name |
Description |
| string |
Name |
The name for the table.
|
| IEnumerable |
Values |
The values with which to populate the table.
|
| Type |
ValuesType |
The type of values in Values.
|
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Name
Declaration
public string Name { get; init; }
Property Value
View Source
Values
The values with which to populate the table.
Declaration
public IEnumerable Values { get; init; }
Property Value
View Source
ValuesType
The type of values in Values.
Declaration
public Type ValuesType { get; init; }
Property Value
Methods
View Source
Deconstruct(out string, out IEnumerable, out Type)
Declaration
public void Deconstruct(out string Name, out IEnumerable Values, out Type ValuesType)
Parameters
View Source
Equals(InterpolatedTemporaryTable?)
Declaration
public virtual bool Equals(InterpolatedTemporaryTable? other)
Parameters
Returns
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(InterpolatedTemporaryTable?, InterpolatedTemporaryTable?)
Declaration
public static bool operator ==(InterpolatedTemporaryTable? left, InterpolatedTemporaryTable? right)
Parameters
Returns
View Source
operator !=(InterpolatedTemporaryTable?, InterpolatedTemporaryTable?)
Declaration
public static bool operator !=(InterpolatedTemporaryTable? left, InterpolatedTemporaryTable? right)
Parameters
Returns
Implements