Show / Hide Table of Contents

Class NavigationAttribute

Indicates that the property is "navigates" to another type.

Inheritance
System.Object
NavigationAttribute
Namespace: Paradigm.ORM.Data.Attributes
Assembly: Paradigm.ORM.Data.dll
Syntax
public class NavigationAttribute : Attribute
Remarks

This is common on Parent / child relationships.

Constructors

| Improve this Doc View Source

NavigationAttribute()

Initializes a new instance of the NavigationAttribute class.

Declaration
public NavigationAttribute()
| Improve this Doc View Source

NavigationAttribute(Type, String, String)

Initializes a new instance of the NavigationAttribute class.

Declaration
public NavigationAttribute(Type referencedType, string sourceProperty, string referencedProperty)
Parameters
Type Name Description
Type referencedType

The name of the referenced type.

System.String sourceProperty

The name of the source property.

System.String referencedProperty

The name of the referenced property.

Properties

| Improve this Doc View Source

ReferencedProperty

Gets or sets the name of the referenced property.

Declaration
public string ReferencedProperty { get; set; }
Property Value
Type Description
System.String

To property.

| Improve this Doc View Source

ReferencedType

Gets or sets the name of the referenced type.

Declaration
public Type ReferencedType { get; set; }
Property Value
Type Description
Type

To type.

| Improve this Doc View Source

SourceProperty

Gets or sets the name of the source property.

Declaration
public string SourceProperty { get; set; }
Property Value
Type Description
System.String

From property.

Extension Methods

ObjectExtensions.ThrowIfFails<TException>(Object, Action, String)
ObjectExtensions.ThrowIfFails<TException, TResult>(Object, Func<TResult>, String)
ObjectExtensions.ThrowIfFailsAsync<TException>(Object, Func<Task>, String)
ObjectExtensions.ThrowIfFailsAsync<TException, TResult>(Object, Func<Task<TResult>>, String)
  • Improve this Doc
  • View Source
Powered by MiracleDevs ©2017. Code licensed under the MIT License.
Documentation generated by DocFX.