Thursday, November 4, 2010

SilverLight Develpers Guide to Entity Framework

SilverLight Develpers  Guide to Entity Framework - Ward Bell
Askward@ideablade.com

Used to Shape data to our object oriented development needs.  The “database backend” for our SilverLight business apps.  No direct road gtom EF to SL.  EDM is Entity Data Model.  Edmx isxml version of entity model.  Use T4 templates to bring data forward.  Connection string needs to be same as app.config for model (in web.config). Deals with complex types (select multiple fields from model and say generate complex type).  Cant Name type same name as field in type.  Supports Inheritance, but be wary of using it can be a performance killer,(table per type and table per content) Table per hierarchy is ok. Need to make a partial class to call inherited classes.

He was a much better speaker than his last talk I was at

No comments:

Post a Comment