I am using ASP.NET MVC, building an ERP with Framework 4.0 and SQL Server 2008.
My question is where should query be placed? I saw multiple methods while surfing. Few of them are as follows:
- In
Models
- In
Separate Files
, that are in DAL Folder - In
Separate DAL
Project
I am still confused about using queries in Models
after research.
Further Info:
I am using simple query method, not Linq
and Entity Framework
.
I have a plan to also convert this project to Desktop Application
in future.
Another Question is that How business Logic
works in ASP.NET MVC
if I use it?
Detail About Project
It is a Website
+ Online Information System
of a Company with around 40-50 pages of both.
User can enter in Info System
by Signing in from website
.
Before Voting to Close Leave a comment so that I can learn something.