Functions v3: Can't bind Table to type System.Linq.IQueryable
See original GitHub issueHitting this issue while trying to follow Azure Table storage bindings for Azure Functions - IQueryable.
Repro steps
Provide the steps required to reproduce the problem
- Unzip attached FunctionApp3.zip
- Open in Visual Studio and debug.
See binding errors:
[30/06/2020 15:52:37] Microsoft.Azure.WebJobs.Host: Error indexing method 'Function1'. Microsoft.Azure.WebJobs.Extensions.Storage: Can't bind Table to type 'System.Linq.IQueryable`1[FunctionApp3.MyPoco]'.
[30/06/2020 15:52:37] Error indexing method 'Function1'
[30/06/2020 15:52:37] Microsoft.Azure.WebJobs.Host: Error indexing method 'Function1'. Microsoft.Azure.WebJobs.Extensions.Storage: Can't bind Table to type 'System.Linq.IQueryable`1[FunctionApp3.MyPoco]'.
[30/06/2020 15:52:37] The 'Function1' function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method 'Function1'. Microsoft.Azure.WebJobs.Extensions.Storage: Can't bind Table to type 'System.Linq.IQueryable`1[FunctionApp3.MyPoco]'.
Expected behavior
I would expect it to start debugging and be able to access the table rows from the function binding.
Actual behavior
As described above, the debug console shows binding errors.
Known workarounds
I currently do not know of any. Suggestions welcome.
Related information
I have seen a few issues related to this. But they are V2 and the function project I have attached has <AzureFunctionsVersion>v3</AzureFunctionsVersion>
. So I believe this is a new/different issue.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Table Attribute binding not working when using IQueryable ...
I am new to azure functions and table storage. But can not get the samples to work properly. the functions are created in...
Read more >User-defined function mapping - EF Core
When translating the LINQ query to SQL, the user-defined function is called instead of the CLR function it has been mapped to.
Read more >Azure Tables input bindings for Azure Functions
Use the Azure Tables input binding to read a table in Azure Cosmos DB for Table or Azure Table Storage. For information on...
Read more >Dixin's Blog - EntityFramework.Functions: Code First ...
Functions library implements Entity Framework code first support for: Stored procedures, with: single result type multiple result types …
Read more >HnD | Custom Linq to LLBLGen functions, Page 1
I would like to sum of a property in a sub table without fetching that subtable. ... As is from last post, with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@realrubberduckdev - Thank you for reporting the issue. This is same as https://github.com/Azure/azure-webjobs-sdk/issues/1566 - binding
IQueryable
is only supported in the Functions V1.Opened: https://github.com/MicrosoftDocs/azure-docs/issues/60812 to track documentation update.
@ThejaChoudary I didn’t have any build errors either. The error is in the console when you started debugging: