Releases: cezarypiatek/MappingGeneratorReleases
Releases · cezarypiatek/MappingGeneratorReleases
2023.7.64
2023.7.61
What's new:
- Fix issue while generating missing members
2023.7.60
What's new:
- Fix an issue with generating a mapper when one of the sides gets new members
2023.7.58
What's new:
- Fix some issues related to object scaffolding
2023.7.57
What's new:
- Added support for
[JsonProperty]
,[JsonPropertyName]
, and[DataMember]
attributes in Advanced Object Scaffolder
👉 Installer for VS2017 and VS2019
👉 Installer for VS2022
👉 Installer for Rider
🔥 Check out the product page and get access to Premium Features 🔥
2023.3.56
Fixed:
- Disable
TimeOnly
andDateOnly
converters when types are not available
2023.3.55
What's new:
- Added option to change preferred method body style
- Improved method invocation scaffolder (handle lambdas with generic parameters)
- Added more type conversions
From Type | To Type | Conversion Method |
---|---|---|
string |
Guid |
Guid.Parse |
string |
byte[] |
Encoding.UTF8.GetBytes Convert.FromBase64String |
byte[] |
string |
Encoding.UTF8.GetString Convert.ToBase64String |
bool |
byte[] |
BitConverter.GetBytes |
char |
byte[] |
BitConverter.GetBytes |
float |
byte[] |
BitConverter.GetBytes |
double |
byte[] |
BitConverter.GetBytes |
short /ushort |
byte[] |
BitConverter.GetBytes |
int /uint |
byte[] |
BitConverter.GetBytes |
long /ulong |
byte[] |
BitConverter.GetBytes |
byte[] |
bool |
BitConverter.ToBoolean |
byte[] |
char |
BitConverter.ToChar |
byte[] |
float |
BitConverter.ToSingle |
byte[] |
double |
BitConverter.ToDouble |
byte[] |
short /ushort |
BitConverter.ToInt16 BitConverter.ToUInt16 |
byte[] |
int /uint |
BitConverter.ToInt32 BitConverter.ToUInt32 |
byte[] |
long /ulong |
BitConverter.ToInt64 BitConverter.ToUInt64 |
DateTime |
DateOnly |
DateOnly.FromDate |
DateTime |
TimeOnly |
TimeOnly.FromDate |
DateTime |
DateTimeOffset |
value.ToDateTime() |
DateOnly |
DateTime |
DateOnly.FromDate |
DateOnly |
DateTimeOffset |
new DateTimeOffset(value.ToDateTime()) |
DateTimeOffset |
DateTime |
value.DateTime |
DateTimeOffset |
DateOnly |
DateOnly.FromDateTime(value.DateTime) |
TimeSpan |
TimeOnly |
TimeOnly.FromTimeSpan |
TimeOnly |
TimeSpan |
value.ToTimeSpan() |
string |
TimeOnly |
TimeOnly.Parse |
string |
DateOnly |
DateOnly.Parse |
string |
DateTimeOffset |
DateTimeOffset.Parse |
int |
Enum |
switch expression |
string |
Enum |
switch expression |
👉 Installer for VS2017 and VS2019
👉 Installer for VS2022
👉 Installer for Rider
🔥 Check out the product page and get access to Premium Features 🔥
2023.2.54
What's new:
- Add an option to disable code suggestions cezarypiatek/MappingGeneratorIssueTracker#18
- Add an option to switch mapping sides
2023.1.52
What's new:
- Improve suggestions for variable dereference
- Insert auto-generated properties according to order conventions
2023.1.51
What's new:
- Added option to auto-generate missing properties