Class MaybeColumnMapping
- Namespace
- Trellis.EntityFrameworkCore
- Assembly
- Trellis.EntityFrameworkCore.dll
A resolved relational column belonging to a scalar or owned Maybe<T> value.
public sealed record MaybeColumnMapping : IEquatable<MaybeColumnMapping>
- Inheritance
-
MaybeColumnMapping
- Implements
- Inherited Members
- Extension Methods
Constructors
MaybeColumnMapping(string, string, string?, string, string, bool)
A resolved relational column belonging to a scalar or owned Maybe<T> value.
public MaybeColumnMapping(string PropertyPath, string TableName, string? Schema, string ColumnName, string ColumnType, bool IsNullable)
Parameters
PropertyPathstringEF property name, prefixed by nested ownership navigation names.
TableNamestringThe actual mapped table name.
SchemastringThe mapped schema, or null for the provider's default.
ColumnNamestringThe actual store column name, including convention prefixes or explicit overrides.
ColumnTypestringThe provider's relational column type.
IsNullableboolWhether the store column permits null, rather than the CLR property's nullability.
Properties
ColumnName
The actual store column name, including convention prefixes or explicit overrides.
public string ColumnName { get; init; }
Property Value
ColumnType
The provider's relational column type.
public string ColumnType { get; init; }
Property Value
IsNullable
Whether the store column permits null, rather than the CLR property's nullability.
public bool IsNullable { get; init; }
Property Value
PropertyPath
EF property name, prefixed by nested ownership navigation names.
public string PropertyPath { get; init; }
Property Value
Schema
The mapped schema, or null for the provider's default.
public string? Schema { get; init; }
Property Value
TableName
The actual mapped table name.
public string TableName { get; init; }