-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* v5.13.1 - *Fixed:* Model code-generation corrected to explicitly output `Newtonsoft.Json.JsonIgnore`. - *Fixed:* Entity and model templates updated to correctly generate the `PrimaryKey` where the property is reference data. - *Fixed:* Upgraded dependencies. * Common and Dictionary fixes. * Operation.DataSvcCustom changes. Version now v15.14.0 given changes. * `ICacheKey` support. * CoreEx fix to correct failing test. * OnRamp long vs decimal fix.
- Loading branch information
Showing
54 changed files
with
487 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
samples/Demo/Beef.Demo.Business/Data/Model/Generated/RefDataPrimaryKey.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* This file is automatically generated; any changes will be lost. | ||
*/ | ||
|
||
#nullable enable | ||
#pragma warning disable | ||
|
||
namespace Beef.Demo.Business.Data.Model | ||
{ | ||
/// <summary> | ||
/// Represents the Ref Data Primary Key model. | ||
/// </summary> | ||
public partial class RefDataPrimaryKey : IPrimaryKey | ||
{ | ||
/// <summary> | ||
/// Gets or sets the Key1 code. | ||
/// </summary> | ||
public string? Key1 { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the Other. | ||
/// </summary> | ||
public string? Other { get; set; } | ||
|
||
/// <summary> | ||
/// Creates the primary <see cref="CompositeKey"/>. | ||
/// </summary> | ||
/// <returns>The primary <see cref="CompositeKey"/>.</returns> | ||
/// <param name="key1">The <see cref="Key1"/>.</param> | ||
public static CompositeKey CreatePrimaryKey(string? key1) => CompositeKey.Create(key1); | ||
|
||
/// <summary> | ||
/// Gets the primary <see cref="CompositeKey"/> (consists of the following property(s): <see cref="Key1"/>). | ||
/// </summary> | ||
[JsonIgnore] | ||
public CompositeKey PrimaryKey => CreatePrimaryKey(Key1); | ||
} | ||
} | ||
|
||
#pragma warning restore | ||
#nullable restore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Beef.Demo.Business.DataSvc | ||
{ | ||
public partial class RobotDataSvc | ||
{ | ||
private Task<Result<Robot?>> GetOnImplementationAsync(Guid id) => _data.GetAsync(id); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.