QueryCompilationContext.AddOrUpdateMapping Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor