IncludeSpecification IncludeSpecification Class

Definition

Represents a single query include operation.

public class IncludeSpecification
Public Class IncludeSpecification
Inheritance
System.ObjectSystem.Object
IncludeSpecificationIncludeSpecification

Constructors

IncludeSpecification(IQuerySource, IReadOnlyList) IncludeSpecification(IQuerySource, IReadOnlyList(Of INavigation))

Initializes a new instance of the Microsoft.EntityFrameworkCore.Query.IncludeSpecification class.

public IncludeSpecification(IQuerySource querySource, IReadOnlyList<INavigation> navigationPath)
Public Sub New(querySource As IQuerySource, navigationPath As IReadOnlyList(Of INavigation))
Parameters
querySource
IQuerySource IQuerySource

The query source.

navigationPath
System.Collections.Generic.IReadOnlyList<INavigation> System.Collections.Generic.IReadOnlyList(Of INavigation)

The set of navigation properties to be included.

Properties

IsEnumerableTarget IsEnumerableTarget

Gets or sets a value indicating whether this object is an enumerable target.

public virtual bool IsEnumerableTarget { get; set; }
Public Overridable Property IsEnumerableTarget As Boolean
Value
System.Boolean System.Boolean

True if this object is an enumerable target, false if not.

NavigationPath NavigationPath

Gets the set of navigation properties to be included.

public virtual IReadOnlyList<INavigation> NavigationPath { get; }
Public Overridable ReadOnly Property NavigationPath As IReadOnlyList(Of INavigation)
Value
System.Collections.Generic.IReadOnlyList<INavigation> System.Collections.Generic.IReadOnlyList(Of INavigation)

The set of navigation properties to be included.

QuerySource QuerySource

Gets the query source.

public virtual IQuerySource QuerySource { get; }
Public Overridable ReadOnly Property QuerySource As IQuerySource
Value
IQuerySource IQuerySource

The query source.

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Convert this object into a string representation.

public override string ToString()
Public Overrides Function ToString As String
Returns
System.String System.String

A string that represents this object.

Overrides
System.Object.ToString()System.Object.ToString()