-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LoadObjectListFnAsync with the specified orderBy field names.
- Loading branch information
o.nadymov
committed
Dec 29, 2024
1 parent
9670b68
commit 041ffd0
Showing
8 changed files
with
106 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using CIS.Service.Client.Models; | ||
|
||
namespace CIS.Service.Client.Tests.Models | ||
{ | ||
public class FnOrderByInfo | ||
{ | ||
public string FuncName { get; set; } | ||
|
||
public string OrderByFields { get; set; } | ||
|
||
public List<WebValue> Args { get; set; } | ||
} | ||
} |
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
32 changes: 32 additions & 0 deletions
32
src/CIS.Service.Client/Models/WebLoadingFnOrderByCriteria.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,32 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
namespace CIS.Service.Client.Models | ||
{ | ||
/// <summary> | ||
/// The container with full information for loading data from table valued functions with the specified orderBy field names with unnamed arguments. | ||
/// </summary> | ||
public class WebLoadingFnOrderByCriteria : WebLoadingSPCriteria | ||
{ | ||
/// <summary> | ||
/// Default constructor. | ||
/// </summary> | ||
public WebLoadingFnOrderByCriteria() | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Constructor with parameters. | ||
/// </summary> | ||
public WebLoadingFnOrderByCriteria(string storedProcedureName, string orderByFieldNames, object[] args) | ||
: base(storedProcedureName, args) | ||
{ | ||
OrderByFieldNames = orderByFieldNames; | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets the orderBy field names. | ||
/// </summary> | ||
[JsonPropertyName("OrderByFieldNames")] | ||
public string OrderByFieldNames { get; set; } | ||
} | ||
} |
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