Verbessert die Vorlage für Datenübertragungsobjekte.
April 7, 2021
Neue Version
Funktionen
- Added support for Microsoft Visual Studio 2019 version 16.10 Preview.
- Added the ability to ignore warnings during code generation.
- Data Transfer Object template has been improved:
- New Serialization Library property has been added for specifying the library used for serialization.
- The extended property "Do Not Serialize" has been added to exclude properties and navigation properties from serialization.
- The extended property "Serialization Name" has been added to set custom names for properties and navigation in serialization.
- Behavior change: WCF Data Contract Attributes is now set to False by default.
Entity Framework support
- The JSON (Newtonsoft.Json, Microsoft.Text.Json) and YAML (YamlDotNet) serializations are now supported in Entity Framework Core (via Entity Framework Core template) and Entity Framework 6 (via DbContext template).
- Added new template property "Serialization Library" for specifying the library used for serialization.
- Added new template property "Serialize Original Column Names" for controlling the appearance of original column names in serialization.
- Added a new template property "Serialize Navigation" for controlling the appearance of navigation properties in serialization.
- Added a new template property "Serialize Null Value" for managing the behavior of nullable properties.
- Added a new extended property "Do Not Serialize" to exclude properties and navigation properties from serialization.
- Added a new extended property "Serialization Name" to set custom names for properties and navigation in serialization.
- Microsoft .NET 6.0 has been added to the list of available Target Framework versions in Create Model Wizard and Model Settings in Entity Framework Core and Entity Framework 6 models.
- Entity Framework Core 6.0 is now supported for Microsoft.Data.SqlClient, Microsoft.Data.Sqlite and Npgsql.
- The new package "MySql.EntityFrameworkCore" is now used for MySQL Connector Microsoft .NET in Entity Framework Core 3 and Entity Framework Core 5.
- Entity Framework Core 5 is now supported for FirebirdSql.Data.FirebirdClient and Pomelo.EntityFrameworkCore.MySql.
- Entity Framework Core Spatial Data (NetTopologySuite) is now supported for Pomelo.EntityFrameworkCore.MySql.
- Added new extended property "Record Type" for classes.
- Added new extended property "Do Not Generate Default Constructor".
- Added a new extended property "Do Not Generate Mapping".
- Newtonsoft.Json.Linq (JObject and JToken as property types) is now supported for Pomelo.EntityFrameworkCore.MySql in Entity Framework Core Model.
- System.Text.Json (JsonDocument and JsonElement as property types) is now supported for Pomelo.EntityFrameworkCore.MySql and Npgsql in Entity Framework Core Mode.
- Added new options "Private setter for store generated properties" and "Constructor parameter" to Model Settings.
LINQ to SQL support
- Added a new option "Read-only computed columns" to Model Settings.
Leistungsstarkes Tool für Entity Framework, EF Core, NHibernate und LINQ to SQL.
Sie haben eine Frage?
Live-Chat mit unseren Devart-Lizenzierungs-Spezialisten.
Offizieller Händler seit 2005