Skip to content

Commit

Permalink
Update DupNames expected code
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Winterstein authored and Greg Winterstein committed Jun 6, 2023
1 parent c19166b commit 1ea61b8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Namespace DupNames
Public Sub New(ByVal serviceRoot As Global.System.Uri)
Me.New(serviceRoot, Global.Microsoft.OData.Client.ODataProtocolVersion.V4)
End Sub

''' <summary>
''' Initialize a new EntityContainer object.
''' </summary>
Expand Down Expand Up @@ -221,23 +222,23 @@ Namespace DupNames
MyBase.New(query)
End Sub
''' <summary>
''' There are no comments for DupPropertyName in the schema.
''' There are no comments for DupPropertyName1 in the schema.
''' </summary>
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")> _
<Global.Microsoft.OData.Client.OriginalNameAttribute("dupPropertyName")> _
Public Overridable ReadOnly Property DupPropertyName() As Global.Microsoft.OData.Client.DataServiceQuery(Of DupNames.DupWithTypeName1)
Public Overridable ReadOnly Property DupPropertyName1() As Global.Microsoft.OData.Client.DataServiceQuery(Of DupNames.DupWithTypeName1)
Get
If Not Me.IsComposable Then
Throw New Global.System.NotSupportedException("The previous function is not composable.")
End If
If (Me._DupPropertyName Is Nothing) Then
Me._DupPropertyName = Context.CreateQuery(Of DupNames.DupWithTypeName1)(GetPath("dupPropertyName"))
If (Me._DupPropertyName1 Is Nothing) Then
Me._DupPropertyName1 = Context.CreateQuery(Of DupNames.DupWithTypeName1)(GetPath("dupPropertyName"))
End If
Return Me._DupPropertyName
Return Me._DupPropertyName1
End Get
End Property
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")> _
Private _DupPropertyName As Global.Microsoft.OData.Client.DataServiceQuery(Of DupNames.DupWithTypeName1)
Private _DupPropertyName1 As Global.Microsoft.OData.Client.DataServiceQuery(Of DupNames.DupWithTypeName1)
End Class
''' <summary>
''' There are no comments for DupWithTypeName in the schema.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public EntityContainer(global::System.Uri serviceRoot) :
this(serviceRoot, global::Microsoft.OData.Client.ODataProtocolVersion.V4)
{
}

/// <summary>
/// Initialize a new EntityContainer object.
/// </summary>
Expand Down Expand Up @@ -240,27 +241,27 @@ public DupWithTypeNameSingle(global::Microsoft.OData.Client.DataServiceQuerySing
: base(query) { }

/// <summary>
/// There are no comments for DupPropertyName in the schema.
/// There are no comments for DupPropertyName1 in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("dupPropertyName")]
public virtual global::Microsoft.OData.Client.DataServiceQuery<global::DupNames.DSC.DupWithTypeName1> DupPropertyName
public virtual global::Microsoft.OData.Client.DataServiceQuery<global::DupNames.DSC.DupWithTypeName1> DupPropertyName1
{
get
{
if (!this.IsComposable)
{
throw new global::System.NotSupportedException("The previous function is not composable.");
}
if ((this._DupPropertyName == null))
if ((this._DupPropertyName1 == null))
{
this._DupPropertyName = Context.CreateQuery<global::DupNames.DSC.DupWithTypeName1>(GetPath("dupPropertyName"));
this._DupPropertyName1 = Context.CreateQuery<global::DupNames.DSC.DupWithTypeName1>(GetPath("dupPropertyName"));
}
return this._DupPropertyName;
return this._DupPropertyName1;
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::Microsoft.OData.Client.DataServiceQuery<global::DupNames.DSC.DupWithTypeName1> _DupPropertyName;
private global::Microsoft.OData.Client.DataServiceQuery<global::DupNames.DSC.DupWithTypeName1> _DupPropertyName1;
}
/// <summary>
/// There are no comments for DupWithTypeName in the schema.
Expand Down

0 comments on commit 1ea61b8

Please sign in to comment.