Sdílet prostřednictvím


QueryCompilationContext.AddOrUpdateMapping Metoda

Definice

Přetížení

AddOrUpdateMapping(IQuerySource, IEntityType)

Získá typ entity mapovaný na daný zdroj dotazu.

AddOrUpdateMapping(IQuerySource, Expression)

Přidá nebo aktualizuje výraz mapovaný na zdroj dotazu.

AddOrUpdateMapping(IQuerySource, IEntityType)

Získá typ entity mapovaný na daný zdroj dotazu.

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)

Parametry

querySource
Remotion.Linq.Clauses.IQuerySource
entityType
IEntityType

Platí pro

AddOrUpdateMapping(IQuerySource, Expression)

Přidá nebo aktualizuje výraz mapovaný na zdroj dotazu.

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)

Parametry

querySource
Remotion.Linq.Clauses.IQuerySource

Zdroj dotazu.

expression
Expression

Výraz mapovaný na zdroj dotazu.

Platí pro