Table of Contents

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

PropertyPath string

EF property name, prefixed by nested ownership navigation names.

TableName string

The actual mapped table name.

Schema string

The mapped schema, or null for the provider's default.

ColumnName string

The actual store column name, including convention prefixes or explicit overrides.

ColumnType string

The provider's relational column type.

IsNullable bool

Whether 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

string

ColumnType

The provider's relational column type.

public string ColumnType { get; init; }

Property Value

string

IsNullable

Whether the store column permits null, rather than the CLR property's nullability.

public bool IsNullable { get; init; }

Property Value

bool

PropertyPath

EF property name, prefixed by nested ownership navigation names.

public string PropertyPath { get; init; }

Property Value

string

Schema

The mapped schema, or null for the provider's default.

public string? Schema { get; init; }

Property Value

string

TableName

The actual mapped table name.

public string TableName { get; init; }

Property Value

string