Impact of Gen-AI on IT Jobs - Growth Mindset Show
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
iOS
Java
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
3
Reply
What is Model in MVC ?
Arvind Nigam
9y
1.2k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
Model is the business logic contained in the project in the form of a class. A Model class contains properties and other variables which can be utilized in generating a VIEW with all the CRUD related information for objects contained. Database connections can also be established in MODEL with database first approach of creating a model. It will create ORM to work with Database as a CLASS.
Sai Hariharan Krishnakumar
8y
0
model is nothing but just class
Ravi Patel
9y
0
Many people get confuse about that what is actually the Model in MVC framework. I tell you this is just a class nothing more than that. You need to write the classes altogether only to make it a Model which in-turns works with the controller to display the view as per required input.Model used by : Users - What data will they be interacting with? and MVC - Input controls -Display formatting -Validations
Arvind Nigam
9y
0
Message