Table of Contents

Class RelationalNavigation

Namespace
eQuantic.Core.Data.Relational
Assembly
eQuantic.Core.Data.Relational.dll

A declared navigation: the member, the foreign-key member and which side holds it.

public sealed record RelationalNavigation : IEquatable<RelationalNavigation>
Inheritance
RelationalNavigation
Implements
Inherited Members

Constructors

RelationalNavigation(string, string, bool)

A declared navigation: the member, the foreign-key member and which side holds it.

public RelationalNavigation(string Member, string ForeignKey, bool Collection)

Parameters

Member string

The navigation property name.

ForeignKey string

The foreign-key member: on this entity for a reference, on the element for a collection.

Collection bool

Whether the navigation is a collection.

Properties

Collection

Whether the navigation is a collection.

public bool Collection { get; init; }

Property Value

bool

ForeignKey

The foreign-key member: on this entity for a reference, on the element for a collection.

public string ForeignKey { get; init; }

Property Value

string

Member

The navigation property name.

public string Member { get; init; }

Property Value

string