System.Data.SQLite

Check-in [09a63cc716]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix another CLR version issue with LINQ entity framework support.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 09a63cc716d5e490be9e8703d683ecd977860b6a
User & Date: mistachkin 2011-07-08 15:36:47.194
Context
2011-07-08
18:27
Skip even building CE projects for non-CE platforms as this seems to cause PDB locking issues for VS during rebuilds even without deployment enabled. check-in: 6b62f68649 user: mistachkin tags: trunk
15:36
Fix another CLR version issue with LINQ entity framework support. check-in: 09a63cc716 user: mistachkin tags: trunk
12:11
Make the assembly attributes for all projects consistent. Also, properly set the assembly configuration attributes based on the actual build configuration. check-in: f9d4491161 user: mistachkin tags: trunk
Changes
Side-by-Side Diff Ignore Whitespace Patch
Changes to System.Data.SQLite.Linq/SQL Generation/SqlChecker.cs.
13
14
15
16
17
18
19







20

21
22
23
24
25
26
27
13
14
15
16
17
18
19
20
21
22
23
24
25
26

27
28
29
30
31
32
33
34







+
+
+
+
+
+
+
-
+








    internal class SqlChecker : DbExpressionVisitor<bool>
  {
    private static Type sql8rewriter;

    static SqlChecker()
    {
        string version =
#if NET_20
            "3.5.0.0";
#else
            "4.0.0.0";
#endif

      sql8rewriter = Type.GetType("System.Data.SqlClient.SqlGen.Sql8ExpressionRewriter, System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", false);
        sql8rewriter = Type.GetType(String.Format("System.Data.SqlClient.SqlGen.Sql8ExpressionRewriter, System.Data.Entity, Version={0}, Culture=neutral, PublicKeyToken=b77a5c561934e089", version), false);
    }

    private SqlChecker()
    {
    }

    /// <summary>