Class Column
Table or view column descriptor.
public sealed record Column : IEquatable<Column>
- Inheritance
-
Column
- Implements
- Extension Methods
Constructors
Column(string, string?, DatabaseType, bool, bool, bool, int?)
Table or view column descriptor.
public Column(string Name, string? Description, DatabaseType Type, bool Nullable, bool Insertable, bool Updatable, int? Ordinal)
Parameters
Name
stringColumn name.
Description
stringOptional column description.
Type
DatabaseTypeColumn type.
Nullable
boolColumn allows
NULL
values.Insertable
boolFlag indicating that column accepts user-provided values for insert operations.
Updatable
boolFlag indicating that column accepts user-provided values for update operations.
Ordinal
int?Column ordinal.
Properties
Description
Optional column description.
public string? Description { get; init; }
Property Value
Insertable
Flag indicating that column accepts user-provided values for insert operations.
public bool Insertable { get; init; }
Property Value
Name
Column name.
public string Name { get; init; }
Property Value
Nullable
Column allows NULL
values.
public bool Nullable { get; init; }
Property Value
Ordinal
Column ordinal.
public int? Ordinal { get; init; }
Property Value
- int?
Type
Column type.
public DatabaseType Type { get; init; }
Property Value
Updatable
Flag indicating that column accepts user-provided values for update operations.
public bool Updatable { get; init; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.