Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 6: Data Transfer Objects (DTOs)
Posted by: Brad Abrams,
on 17 Jul 2009 |
View original | Bookmarked: 0 time(s)
I have gotten some great questions on my series so far A couple of readers noted that it was not always a good idea to return DAL types back to the client. For example, in Part 2, I returned the SuperEmployee type defined by Entity Framework.
For example, if you change your backed from EF to NHibernate to their might be some effect of that in the client projection. I can also more easily control exactly how the entity looks to the client. ...