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

  • SEARCH
  • Home
  • 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 405165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:22:31+00:00 2026-05-12T17:22:31+00:00

Does LINQ substitute the presentation model? I read in the book ASP.NET MVC in

  • 0

Does LINQ substitute the presentation model?

I read in the book “ASP.NET MVC in Action” about presentation models.

I wonder why to build a presentation model?!

For instance, projecting a domain object (entity) by creating a new class at runtime via LINQ is in my opinion more comfortable than creating dozens of presentation objects.

So what do you think? Maybe someone of you use both 😮

Technologies I would prefere are ASP.NET MVC and NHibernate with LINQ or the Entity Framework.

  • 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-12T17:22:31+00:00Added an answer on May 12, 2026 at 5:22 pm

    Linq does not substitute for the presentation model. Nor does Linq to SQL, if that is what you are referring to (which it probably is). Rather, Linq to SQL maps database tables to C# or VB classes, so that you can work with the data directly in your code.

    A presentation model (or View Model in ASP.NET MVC) is a code class that is used to decouple your view from the data model or business classes. The View Model allows you to put things like validation and view logic into it, without it cluttering up your view.

    Remember that Domain-Driven-Design (DDD) at its core is really just a method for establishing a common vocabulary (the “ubiquitous language”) between you and your customer so that the process of design is made easier and more accurate.

    Be sure you check out the NerdDinner tutorial at nerddinnerbook.s3.amazonaws.com/Intro.htm. View Models are discussed in detail at nerddinnerbook.s3.amazonaws.com/Part6.htm

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a ASP.NET MVC application and I have used Linq-to-SQL queries to get
I'm reading Apress Pro ASP.NET MVC Framework and there are some LINQ to SQL
Does LINQ model the aggregate SQL function STDDEV() (standard deviation)? If not, what is
Does LINQ to SQL work in connected environment or disconnected environment? I mean if
Below linq query does not work, because the subquery line. if comment the subquery
Hello everybody my linq to sql selection does not working on dateTime field for
With LINQ To SQL, how/when does the process map your object/entity to your table?
What does it actually mean by the term Entity in LINQ? What is the
Any ideas why does the entity framework in LINQ gives following strange error: Unable
I have the following LINQ Select which does not work. Data.Select(d => d.Value.IsDirty =

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.