azure-sdk-for-net icon indicating copy to clipboard operation
azure-sdk-for-net copied to clipboard

Migration from Microsoft.Azure.Cosmos.Table and IQueryable

Open keshari opened this issue 2 years ago • 1 comments

Hi Team,

We have a repository code written where Something like

TableEntityResult CreateQuery(Iqueryable query) is there abstracting underlying storage. The current implementation, uses query to build various clauses with where , Take,Top and finally query.AsTableQuery() and then execute it.

As TableQuery is deprecated, what is the way forward? I see the same issue being discussed https://github.com/Azure/azure-sdk-for-net/issues/28389 . But the solution unfortunately https://gist.github.com/xDDDx/368ffdb0b90016bc346970c5b42d7405 does not solve it for us.

keshari avatar Jan 03 '23 09:01 keshari

Thank you for your feedback. Tagging and routing to the team member best able to assist. Please expect delayed responses due to the US holidays.

jsquire avatar Jan 03 '23 13:01 jsquire

Hi @keshari - unfortunately, we don't have any samples for this. That said, Take and Top are both not directly supported natively by the service API, so other than for migration purposes, I wouldn't recommend implementing those in general.

christothes avatar Jan 09 '23 22:01 christothes