Maurycy Markowski

Results 155 comments of Maurycy Markowski

problem is in type Person, property LastName is of type string but is mapped to decimal(18, 2). We shoudn't be throwing null ref though. Full stack trace: ``` at Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingSource.FindCollectionMapping(RelationalTypeMappingInfo...

minimal repro: ```cs [ConditionalFact] public async Task Repro33556() { var ctx = new MyContext(); await ctx.Database.EnsureDeletedAsync(); await ctx.Database.EnsureCreatedAsync(); } public class MyContext : DbContext { #pragma warning disable CS8618 //...

@cincuranet wanna take a stab at it? Otherwise @ajcvickers can take care of it as it's in his area.

@drmcclelland you can try: ```cs var s = "foo"; _ = await ctx.Blogs.Where(b => EF.Functions.Like(b.Name, s)).ToListAsync(); ``` which produces: ```sql SELECT [b].[Id], [b].[Name] FROM [Blogs] AS [b] WHERE [b].[Name] LIKE...

currently there is no escape hatch/customization for this case. For constants we escape the constant value on the spot, for parameters we do LIKE with ESCAPE, and for any other...

@PjotrB @dougclutter 8.0.4 is back up. Unlisting was not intentional, likely a glitch in our system. We are looking into the details, what exactly happened, but it should be safe...

https://github.com/dotnet/efcore/issues/32911 is the culprit. @eisbaer66 - you can make your scenario work on 8.0.4 by setting the following AppContext switch: `"Microsoft.EntityFrameworkCore.Issue32911"`

Problem is that upon applying LEFT JOIN operation, Enum value on the complex type is not marked as nullable. We have StructuralTypeProjectionExpression and we mark all the primitive properties as...