Skip to content

Commit 86696b1

Browse files
committed
Reverted back to original form.
1 parent 5d56c1d commit 86696b1

File tree

1 file changed

+5
-36
lines changed

1 file changed

+5
-36
lines changed

Templates/CSharp/Requests/EntityCollectionRequestBuilder.cs.tt

Lines changed: 5 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -19,45 +19,14 @@ namespace <#=this.GetNamespaceName(prop.Class.AsOdcmClass())#>
1919

2020
<#=this.GetCollectionClassDefinition(prop)#>
2121
{
22-
<#
23-
if (collectionRequestBuilderConstructor.Length > 0)
24-
{
25-
#>
26-
<#=collectionRequestBuilderConstructor#>
27-
<#
28-
}
29-
#><#
30-
if (collectionRequestMethod.Length > 0)
31-
{
32-
#>
22+
<#=this.GetCollectionRequestBuilderConstructor(prop)#>
3323

34-
<#=collectionRequestMethod#>
35-
<#
36-
}
37-
#><#
38-
if (collectionRequestMethodWithOptions.Length > 0)
39-
{
40-
#>
24+
<#=this.GetCollectionRequestMethod(prop)#>
4125

42-
<#=collectionRequestMethodWithOptions#>
43-
<#
44-
}
45-
#><#
46-
if (collectionIndexRequestBuilder.Length > 0)
47-
{
48-
#>
26+
<#=this.GetCollectionRequestMethodWithOptions(prop)#>
4927

50-
<#=collectionIndexRequestBuilder#>
51-
<#
52-
}
53-
#><#
54-
if (methodProperties.Length > 0)
55-
{
56-
#>
28+
<#=this.GetCollectionIndexRequestBuilder(prop)#>
5729

58-
<#=methodProperties#>
59-
<#
60-
}
61-
#>
30+
<#=this.GetMethodProperties(prop.Projection.Type.AsOdcmClass(), true) #>
6231
}
6332
}

0 commit comments

Comments
 (0)