Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting data from SQL Server
Message
 
 
To
02/01/2012 18:18:55
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01532046
Message ID:
01532093
Views:
33
You mean the other way around, don't you? Database First is recommended for an existing database. Code First creates a database from code. Model First is similar to Code First except you define the EF conceptual model using visual tools. In the latter two approaches the database is created based on the EF model.

>Entity Framework is considered the way to go now, but some devs use NHibernate instead. I suggest you look at Code First Entity Framework rather than Model First since the database is already defined.
>
>>Hi,
>>
>>For years I have been using my ASP.NET application with VFP database (using OleDb driver and OleDbDataAdapter). I have not even looked an ASP.NET book in several years.
>>
>>Now I need to change the code to get the data from SQL Server. The book on ASP.NET I am using was published in 2002. And the example code in the book uses SqlDataAdapter. Is this still the best practice of accessing SQL Server data from an ASP.NET application?
>>
>>TIA.
Previous
Reply
Map
View

Click here to load this message in the networking platform