Hi all,
Is it possible (in adapter mode) to fetch an entity like this
UserAliasEntity userAliasEntity = new UserAliasEntity(domainName,userName);
adapter.FetchEntity(userAliasEntity);
DomainName and UserName are a unique key on the database, the only way I know to do that is using the entity collection, and take the fist record that is found.
But, because it will always find one or none records, I think this is not the best way to do this (it does not seems logical)
Is there any way to generate entity classes where you can pass the unique keys in the constructor?
This would make my coding mutch easier.
Kind Regards,
Sam