No more than by abstracting your SQL to a database access layer and using command parameters

Maurice O'Ptey

On 17 Feb 2010, at 16:00, Mike <koldark@xxxxxxxxx> wrote:

But is there some protection by using LINQ from SQL injections? It seems
like it to me.

--
Mike Wills
http://mikewills.info
P: (507) 933-0880 | Skype: koldark


On Wed, Feb 17, 2010 at 9:02 AM, Walden H. Leverich <WaldenL@xxxxxxxxxxxxxxx
wrote:

I have played with the LINQ to DataSet stuff, but to me
it didn't seem any more simple than doing regular SQL queries.

One of the claimed advantages is that you get compile-time checking of the
syntax of your linq query so you can know about syntax errors earlier in the
process. However, if I'm writing a sql statement I'm (probably :-) going to
test is as soon as I write it by running the program, so I'll know about
errors right away anyway -- so I'm with you, doesn't make sense to me.

Now linq to objects, that does make some sense, when I have a List<T> and I
want some subset of that list for an action linq is great -- especially when
the subset is more complicated than FindAll() can manage simply.

-Walden

--
Walden H Leverich III
Tech Software &
BEC - IRBManager
(516) 627-3800 x3051
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com
http://www.IRBManager.com

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)

--
This is the .net use with the System i (SystemiDotNet) mailing list
To post a message email: SystemiDotNet@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/systemidotnet
or email: SystemiDotNet-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/systemidotnet.

--
This is the .net use with the System i (SystemiDotNet) mailing list
To post a message email: SystemiDotNet@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/systemidotnet
or email: SystemiDotNet-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/systemidotnet.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.