when querying the length of a byte[] sql like this is produced
actual:
SELECT [Blob] From [MyTable]
expected:
SELECT DATALENGTH([Blob]) as [HowLong] From [MyTable]
Steps to reproduce
class MyTable {
public byte[] Blob { get; set; }
}
ctx.MyTables.Select(x => new { HowLong = x.Blob.Length }).ToList()
Further technical details
EF Core version: 2.2.0-preview2-35157
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10
IDE: Visual Studio 2017 15.9.0 Preview 3
when querying the length of a byte[] sql like this is produced
actual:
SELECT [Blob] From [MyTable]expected:
SELECT DATALENGTH([Blob]) as [HowLong] From [MyTable]Steps to reproduce
Further technical details
EF Core version: 2.2.0-preview2-35157
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10
IDE: Visual Studio 2017 15.9.0 Preview 3