Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting data from SQL Server
Message
 
 
À
02/01/2012 18:18:55
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01532046
Message ID:
01532093
Vues:
32
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform