You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When lots of rows are in-memory, calculating foreign key relationships can become very slow. Adding indexes to the EntitySet would greatly help performance in those situations.
This work item was migrated from CodePlex
CodePlex work item ID: '6'
Vote count: '3'
The text was updated successfully, but these errors were encountered:
[danneesset@2013-11-03]
It looks like the EntitySets already have an internal dictionary for looking up entities which should provide usable.
EntitySet currently have a method " internal Entity GetEntityByKey(object[] keyValues)" which can be used to retreive an entity given it's key. Internally all entitites seems to be stored by key in a variable called "_identityCache".
It should be quite easy to use this functionallity for foreign key relationships, but I think it would also be of use if there was a public API for this.
When lots of rows are in-memory, calculating foreign key relationships can become very slow. Adding indexes to the EntitySet would greatly help performance in those situations.
This work item was migrated from CodePlex
CodePlex work item ID: '6'
Vote count: '3'
The text was updated successfully, but these errors were encountered: