Прочетете на английски

Споделяне чрез


IMutableDbFunction.Translation Property

Definition

Gets or sets the translation callback for performing custom translation of the method call into a SQL expression fragment.

C#
public Func<System.Collections.Generic.IReadOnlyCollection<System.Linq.Expressions.Expression>,System.Linq.Expressions.Expression> Translation { get; set; }
C#
public Func<System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression>,Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> Translation { get; set; }
C#
public Func<System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression>,Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression>? Translation { get; set; }

Property Value

Applies to

Продукт Версии
Entity Framework Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0