Skip to content

RelatedAttribute Class ​

Definition ​

Marks a reference navigation property as a related POCO hydrated from joined or view columns. Collection navigations are not supported.

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Constructors ​

NameDescription
RelatedAttribute(string foreignKey)Initializes a new instance of the RelatedAttribute class.

Properties ​

NameDescription
ForeignKeyGets the foreign-key property or column name on the root type.
LogicalNameGets or sets the logical join / result-column prefix. Defaults to the navigation property name.