QueryExpressionEventData Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
QueryExpressionEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, Expression, ExpressionPrinter) |
Costruisce il payload dell'evento. |
QueryExpressionEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, Expression, IExpressionPrinter) |
Costruisce il payload dell'evento. |
QueryExpressionEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, DbContext, Expression, ExpressionPrinter) |
Costruisce il payload dell'evento. |
QueryExpressionEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, Expression, ExpressionPrinter)
Costruisce il payload dell'evento.
public QueryExpressionEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Linq.Expressions.Expression queryExpression, Microsoft.EntityFrameworkCore.Query.ExpressionPrinter expressionPrinter);
new Microsoft.EntityFrameworkCore.Diagnostics.QueryExpressionEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Query.ExpressionPrinter -> Microsoft.EntityFrameworkCore.Diagnostics.QueryExpressionEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), queryExpression As Expression, expressionPrinter As ExpressionPrinter)
Parametri
- eventDefinition
- EventDefinitionBase
Definizione dell'evento.
- messageGenerator
- Func<EventDefinitionBase,EventData,String>
Delegato che genera un messaggio di log per questo evento.
- queryExpression
- Expression
Oggetto Expression.
- expressionPrinter
- ExpressionPrinter
Oggetto ExpressionPrinter che può essere usato per eseguire il rendering di Expression.
Si applica a
QueryExpressionEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, Expression, IExpressionPrinter)
Costruisce il payload dell'evento.
public QueryExpressionEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, System.Linq.Expressions.Expression queryExpression, Microsoft.EntityFrameworkCore.Query.Internal.IExpressionPrinter expressionPrinter);
new Microsoft.EntityFrameworkCore.Diagnostics.QueryExpressionEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Query.Internal.IExpressionPrinter -> Microsoft.EntityFrameworkCore.Diagnostics.QueryExpressionEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), queryExpression As Expression, expressionPrinter As IExpressionPrinter)
Parametri
- eventDefinition
- EventDefinitionBase
Definizione dell'evento.
- messageGenerator
- Func<EventDefinitionBase,EventData,String>
Delegato che genera un messaggio di log per questo evento.
- queryExpression
- Expression
Oggetto Expression.
- expressionPrinter
- Microsoft.EntityFrameworkCore.Query.Internal.IExpressionPrinter
Oggetto Microsoft.EntityFrameworkCore.Query.Internal.IExpressionPrinter che può essere usato per eseguire il rendering di Expression.
Si applica a
QueryExpressionEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, DbContext, Expression, ExpressionPrinter)
Costruisce il payload dell'evento.
public QueryExpressionEventData (Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase eventDefinition, Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase,Microsoft.EntityFrameworkCore.Diagnostics.EventData,string> messageGenerator, Microsoft.EntityFrameworkCore.DbContext? context, System.Linq.Expressions.Expression queryExpression, Microsoft.EntityFrameworkCore.Query.ExpressionPrinter expressionPrinter);
new Microsoft.EntityFrameworkCore.Diagnostics.QueryExpressionEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase * Func<Microsoft.EntityFrameworkCore.Diagnostics.EventDefinitionBase, Microsoft.EntityFrameworkCore.Diagnostics.EventData, string> * Microsoft.EntityFrameworkCore.DbContext * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Query.ExpressionPrinter -> Microsoft.EntityFrameworkCore.Diagnostics.QueryExpressionEventData
Public Sub New (eventDefinition As EventDefinitionBase, messageGenerator As Func(Of EventDefinitionBase, EventData, String), context As DbContext, queryExpression As Expression, expressionPrinter As ExpressionPrinter)
Parametri
- eventDefinition
- EventDefinitionBase
Definizione dell'evento.
- messageGenerator
- Func<EventDefinitionBase,EventData,String>
Delegato che genera un messaggio di log per questo evento.
- queryExpression
- Expression
Oggetto Expression.
- expressionPrinter
- ExpressionPrinter
Oggetto ExpressionPrinter che può essere usato per eseguire il rendering di Expression.