public override void Print(ExpressionPrinter expressionPrinter) { base.Print(expressionPrinter); expressionPrinter.Append($".FromSql({Sql}, "); expressionPrinter.Visit(Argument); expressionPrinter.AppendLine(")"); }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> protected override void Print(ExpressionPrinter expressionPrinter) { Check.NotNull(expressionPrinter, nameof(expressionPrinter)); base.Print(expressionPrinter); expressionPrinter.Append($".FromSql({Sql}, "); expressionPrinter.Visit(Argument); expressionPrinter.AppendLine(")"); }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> void IPrintableExpression.Print(ExpressionPrinter expressionPrinter) { expressionPrinter.AppendLine("RelationalCommandCache.SelectExpression("); using (expressionPrinter.Indent()) { expressionPrinter.Visit(_selectExpression); expressionPrinter.Append(")"); } }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> void IPrintableExpression.Print(ExpressionPrinter expressionPrinter) { Check.NotNull(expressionPrinter, nameof(expressionPrinter)); expressionPrinter.AppendLine("PopulateCollection:"); using (expressionPrinter.Indent()) { expressionPrinter.Append("Parent:"); expressionPrinter.Visit(Parent); } }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> void IPrintableExpression.Print(ExpressionPrinter expressionPrinter) { Check.NotNull(expressionPrinter, nameof(expressionPrinter)); expressionPrinter.AppendLine("InitializeCollection:"); using (expressionPrinter.Indent()) { expressionPrinter.AppendLine($"CollectionId: {CollectionId}"); expressionPrinter.AppendLine($"Navigation: {Navigation?.Name}"); expressionPrinter.Append("Parent:"); expressionPrinter.Visit(Parent); expressionPrinter.AppendLine(); expressionPrinter.Append("ParentIdentifier:"); expressionPrinter.Visit(ParentIdentifier); expressionPrinter.AppendLine(); expressionPrinter.Append("OuterIdentifier:"); expressionPrinter.Visit(OuterIdentifier); expressionPrinter.AppendLine(); } }