Is writing eSQL database independent or not?

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/09 9:33 UTC
Read the original article Hit count: 412

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

  1. Is writing eSQL actually data store independent code?
    So if we decide to change data store, can the same statements still be used?
  2. Does writing eSQL strings in your code pose any serious security threats similar to writing TSQL statements as plain strings in C# code? That's why SPs are recommended. Could we still move eSQL scripts outside of code 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