-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cosmos: translate indexing into collection #25701
Comments
Related: #16926 |
Really love this package, but without this key feature (and other array functionality), I am very limited and will just have to go back to using the SDK for now |
So because I really enjoy using this package, I wouldn't/couldn't go back to just using the SDK lol. Anyway, I kind of went my own way (and wouldn't expect this to be the best approach) to allow me to switch between EF and the SDK (until all the features I require are available on EF). I realised that EF comes with a So I managed to allow the context to give me a container (without having to do as much work as I would ever do using the SDK) by adding a public property on the defined DbContext class that has a singleton getter (no setter) to get the container :) Database.GetCosmosClient().GetContainer("dbName", "containerName"); This would mostly likely be used for complex queries, not having any issues with commands atm. Would love to not have to go this way, but I don't want to write SQL code to get around this. |
Note from triage: also consider other issues related to primitive collections--see label |
Implements dotnet#25701 for primitive collections Implements dotnet#25700 for primitive collections Largely implements dotnet#25765 Fixes dotnet#33858
Continues dotnet#25765, dotnet#25701 Closes dotnet#17722 Closes dotnet#33904
Continues dotnet#25765, dotnet#25701 Closes dotnet#17722 Closes dotnet#33904
Continues dotnet#25765, dotnet#25701 Closes dotnet#17722 Closes dotnet#33904
Closes dotnet#16926 Closes dotnet#20441 Closes dotnet#25700 Closes dotnet#25701 Closes dotnet#33032
Closes dotnet#16926 Closes dotnet#20441 Closes dotnet#25700 Closes dotnet#25701 Closes dotnet#33032
Closes dotnet#16926 Closes dotnet#20441 Closes dotnet#29497 Closes dotnet#25700 Closes dotnet#25701 Closes dotnet#33032
Closes dotnet#16926 Closes dotnet#20441 Closes dotnet#29497 Closes dotnet#25700 Closes dotnet#25701 Closes dotnet#33032
Note that since we support primitive collections, this should translate on those too.
The text was updated successfully, but these errors were encountered: