Skip to content

LucasJuan/Database_First

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Database First Example

This is a sample project illustrating the Database First approach in Entity Framework Core.

Setup

  1. Clone the repository.

  2. Run the following command to scaffold the database context:

    dotnet ef dbcontext scaffold "Data Source=localhost;Initial Catalog=VendasManha;Integrated Security=True" Microsoft.EntityFrameworkCore.SqlServer -o Models -c AppDbContext

    Don't forget to add the packages EntityFrameworkCore.Design, SqlServer, SqlServerDesign, Tools.

  3. Build and run the project.

For any additional instructions or details, refer to the project documentation.


Note: Be sure to customize these instructions according to the specific requirements of your project. Include any additional setup, dependencies, or relevant information so that other developers can understand and use your project.

About

Database First example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published