Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 - General
»
entity framework database
entity framework database
Rate Topic
Display Mode
Topic Options
Author
Message
sqlfriends
sqlfriends
Posted Monday, March 18, 2013 5:38 PM
SSCommitted
Group: General Forum Members
Last Login: Yesterday @ 6:13 PM
Points: 1,610,
Visits: 2,794
We are going to develop a new .net application that we think we may use entity framework model.
And as I understand it can generate code like insert, update but not use stored procedures.
Can anyone recommend articles or tutorial of how to develop the model and also database development cycle.
and pros and cons by using insert, update in code in this model instead of using stored procedures
Thanks
Post #1432409
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Monday, March 18, 2013 6:16 PM
SSC-Dedicated
Group: Administrators
Last Login: Today @ 12:01 PM
Points: 31,435,
Visits: 13,750
You absolutely can use stored procedures:
http://msdn.microsoft.com/en-us/data/gg699321.aspx
Personally I'd recommend building a good data model and database first, then point EF at it. However I'd search around for what other people have done as well and make an educated decision for your environment and goals.
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #1432419
matak
matak
Posted Monday, March 18, 2013 8:23 PM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Sunday, May 05, 2013 7:23 PM
Points: 133,
Visits: 1,060
We found a full EF was way overkill for what we wanted.
We decided to go for a lightweight alternative in PetaPoco.
Before you go down the EF route make sure it is something that you really do require.
How we use it is basically create the webservices and point them to stored procs for all the CRUD (create read update delete) operations - works quite well.
Post #1432438
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.