New Posts New Posts RSS Feed: Code First Webinar
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Code First Webinar

 Post Reply Post Reply
Author
Vonzkie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 01-Aug-2011
Location: PH
Posts: 133
Post Options Post Options   Quote Vonzkie Quote  Post ReplyReply Direct Link To This Post Topic: Code First Webinar
    Posted: 29-Feb-2012 at 5:05pm
Hi,

This is in relation to the Webinar last week http://drc.ideablade.com/xwiki/bin/view/Documentation/code-first-aop

Just want to ask some questions:

1. How to do you set connection string in Code First Approach?
2. Is IDataSourceKeyResolver still applicable here?
3. How do we map code first entities to an existing database (I understand based on the EF4 tutorials that it generates a database by default)?

Thanks,
Von
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 02-Mar-2012 at 5:16pm
Hi Von,

For 1 and 2, I'm going to point you the following topics in our DRC.



3. There's really nothing special to do here. You just write your Code First model, and then set your connection string to an existing database. Additionally in DevForce, we provide CodeSecond that allows you to initially generate a Code First model from the existing database.

Hope this helps.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down