Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1838140
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T06:26:27+00:00 2026-05-17T06:26:27+00:00

How do data frameworks such as Linq 2 SQL, ADO.Net Data Entities and DataSets

  • 0

How do data frameworks such as Linq 2 SQL, ADO.Net Data Entities and DataSets relate to the “Model” as defined by .Net MVC.

The reason I ask is I’m trying to learn the ins and outs of the .Net framework without relying on many of the tools that make it easy and hide the workings from you.

The “model” I’m building in my exploratory app is simply PostgreSQL commands to update the database. I’m purposefully not using a data “framework”.

I’m finding that much of the functionality that comes as part of the .Net MVC framework isn’t working for me. Stuff like UpdateModel() and anything related to ModelState doesn’t seem to acknowledge what’s going on.

Is much of that functionality tied to using Linq 2 SQL or ADO.Net Data Entities? If so, that’s fine, I just don’t quite understand the relationship yet.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T06:26:27+00:00Added an answer on May 17, 2026 at 6:26 am

    Basically your “Model” object needs to have a parameterless constructor and public get/set properties for it to function easily with the DefaultModelBinder.

    Tip: I believe that if you fail to define a parameterless constructor, an empty one is inferred for you (just so you don’t freak out: “ahh! i don’t hav a parameterless constructor”).

    So this would generally work fine:

    public class Customer
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public string Number { get; set; }
        public string Email { get; set; }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to create data visualizations in desktop apps, using frameworks, languages and
For data types such as std::set and std::map where lookup occurs in logarithmic time,
Change Data Capture is a new feature in SQL Server 2008. From MSDN: Change
I just learned about how the Java Collections Framework implements data structures in linked
The regular code snippet of syncing data with sync framework is this: LocalDBSyncAgent syncAgent
Entity framework provides great flexibility to update data in the same datacontext Dim personA
To implement data access code in our application we need some framework to wrap
I am designing a simple internal framework for handling time series data. Given that
Data: a dependency list, already verified to be acyclic. So here, 'a' depends on
Data table structure is: id1,id2,id3,id4,... (some other fields). I want to create summary query

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.