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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:59:36+00:00 2026-06-01T22:59:36+00:00

I am confused.Please guide me anyone. Is it mandatory to use any ORM tools(EF

  • 0

I am confused.Please guide me anyone.

Is it mandatory to use any ORM tools(EF or Linq2SQL) when building an application in MVVM pattern?

Right now my application returns dataset using straight queries to like “select * from table”

Can I use dataset/datatable to List and then observable collection?or we need to have EF or L2S.

I am confused to kick start in MVVM

  • 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-06-01T22:59:37+00:00Added an answer on June 1, 2026 at 10:59 pm

    There’s no reason you can’t build your own Model layer, if that’s what you want to do. The nice thing about modern design patterns is that they are generally agnostic toward what you use to fill each part.

    I would build specific, separated classes for all your data access code, to keep that first M separate.

    An overarching principle of patterns like MVVM and MVC are to separate your various concerns. This helps in so many ways – including, specifically, to support your ability to use your own data access (Model) while using the general pattern.

    Ideally, you would write your code such that if you decided to move to Entity Framework in the future, you could do so without much change in the rest of the code. Rather – without any change in the rest of the code.

    You can write your data access using the Repository pattern, using your custom classes that execute your hand-written SQL and produce classes that your View and ViewModel can deal with. With the Repository being the main place where your other code interacts, if you switch to EF or anything else in the future, you know you don’t have to change any of your View or ViewModel code.

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

Sidebar

Related Questions

Can anyone help me out please? I'm confused. I want to set up my
I'm little confused with Cactus and mock objects (jMock, Easy mock). Could anyone please
Can anyone explain this to me please (I'm getting so confused) i have a
i am very confused please help to clarify these differences! are they all completely
Please help me out here because im getting kind of confused.. I have a
I am getting a little confused and need some help please. Take these two
I'm a bit confused about the object references. Please check the examples below: class
I'm a little confused on Xlib programming now. I started to use dwm (a
Please guide me how can I find a particular div using jQuery for following
I am confused about Xcode4's capability to run Application Tests in iOS Simulator. On

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.