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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T23:19:50+00:00 2026-05-18T23:19:50+00:00

hello guys i need to use pure SQL queries for my database project at

  • 0

hello guys i need to use pure SQL queries for my database project
at the same time i wanna use ASP.net MVC so i can learn a new technology !!!
can i use SQL with ASP.net MVC WITHOUT using ” LINQ to SQL ” ?!
i’m still learning so i’m sorry if it so stupid using things the OLD SCHOOL
but my instructor insists that he want to see a PURE SQL Queries

  • 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-18T23:19:50+00:00Added an answer on May 18, 2026 at 11:19 pm

    Yes. You can use whatever you want for your model layer. Note, you can use raw SQL queries with LINQ To SQL as well.

    Northwnd db = new Northwnd(@"c:\northwnd.mdf");
    IEnumerable<Customer> results = db.ExecuteQuery<Customer>
    (@"SELECT c1.custid as CustomerID, c2.custName as ContactName
        FROM customer1 as c1, customer2 as c2
        WHERE c1.custid = c2.custid"
    );
    

    Or perhaps your instructor wants straight up ADO.NET, which works fine too.
    There is an example here.

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

Sidebar

Related Questions

I am trying to use ExtJS with Asp.Net MVC, and it is going fine
Hello guys: I've loaded my DLL in my project but whenever I use the
Hello guys and thanks for your help as always. I am stuck on Asp.NET
Hello again ladies and gents! OK, following on from my other question on ASP.NET
Hello guys I'm stucked in a point and I need your help. I want
Hello guys i have an website online wich access the database. The database access
Hello guys i'm making a little app in which i need to enumerate all
Hello guys i am developing MVC application, I want to call a action (with
hello guys i need small help in understanding file system of android Now in
Hello guys I am working on silverlight and I have issue regarding on database

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.