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
MemberstringThe navigation property name.
ForeignKeystringThe foreign-key member: on this entity for a reference, on the element for a collection.
CollectionboolWhether the navigation is a collection.
Properties
Collection
Whether the navigation is a collection.
public bool Collection { get; init; }
Property Value
ForeignKey
The foreign-key member: on this entity for a reference, on the element for a collection.
public string ForeignKey { get; init; }
Property Value
Member
The navigation property name.
public string Member { get; init; }