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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:32:25+00:00 2026-05-10T19:32:25+00:00

What is the best way to avoid SQL injection on MSSQL Server from C#

  • 0

What is the best way to avoid SQL injection on MSSQL Server from C# code using Linq?

Should you use a function to strip of security issues or is it handled by the 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. 2026-05-10T19:32:26+00:00Added an answer on May 10, 2026 at 7:32 pm

    Errr, you cant SQL inject using LINQ. Behind the scenes LINQ to SQL converts values into a parameterized query.

    So yes it is handled by the framework.

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

Sidebar

Related Questions

What is the best way to define a fixed-length SQL column (CHAR(12) for instance)
I don't know the best way to ask this, but let me explain the
I have been using SQL CE for a desktop app I am building but
I'm using Hibernate to retrieve some data from a database. The result set returned
I have an existing website developped using ASP.NET MVC 3 and Entity Framework 4
My question is about a high performance way to implement auto-saving in an ASP.NET
Currently I'm working with Zend framework and I need help with Zend_db update in
Part of my database schema involves the entities: Jobs Agencies Agents and relation JobAgent
In an effort to add statistics and tracking for users on my site, I've
Models: class User < ActiveRecord::Base has_many :attendances has_many :courses, :through => :attendances end class

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.