Class SqlField
public sealed class SqlField : SqlExpressionBase, ISqlExpression, IQueryElement, IEquatable<ISqlExpression>
- Inheritance
-
SqlField
- Implements
- Inherited Members
- Extension Methods
Constructors
SqlField(DbDataType, string?, bool)
public SqlField(DbDataType dbDataType, string? name, bool canBeNull)
Parameters
dbDataTypeDbDataTypenamestringcanBeNullbool
SqlField(ISqlTableSource, string)
public SqlField(ISqlTableSource table, string name)
Parameters
tableISqlTableSourcenamestring
SqlField(SqlField)
public SqlField(SqlField field)
Parameters
fieldSqlField
SqlField(ColumnDescriptor)
public SqlField(ColumnDescriptor column)
Parameters
columnColumnDescriptor
SqlField(string, string)
public SqlField(string name, string physicalName)
Parameters
Properties
Alias
public string? Alias { get; set; }
Property Value
BasedOn
public SqlField? BasedOn { get; set; }
Property Value
CanBeNull
public bool CanBeNull { get; set; }
Property Value
ColumnDescriptor
public ColumnDescriptor ColumnDescriptor { get; set; }
Property Value
CreateFormat
public string? CreateFormat { get; set; }
Property Value
CreateOrder
public int? CreateOrder { get; set; }
Property Value
- int?
ElementType
AST node type.
public override QueryElementType ElementType { get; }
Property Value
IsDynamic
public bool IsDynamic { get; set; }
Property Value
IsIdentity
public bool IsIdentity { get; set; }
Property Value
IsInsertable
public bool IsInsertable { get; set; }
Property Value
IsPrimaryKey
public bool IsPrimaryKey { get; set; }
Property Value
IsUpdatable
public bool IsUpdatable { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
PhysicalName
public string PhysicalName { get; set; }
Property Value
Precedence
public override int Precedence { get; }
Property Value
PrimaryKeyOrder
public int PrimaryKeyOrder { get; set; }
Property Value
SkipOnEntityFetch
public bool SkipOnEntityFetch { get; set; }
Property Value
SystemType
public override Type SystemType { get; }
Property Value
Table
public ISqlTableSource? Table { get; set; }
Property Value
Type
public DbDataType Type { get; set; }
Property Value
Methods
Assign(SqlField)
public void Assign(SqlField source)
Parameters
sourceSqlField
CanBeNullable(NullabilityContext)
public override bool CanBeNullable(NullabilityContext nullability)
Parameters
nullabilityNullabilityContext
Returns
Equals(ISqlExpression, Func<ISqlExpression, ISqlExpression, bool>)
public override bool Equals(ISqlExpression other, Func<ISqlExpression, ISqlExpression, bool> comparer)
Parameters
otherISqlExpressioncomparerFunc<ISqlExpression, ISqlExpression, bool>
Returns
GetElementHashCode()
public override int GetElementHashCode()
Returns
ToString(QueryElementTextWriter)
Generates debug text representation of AST node.
public override QueryElementTextWriter ToString(QueryElementTextWriter writer)
Parameters
writerQueryElementTextWriter