I have an Azure V3 app that must call DAL repos built on Entity Framework 6.4 On database initialize I am getting an exception:
System.Data.SqlClient: System.Data.SqlClient is not supported on this platform
That is coming from: System.Data.SqlClient
4.8
public sealed partial class SqlConnection : System.Data.Common.DbConnection, System.ICloneable
{
public SqlConnection()
{
throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient)
}
}
In similar threads the resolution was to downgrade System.Data.SqlClient
to version 4.5.1, but in my case the dependency being added by Entity Framework.
Anyone having an idea if it is possible to use Entity Framework 6.4 in Azure function V3 app?