2

Possible Duplicate:
How to get ObjectResult from Entity Framework using a list of Identities

NET gurus,

Does anybody know how to create ObjectResult<int> from HashSet<Int> ?
I am writing a unit test for MVC controller and have to override a function:

public ObjectResult<TElement> ExecuteStoreQuery<TElement>(string commandText, 
                                                          params Object[] parameters)

I can create HashSet<TElement> but don’t know how to make it into ObjectResult<TElement>.
Any help would be greatly appreciated.

Community
  • 1
  • 1
PC5000
  • 31
  • 4

0 Answers0