@@ -98,7 +98,7 @@ public WhenCallingApplyToWithAGroupedFunctionAndFunction()
98
98
TestHelper . EnsureEDM ( ) ;
99
99
100
100
var queryOptions = new ODataQueryOptions (
101
- new HttpRequestMessage ( HttpMethod . Get , "http://services.microlite.org/odata/Customers?$filter=(endswith(Name, 'son') and endswith(Name, 'nes'))) " ) ,
101
+ new HttpRequestMessage ( HttpMethod . Get , "http://services.microlite.org/odata/Customers?$filter=(endswith(Name, 'son') and endswith(Name, 'nes'))" ) ,
102
102
EntityDataModel . Current . EntitySets [ "Customers" ] ) ;
103
103
104
104
this . sqlQuery = FilterBinder . BindFilter ( queryOptions . Filter , ObjectInfo . For ( typeof ( Customer ) ) , SqlBuilder . Select ( "*" ) . From ( typeof ( Customer ) ) ) . ToSqlQuery ( ) ;
@@ -144,7 +144,7 @@ public WhenCallingApplyToWithAGroupedFunctionOrFunction()
144
144
TestHelper . EnsureEDM ( ) ;
145
145
146
146
var queryOptions = new ODataQueryOptions (
147
- new HttpRequestMessage ( HttpMethod . Get , "http://services.microlite.org/odata/Customers?$filter=(endswith(Name, 'son') or endswith(Name, 'nes'))) " ) ,
147
+ new HttpRequestMessage ( HttpMethod . Get , "http://services.microlite.org/odata/Customers?$filter=(endswith(Name, 'son') or endswith(Name, 'nes'))" ) ,
148
148
EntityDataModel . Current . EntitySets [ "Customers" ] ) ;
149
149
150
150
this . sqlQuery = FilterBinder . BindFilter ( queryOptions . Filter , ObjectInfo . For ( typeof ( Customer ) ) , SqlBuilder . Select ( "*" ) . From ( typeof ( Customer ) ) ) . ToSqlQuery ( ) ;
@@ -1500,7 +1500,7 @@ public WhenCallingBindFilterQueryOptionWithPropertyAddValueEquals()
1500
1500
TestHelper . EnsureEDM ( ) ;
1501
1501
1502
1502
var queryOptions = new ODataQueryOptions (
1503
- new HttpRequestMessage ( HttpMethod . Get , "http://services.microlite.org/odata/Invoices?$filter=Quantity add 10 eq 15' " ) ,
1503
+ new HttpRequestMessage ( HttpMethod . Get , "http://services.microlite.org/odata/Invoices?$filter=Quantity add 10 eq 15" ) ,
1504
1504
EntityDataModel . Current . EntitySets [ "Invoices" ] ) ;
1505
1505
1506
1506
this . sqlQuery = FilterBinder . BindFilter ( queryOptions . Filter , ObjectInfo . For ( typeof ( Invoice ) ) , SqlBuilder . Select ( "*" ) . From ( typeof ( Invoice ) ) ) . ToSqlQuery ( ) ;
@@ -1546,7 +1546,7 @@ public WhenCallingBindFilterQueryOptionWithPropertyDivideValueEquals()
1546
1546
TestHelper . EnsureEDM ( ) ;
1547
1547
1548
1548
var queryOptions = new ODataQueryOptions (
1549
- new HttpRequestMessage ( HttpMethod . Get , "http://services.microlite.org/odata/Invoices?$filter=Quantity div 10 eq 15' " ) ,
1549
+ new HttpRequestMessage ( HttpMethod . Get , "http://services.microlite.org/odata/Invoices?$filter=Quantity div 10 eq 15" ) ,
1550
1550
EntityDataModel . Current . EntitySets [ "Invoices" ] ) ;
1551
1551
1552
1552
this . sqlQuery = FilterBinder . BindFilter ( queryOptions . Filter , ObjectInfo . For ( typeof ( Invoice ) ) , SqlBuilder . Select ( "*" ) . From ( typeof ( Invoice ) ) ) . ToSqlQuery ( ) ;
@@ -1592,7 +1592,7 @@ public WhenCallingBindFilterQueryOptionWithPropertyModuloValueEquals()
1592
1592
TestHelper . EnsureEDM ( ) ;
1593
1593
1594
1594
var queryOptions = new ODataQueryOptions (
1595
- new HttpRequestMessage ( HttpMethod . Get , "http://services.microlite.org/odata/Invoices?$filter=Quantity mod 10 eq 15' " ) ,
1595
+ new HttpRequestMessage ( HttpMethod . Get , "http://services.microlite.org/odata/Invoices?$filter=Quantity mod 10 eq 15" ) ,
1596
1596
EntityDataModel . Current . EntitySets [ "Invoices" ] ) ;
1597
1597
1598
1598
this . sqlQuery = FilterBinder . BindFilter ( queryOptions . Filter , ObjectInfo . For ( typeof ( Invoice ) ) , SqlBuilder . Select ( "*" ) . From ( typeof ( Invoice ) ) ) . ToSqlQuery ( ) ;
@@ -1638,7 +1638,7 @@ public WhenCallingBindFilterQueryOptionWithPropertyMultiplyValueEquals()
1638
1638
TestHelper . EnsureEDM ( ) ;
1639
1639
1640
1640
var queryOptions = new ODataQueryOptions (
1641
- new HttpRequestMessage ( HttpMethod . Get , "http://services.microlite.org/odata/Invoices?$filter=Quantity mul 10 eq 15' " ) ,
1641
+ new HttpRequestMessage ( HttpMethod . Get , "http://services.microlite.org/odata/Invoices?$filter=Quantity mul 10 eq 15" ) ,
1642
1642
EntityDataModel . Current . EntitySets [ "Invoices" ] ) ;
1643
1643
1644
1644
this . sqlQuery = FilterBinder . BindFilter ( queryOptions . Filter , ObjectInfo . For ( typeof ( Invoice ) ) , SqlBuilder . Select ( "*" ) . From ( typeof ( Invoice ) ) ) . ToSqlQuery ( ) ;
@@ -1684,7 +1684,7 @@ public WhenCallingBindFilterQueryOptionWithPropertySubtractValueEquals()
1684
1684
TestHelper . EnsureEDM ( ) ;
1685
1685
1686
1686
var queryOptions = new ODataQueryOptions (
1687
- new HttpRequestMessage ( HttpMethod . Get , "http://services.microlite.org/odata/Invoices?$filter=Quantity sub 10 eq 15' " ) ,
1687
+ new HttpRequestMessage ( HttpMethod . Get , "http://services.microlite.org/odata/Invoices?$filter=Quantity sub 10 eq 15" ) ,
1688
1688
EntityDataModel . Current . EntitySets [ "Invoices" ] ) ;
1689
1689
1690
1690
this . sqlQuery = FilterBinder . BindFilter ( queryOptions . Filter , ObjectInfo . For ( typeof ( Invoice ) ) , SqlBuilder . Select ( "*" ) . From ( typeof ( Invoice ) ) ) . ToSqlQuery ( ) ;
0 commit comments