Skip to content

Commit d3b0716

Browse files
committed
react to obsoleted method
1 parent 60df827 commit d3b0716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/EFCore.OData.FunctionalTests/Query/NorthwindODataQueryTestFixture.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public bool AppliesToAction(ODataControllerActionContext context)
8080
{
8181
var keys = new Dictionary<string, string> { { "OrderID", "{keyOrderId}" }, { "ProductID", "{keyProductId}" } };
8282

83-
var keyTemplate = new KeySegmentTemplate(keys, entitySet.EntityType(), entitySet);
83+
var keyTemplate = new KeySegmentTemplate(keys, entitySet.EntityType, entitySet);
8484

8585
var path = new ODataPathTemplate(route, keyTemplate);
8686
context.Action.AddSelector("get", context.Prefix, context.Model, path, context.Options.RouteOptions);

0 commit comments

Comments
 (0)