473,396 Members | 2,018 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

which group appropriate for LINQ questions?

I am trying to find a simple answer to, "if I use LINQ against tables,
must I give the webuser datareader/datawriter permissions in SQL
Server?". I see the question asked repeatedly, but instead of
answering that question the responders always seem to launch into
magnificent speaches about the speed and security of stored procedures
and parameterised queries and their mother's apple pie. I'm not
bitter, though.

If you can tell me which group would be best to post this question, I
would appreciate it. If you can answer my question, I would
appreciate that even more!

Thank you;
Duncan
Sep 26 '08 #1
3 1177
Duncan A. McRae wrote:
I am trying to find a simple answer to, "if I use LINQ against tables,
must I give the webuser datareader/datawriter permissions in SQL
Server?".
Yes.
I see the question asked repeatedly, but instead of
answering that question the responders always seem to launch into
magnificent speaches about the speed and security of stored procedures
and parameterised queries and their mother's apple pie. I'm not
bitter, though.
It's actually pretty simple: LINQ generates ad-hoc queries. This reduces the
question to what you need to do to allow ad-hoc queries, which is a pure DB
question.
If you can tell me which group would be best to post this question, I
would appreciate it. If you can answer my question, I would
appreciate that even more!
Well, I hope that settles that, then.

--
J.
Sep 26 '08 #2
Most appreciated!

On Sep 26, 2:08*pm, Jeroen Mostert <jmost...@xs4all.nlwrote:
Well, I hope that settles that, then.
Sep 26 '08 #3
On Sep 26, 1:58 pm, "Duncan A. McRae" <google....@mcrae.cawrote:
I am trying to find a simple answer to, "if I use LINQ against tables,
must I give the webuser datareader/datawriter permissions in SQL
Server?". I see the question asked repeatedly, but instead of
answering that question the responders always seem to launch into
magnificent speaches about the speed and security of stored procedures
and parameterised queries and their mother's apple pie. I'm not
bitter, though.

If you can tell me which group would be best to post this question, I
would appreciate it. If you can answer my question, I would
appreciate that even more!

Thank you;
Duncan
In this group you most of the time get any question answered. even if
it's out of topic.
Inyuor case I think that it depends of how the app connect to the SQL
server and how the server is configured. If you use win. auth. so yes
the webuser ( OR the user used to run the app ) needs access to the
SQL server.
Sep 26 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
by: rajus | last post by:
I have made a simple program to read the contents of a file.The FILE pointer returns NULL at the very beginning eventhough the file is present.Now if I modify my program and use command line...
2
by: Sean C. | last post by:
Hey All! I've looked through all of the *.java*.* groups on my news server and am having a little trouble deciding where I should post questions that I may have regarding a project that I am...
1
by: Frederik | last post by:
Hi all, Am I correct when stating that LINQ replaces somewhat DataTables? I have done some reading concerning LINQ, but I'm still puzzled as to whether I should use LINQ or not. My application...
1
by: Ilyas | last post by:
Hi all I have a database that contains several tables. Each table has the name data01, data02, data03 etc The column definitions for each table all contains several standard columns and then...
2
by: stephen | last post by:
Hi, I apologize for posting Linq questions here. I wanted to try to work with Linq and found a Linq (May 2006) CTP that can be used with .NET 2005. when I run the msi, i get this message: "A...
9
by: =?Utf-8?B?cmF1bGF2aQ==?= | last post by:
Hi all: after reading different places/sites about linq... I ran into these questions: 1. What framework do we need to run linq ? (does it depend on what version of visual studio we have?) how...
7
by: shapper | last post by:
Hello, Is it possible to multiply all Prices in a List<Productby 1.1 using Linq? Product has a property named Price. Thanks, Miguel
2
by: shapper | last post by:
Hello, I have the following Linq query: List<PostsTaginsert = (from t in (from t in database.Tags join p in paper.Tags on t.Name equals p.Name select t).ToList() select new PostsTag {
4
by: George | last post by:
I am a bit conservative type and usually give some time for technology to mature before starting to try it. Today my question is Linq. To start using it or not. So here is the voting questions....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.