-
Notifications
You must be signed in to change notification settings - Fork 39
/
EntityIDataSvc_cs.hbs
39 lines (34 loc) · 1.22 KB
/
EntityIDataSvc_cs.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{{! Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef }}
/*
* This file is automatically generated; any changes will be lost.
*/
{{#if Root.PreprocessorDirectives}}
#nullable enable
#pragma warning disable
{{/if}}
namespace {{Root.NamespaceBusiness}}.DataSvc;
/// <summary>
/// Defines the {{{EntityNameSeeComments}}} data repository services.
/// </summary>
public partial interface I{{Name}}DataSvc{{#if GenericWithT}}<T>{{/if}}
{
{{#each IDataSvcOperations}}
{{#unless @first}}
{{/unless}}
/// <summary>
/// {{{SummaryText}}}
/// </summary>
{{#each DataParameters}}
/// <param name="{{ArgumentName}}">{{{SummaryText}}}</param>
{{/each}}
{{#if Root.CancellationToken}}
/// <param name="cancellationToken">The <see cref="CancellationToken"/>.</param>
{{/if}}
{{#if HasReturnValue}}
/// <returns>{{{ReturnText}}}</returns>
{{/if}}
{{{OperationTaskReturnType}}} {{Name}}Async({{#each DataParameters}}{{{ParameterType}}} {{ArgumentName}}{{#unless @last}}, {{/unless}}{{/each}}{{#if Root.CancellationToken}}, CancellationToken cancellationToken = default{{/if}});
{{/each}}
}{{#if Root.PreprocessorDirectives}}
#pragma warning restore
#nullable restore{{/if}}