I am working on WPF client applcation. I never seen anybody using ORM in client side.
I am putting here some analysis of using ORM in client vs server application.
-
By default it is Lazy. This means, till the query executes first time nothing happens but after that query is cached. Now this can be understood in server apps, but clientside is started frequently so can I use eager loading in client application?
-
If dll is tampered, will it be easy for the hacker to find the data as he can see all database structure right away?
-
Any other implications while using ORM in client side?
Thanks,
Omkar
1) both EF and nhibernate can be set to eager
2) nto tampered with dll, but both have pipline type designs so code could be inserted into pipline – for instance EF/Nhibernate profilers do this
3) Client side should not be so different – we have used EF, server / client and found no differences