EbertB
EbertB

Reputation: 93

MVC Mutilple Tables SQL question. What is the best practice

If my SQL database have around 10 tables I want to use with asp.net MVC. Is it OK to have a model per table and a controller per table or what is the best practice?

Thanks, EB

Upvotes: 0

Views: 31

Answers (1)

BattlFrog
BattlFrog

Reputation: 3397

This tutorial should get you going in the right direction:

https://learn.microsoft.com/en-us/aspnet/mvc/overview/getting-started/introduction/getting-started

Upvotes: 2

Related Questions