This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
When creating new entities, the default Id seems to be 0. I want to use them in a mock repository (interface) and make it so when you search the repository by id it shold return the given entity. Is there a way of setting the entity Id using reflection? Thanks for any answer. |
|
|
See the Mindscape.LightSpeed.Testing namespace in the API docs, and particularly the EntityFactory class. |
|