Class ColumnProperties
A record representing the properties of a column.
Inheritance
ColumnProperties
Assembly: LemonEdge.Database.Connector.dll
Syntax
public record ColumnProperties : IEquatable<ColumnProperties>
Constructors
ColumnProperties(ColumnProperties)
Declaration
protected ColumnProperties(ColumnProperties original)
Parameters
ColumnProperties(string, SQLType, bool, int)
A record representing the properties of a column.
Declaration
public ColumnProperties(string Name, SQLType Type, bool IsNullable, int MaxLength)
Parameters
Type |
Name |
Description |
string |
Name |
The Name
|
SQLType |
Type |
The SQLType
|
bool |
IsNullable |
Whether it is nullable
|
int |
MaxLength |
The maximum length
|
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
IsNullable
Declaration
public bool IsNullable { get; init; }
Property Value
MaxLength
Declaration
public int MaxLength { get; init; }
Property Value
Name
Declaration
public string Name { get; init; }
Property Value
Type
Declaration
public SQLType Type { get; init; }
Property Value
Methods
Deconstruct(out string, out SQLType, out bool, out int)
Declaration
public void Deconstruct(out string Name, out SQLType Type, out bool IsNullable, out int MaxLength)
Parameters
Equals(ColumnProperties?)
Declaration
public virtual bool Equals(ColumnProperties? other)
Parameters
Returns
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
<Clone>$()
Declaration
public virtual ColumnProperties <Clone>$()
Returns
Operators
operator ==(ColumnProperties?, ColumnProperties?)
Declaration
public static bool operator ==(ColumnProperties? left, ColumnProperties? right)
Parameters
Returns
operator !=(ColumnProperties?, ColumnProperties?)
Declaration
public static bool operator !=(ColumnProperties? left, ColumnProperties? right)
Parameters
Returns
Implements
Extension Methods