/// <summary> /// This API supports the Entity Framework Core infrastructure and is not intended to be used /// directly from your code. This API may change or be removed in future releases. /// </summary> public QueryModelPrinter() { _expressionPrinter = new QueryModelExpressionPrinter(); _stringBuilder = _expressionPrinter.StringBuilder; _queryModelPrintingVisitor = new QueryModelPrintingVisitor(_expressionPrinter); _expressionPrinter.SetQueryModelPrintingVisitor(_queryModelPrintingVisitor); }
public void SetQueryModelPrintingVisitor(QueryModelPrintingVisitor queryModelPrintingVisitor) => _queryModelPrintingVisitor = queryModelPrintingVisitor;