Is writing eSQL database agnostic?

Posted by Robert Koritnik on Stack Overflow See other posts from Stack Overflow or by Robert Koritnik
Published on 2010-04-06T22:45:01Z Indexed on 2010/04/06 22:53 UTC
Read the original article Hit count: 545

Using EF we can use LINQ to read data which is rather simple (especialy using fluent calls), but we have less control unless we write eSQL on our own.

  1. Is writing eSQL database actually data store independant code?
    So if we decide to change data store, can the same statements still be used?
  2. Is writing eSQL strings in your code pose any serious security threats similar to writing TSQL statements in plain strings?
    So we moved to SPs. Could we still mode eSQL scripts outside of code as well and use some other technique to make them a bit more secure?

© Stack Overflow or respective owner

Related posts about entity-framework

Related posts about linq-to-entities