I have never used the entity framework before and i would like to try some personal projects implementing it to get my feet wet.
I see that entities can be exposed to the presentation layer.
But i don't want certain fields exposed, fields like modified dates and created dates and various other database fields.
how could i implement Business objects and just expose the properties i need but still keep the objects serializable?
Also what advantages does this have over LinqToSql?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…