well no, for once it's not me :-)
To test:
Add the line:
var query = db.Set<TwoComputedInsertEntity>()
.CountAsync(u => u.Name.ToLower().Trim() == "foobar" && u.Id != 27);
to the InsertTest.cs file on line 227.
and run FirebirdSql.EntityFrameworkCore.Firebird.Test you will get :
1) Error : FirebirdSql.EntityFrameworkCore.Firebird.Tests.EndToEnd.InsertTests.TwoComputedInsert
System.InvalidOperationException : Expression 'LOWER(t.NAME)' in the SQL tree does not have a type mapping assigned.
at Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitor.SqlTypeMappingVerifyingExpressionVisitor.VisitExtension(Expression extensionExpression)
at System.Linq.Expressions.Expression.Accept(ExpressionVisitor visitor)
at System.Linq.Expressions.ExpressionVisitor.Visit(Expression node)
at FirebirdSql.EntityFrameworkCore.Firebird.Query.Expressions.Internal.FbSpacedFunctionExpression.VisitChildren(ExpressionVisitor visitor) in C:\dev vs2022\NETProvider-master\src\FirebirdSql.EntityFrameworkCore.Firebird\Query\Expressions\Internal\FbSpacedFunctionExpression.cs:line 45
at System.Linq.Expressions.ExpressionVisitor.VisitExtension(Expression node)
at Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitor.SqlTypeMappingVerifyingExpressionVisitor.VisitExtension(Expression extensionExpression)
at System.Linq.Expressions.Expression.Accept(ExpressionVisitor visitor)
....blabla
-----Message d'origine-----
De :
firebird-n...@googlegroups.com [mailto:
firebird-n...@googlegroups.com] De la part de Norbert Saint Georges
Envoyé : lundi 7 novembre 2022 20:33
À :
firebird-n...@googlegroups.com
Objet : RE: [firebird-net-provider] EntityFrameWork
To view this discussion on the web visit
https://groups.google.com/d/msgid/firebird-net-provider/1F00205D6097D74BA69E202DC215296F4AA2E7%40raoul.tetrasys.oy.local.