Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 08, 2011 07:08 AM by sudeep_13
Member
47 Points
77 Posts
Dec 07, 2011 01:08 PM|LINK
Hello,
we will be developing a new website in asp.net , need to know the best approach for DAL layer as database will be sql server 2008.
I mean like sqlhelper.cs class files from MDatablocks.
A generic aaproach to call SP send param and send query.
Contributor
3854 Points
691 Posts
Dec 07, 2011 01:53 PM|LINK
Have you considered Entity Framework? I personally was a bit sceptical at first, but to be honest - I woudn't choose anything else at the moment.
Dec 08, 2011 06:10 AM|LINK
could you please provide some reference urls and examples on usage.
thanks for the guidance.
2549 Points
512 Posts
Dec 08, 2011 07:08 AM|LINK
Hi,
Please find below links
http://msdn.microsoft.com/en-us/data/aa937723
http://www.simple-talk.com/dotnet/.net-framework/entity-framework-4460---learn-to-create-databases-from-the-model/
http://www.hanselman.com/blog/SimpleCodeFirstWithEntityFramework4MagicUnicornFeatureCTP4.aspx
Giro
Member
47 Points
77 Posts
DAL layer for new project in asp.net 4.0
Dec 07, 2011 01:08 PM|LINK
Hello,
we will be developing a new website in asp.net , need to know the best approach for DAL layer as database will be sql server 2008.
I mean like sqlhelper.cs class files from MDatablocks.
A generic aaproach to call SP send param and send query.
vytautas.ziu...
Contributor
3854 Points
691 Posts
Re: DAL layer for new project in asp.net 4.0
Dec 07, 2011 01:53 PM|LINK
Have you considered Entity Framework? I personally was a bit sceptical at first, but to be honest - I woudn't choose anything else at the moment.
Giro
Member
47 Points
77 Posts
Re: DAL layer for new project in asp.net 4.0
Dec 08, 2011 06:10 AM|LINK
could you please provide some reference urls and examples on usage.
thanks for the guidance.
sudeep_13
Contributor
2549 Points
512 Posts
Re: DAL layer for new project in asp.net 4.0
Dec 08, 2011 07:08 AM|LINK
Hi,
Please find below links
http://msdn.microsoft.com/en-us/data/aa937723
http://www.simple-talk.com/dotnet/.net-framework/entity-framework-4460---learn-to-create-databases-from-the-model/
http://www.hanselman.com/blog/SimpleCodeFirstWithEntityFramework4MagicUnicornFeatureCTP4.aspx
Please mark the post as "Answer" if it helps you.