QueryCompilationContext.AddOrUpdateMapping Method

Definition

Overloads

AddOrUpdateMapping(IQuerySource, IEntityType)

Gets the entity type mapped to the given query source

AddOrUpdateMapping(IQuerySource, Expression)

Adds or updates the expression mapped to a query source.

AddOrUpdateMapping(IQuerySource, IEntityType)

Gets the entity type mapped to the given query source

public virtual void AddOrUpdateMapping (Remotion.Linq.Clauses.IQuerySource querySource, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member AddOrUpdateMapping : Remotion.Linq.Clauses.IQuerySource * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> unit
override this.AddOrUpdateMapping : Remotion.Linq.Clauses.IQuerySource * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> unit
Public Overridable Sub AddOrUpdateMapping (querySource As IQuerySource, entityType As IEntityType)

Parameters

querySource
Remotion.Linq.Clauses.IQuerySource
entityType
IEntityType

Applies to

AddOrUpdateMapping(IQuerySource, Expression)

Adds or updates the expression mapped to a query source.

public virtual void AddOrUpdateMapping (Remotion.Linq.Clauses.IQuerySource querySource, System.Linq.Expressions.Expression expression);
abstract member AddOrUpdateMapping : Remotion.Linq.Clauses.IQuerySource * System.Linq.Expressions.Expression -> unit
override this.AddOrUpdateMapping : Remotion.Linq.Clauses.IQuerySource * System.Linq.Expressions.Expression -> unit
Public Overridable Sub AddOrUpdateMapping (querySource As IQuerySource, expression As Expression)

Parameters

querySource
Remotion.Linq.Clauses.IQuerySource

The query source.

expression
Expression

The expression mapped to the query source.

Applies to