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
|
I want to create an object for testing (ReportType). ReportType has an identity type of string. IIRC there was some way of setting the Id field without loading a record from the database. Is this the case, and if so, how do I do it. Ta Sean |
|
|
Hi Sean, Check out the Mindscape.LightSpeed.Testing namespace. In there you will find an EntityFactory that will let you create an entity, set an id and also set the entity state if you wish. I hope that helps, John-Daniel Trask |
|