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 975345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T03:34:17+00:00 2026-05-16T03:34:17+00:00

I didn’t use LINQ to SQL in project, I just went through a hand-on

  • 0

I didn’t use LINQ to SQL in project, I just went through a hand-on lab for Developing Data Access Logic with LINQ, one of the tasks is to create entity translator classes to translate between linq entities and business entities.

I am a little confused about this because I thought the reason we use LINQ to SQL is that it can auto generate LINQ entities for us, we can query/update/insert/delete the entities right away. It would be great if we don’t have to define our own custom entities and bother about the mapping between our entities and LINQ entities. But since the lab define business entities, I know I am wrong.

Can someone tell me in which situation should we define business entities instead of using entites LINQ to SQL right away? What is the benifit of using LINQ to SQL against ADO.Net in this situation? I am looking forward for your answer, thanks a lot in advance!

  • 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-16T03:34:18+00:00Added an answer on May 16, 2026 at 3:34 am

    Using the LINQ entities binds you to your data persistence. For many applications, this is no big deal. But for others, it’s a very bad design.

    For example, if your application exposes an external API for customers to consume, then you don’t want to expose your persistence entities to your customers. Otherwise, if you ever need to change your data model (requirements change, tweaking for performance at a larger scale, etc.) then you’ll also be changing your exposed API.

    For many large and more complex projects, you want to keep a clear separation between business objects and data persistence. This is especially true if the programmers and DBAs are on different teams and do very different things. They should work together on designs, but programming logic and database persistence are different technologies with different advances and limitations. The mapping between them is how they’ll communicate, but one should not be bound by the limitations of the other.

    As others have said, for many smaller projects this isn’t a big deal. If your application is just forms over data, and the data is relatively simple, and that direct relationship isn’t going to change, then the LINQ classes are fine to use.

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

Sidebar

Related Questions

Didn't find any from their website. I mostly just trying to see which one
(please excuse that I didn't use aliases). I would like my query output to
I didn't get the answer to this anywhere. What is the runtime complexity of
I didn't see any similar questions asked on this topic, and I had to
I didn't see the option to point the workspace (or it's VS equivalent, I'm
I didn't upgrade to Vista until May or so and one of the things
I didn't attend PDC 2008, but I heard some news that C# 4.0 is
Why didn't languages such as C end up being using for web dev? Surely
I didn't give a lot of info in my last question. I've built llv8call
Since I didn't do a good job writing the last question, and most of

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.