V
vze1r2ht
I have a UserCollection that contains User objects that map to a User
table.
There could be potentially, 50-100K users in the table.
Should I load all the users into a Cache and just read/write from
there? (Everytime a write is made, it also writes to the DB). If I do
so, will it be memory efficient?
Also for filtering a collection, is there a way to have multiple
filters like DataTable.Select can?
Like very complex ones like (AND ID = 1 OR ID = 2) AND Admin = True etc.
table.
There could be potentially, 50-100K users in the table.
Should I load all the users into a Cache and just read/write from
there? (Everytime a write is made, it also writes to the DB). If I do
so, will it be memory efficient?
Also for filtering a collection, is there a way to have multiple
filters like DataTable.Select can?
Like very complex ones like (AND ID = 1 OR ID = 2) AND Admin = True etc.