Table of Contents

Class Inclusion<TEntity>

Namespace
Magicalizer.Data
Assembly
Magicalizer.dll

Inclusion of related entities into a query.

public class Inclusion<TEntity> where TEntity : class, IEntity

Type Parameters

TEntity

Entity type.

Inheritance
Inclusion<TEntity>
Inherited Members

Constructors

Inclusion(Expression<Func<TEntity, object?>>)

Creates an inclusion from the expression.

public Inclusion(Expression<Func<TEntity, object?>> property)

Parameters

property Expression<Func<TEntity, object>>

Expression of the property path.

Inclusion(string)

Creates an inclusion from the property path.

public Inclusion(string propertyPath)

Parameters

propertyPath string

Property path (property names separated by dots).

Properties

PropertyPath

Property path of related entities to include (e.g. "Category.Products").

public string PropertyPath { get; }

Property Value

string