IncludeSpecification IncludeSpecification Class

Represents a single query include operation.

Syntax

Declaration

public class IncludeSpecificationPublic Class IncludeSpecification

Inheritance Hierarchy

  • System.Object
    System.Object
  • IncludeSpecification
    IncludeSpecification

Inherited Members

Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

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

Properties summary

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

Gets the set of navigation properties to be included.

Gets the query source.

Methods summary

Convert this object into a string representation.

Constructors

  • IncludeSpecification(IQuerySource, IReadOnlyList<INavigation>)
    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<T><INavigation>
      System.Collections.Generic.IReadOnlyList<T>(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

    Property 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)

    Property Value

    • System.Collections.Generic.IReadOnlyList<T><INavigation>
      System.Collections.Generic.IReadOnlyList<T>(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

    Property Value

    • IQuerySource
      IQuerySource

      The query source.

Methods

  • 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.

Details

Assembly

Microsoft.EntityFrameworkCore.dll