dotConnect for PostgreSQL V7.24.2066
Released: Jan 25, 2022
Actualizaciones en V7.24.2066
Características
- Added support for Microsoft .NET 6.0.
- Added KeepConnected connection string parameter to determine the number of seconds of connection inactivity before the client sends a ping request.
- Added Load Balancing support - Several hosts with their ports can now be specified in the Host parameter of the connection string.
- Added Target Session connection string parameter for managing Load Balancing functionality, possible values are SuppressLoadBalancing, Any, PreferStandby, PreferPrimary, Primary and Standby.
- Added TargetSession property to the PgSqlCommand class to provide the possibility to overwrite the behavior of the same option set in the connection object.
Entity Developer
- Changed behavior: Turning off the "Save connection to" option in Model Settings of Entity Framework Core Model wipes out connection string literal from the generated code.
- Changed behavior: Devart.Data.PostgreSql.Entity.EF5.dll compiled with Microsoft .NET Framework 4.7 is now used in Entity Framework 5 models.
Entity Framework support
- Added new \Entity\EF5\net47\Devart.Data.PostgreSql.Entity.EF5.dll, \Entity\EF5\net47\Devart.Data.PostgreSql.Entity.Migrations.EF5.dll and \Entity\EF5\net47\Devart.Data.PostgreSql.Entity.Spatials.EF5.dll assemblies compiled with Microsoft .NET Framework 4.7.
Correcciones
Entity Developer
- Fixed the bug when mapping PostgreSQL inet and macaddr types in Entity Framework Core Model.
Entity Framework support
- Fixed the bug with generating the "Value cannot be null" error when dropping indexes via Code-First Migrations in Entity Framework Core.
- Fixed the bug with a materialization used within the Let operator of LINQ query in Entity Framework 6.
- Fixed the bug with using .Contains with a collection within .Select of LINQ query in Entity Framework Core 2.
- Fixed the bug with throwing the "schema does not exist" error by Database.EnsureDeleted() in Entity Framework Core.
- Fixed the bug with saving and reading string value NULL to/from HSTORE data type in PostgreSQL mapped to Dictionary<string, string> or ImmutableDictionary<string, string> or SortedDictionary<string, string> or ImmutableSortedDictionary<string, string> in Entity Framework Core 3, 5 and 6.