Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement