Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Explicitly add support for the .NET Framework 4.5 to the managed compile-time defines. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
c008d0ccd68741bbc249e792b5fc432f |
User & Date: | mistachkin 2012-09-20 12:04:39.491 |
Context
2012-09-20
| ||
12:09 | Fix missed instance of needing the additional .NET Framework 4.5 check. check-in: 1ed5f5dff6 user: mistachkin tags: trunk | |
12:04 | Explicitly add support for the .NET Framework 4.5 to the managed compile-time defines. check-in: c008d0ccd6 user: mistachkin tags: trunk | |
11:53 | Allow opened connections to skip adding the extension functions included in the interop assembly. Support loading of SQLite extensions. Add more notifications that use the new static Changed event. Miscellaneous comment cleanup. Cleanup usage of compile-time options for the .NET Framework version. Fix argument checking for the batch file tools. check-in: 5759e099be user: mistachkin tags: trunk | |
Changes
Changes to Membership/SQLiteProvider.2012.csproj.
︙ | ︙ | |||
14 15 16 17 18 19 20 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProjectGuid>{1B7C6ACE-35AA-481C-9CF6-56B702E3E043}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>SQLiteProvider</RootNamespace> <AssemblyName>SQLiteProvider</AssemblyName> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> | | | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProjectGuid>{1B7C6ACE-35AA-481C-9CF6-56B702E3E043}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>SQLiteProvider</RootNamespace> <AssemblyName>SQLiteProvider</AssemblyName> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <NetFx45>true</NetFx45> <ConfigurationYear>2012</ConfigurationYear> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> </PropertyGroup> |
︙ | ︙ |
Changes to SQLite.Designer/SQLite.Designer.2012.csproj.
︙ | ︙ | |||
14 15 16 17 18 19 20 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProjectGuid>{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>SQLite.Designer</RootNamespace> <AssemblyName>SQLite.Designer</AssemblyName> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> | | | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProjectGuid>{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>SQLite.Designer</RootNamespace> <AssemblyName>SQLite.Designer</AssemblyName> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <NetFx45>true</NetFx45> <ConfigurationYear>2012</ConfigurationYear> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <Import Project="$(SQLiteNetDir)\SQLite.NET.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> |
︙ | ︙ |
Changes to System.Data.SQLite.Linq/SQL Generation/InternalBase.cs.
1 2 3 4 5 6 7 8 9 | /******************************************************** * ADO.NET 2.0 Data Provider for SQLite Version 3.X * Written by Robert Simpson (robert@blackcastlesoft.com) * * Released to the public domain, use at your own risk! ********************************************************/ using System.Text; | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | /******************************************************** * ADO.NET 2.0 Data Provider for SQLite Version 3.X * Written by Robert Simpson (robert@blackcastlesoft.com) * * Released to the public domain, use at your own risk! ********************************************************/ using System.Text; #if NET_40 || NET_45 using System.Runtime; #endif namespace System.Data.SQLite { internal abstract class InternalBase { // Methods #if NET_40 || NET_45 [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] #endif protected InternalBase() { } internal abstract void ToCompactString(StringBuilder builder); internal virtual string ToFullString() { StringBuilder builder = new StringBuilder(); this.ToFullString(builder); return builder.ToString(); } #if NET_40 || NET_45 [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] #endif internal virtual void ToFullString(StringBuilder builder) { this.ToCompactString(builder); } |
︙ | ︙ |
Changes to System.Data.SQLite.Linq/SQL Generation/KeyToListMap.cs.
1 2 3 4 5 6 7 8 9 10 11 12 | /******************************************************** * ADO.NET 2.0 Data Provider for SQLite Version 3.X * Written by Robert Simpson (robert@blackcastlesoft.com) * * Released to the public domain, use at your own risk! ********************************************************/ using System.Collections.Generic; using System.Text; using System.Collections.ObjectModel; using System.Collections; | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | /******************************************************** * ADO.NET 2.0 Data Provider for SQLite Version 3.X * Written by Robert Simpson (robert@blackcastlesoft.com) * * Released to the public domain, use at your own risk! ********************************************************/ using System.Collections.Generic; using System.Text; using System.Collections.ObjectModel; using System.Collections; #if NET_40 || NET_45 using System.Runtime; #endif namespace System.Data.SQLite { internal class KeyToListMap<TKey, TValue> : InternalBase { |
︙ | ︙ | |||
115 116 117 118 119 120 121 | { return this.m_map.Keys; } } internal IEnumerable<KeyValuePair<TKey, List<TValue>>> KeyValuePairs { | | | 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | { return this.m_map.Keys; } } internal IEnumerable<KeyValuePair<TKey, List<TValue>>> KeyValuePairs { #if NET_40 || NET_45 [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] #endif get { return this.m_map; } } } } |
Changes to System.Data.SQLite.Linq/SQL Generation/SqlChecker.cs.
︙ | ︙ | |||
15 16 17 18 19 20 21 | { #if false private static Type sql8rewriter; static SqlChecker() { string version = | | | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | { #if false private static Type sql8rewriter; static SqlChecker() { string version = #if NET_40 || NET_45 "4.0.0.0"; #else "3.5.0.0"; #endif sql8rewriter = Type.GetType(String.Format("System.Data.SqlClient.SqlGen.Sql8ExpressionRewriter, System.Data.Entity, Version={0}, Culture=neutral, PublicKeyToken=b77a5c561934e089", version), false); } |
︙ | ︙ |
Changes to System.Data.SQLite.Linq/SQL Generation/StringUtil.cs.
1 2 3 4 5 6 7 8 9 10 11 12 | /******************************************************** * ADO.NET 2.0 Data Provider for SQLite Version 3.X * Written by Robert Simpson (robert@blackcastlesoft.com) * * Released to the public domain, use at your own risk! ********************************************************/ using System.Collections.Generic; using System.Text; using System.Globalization; using System.Collections; | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | /******************************************************** * ADO.NET 2.0 Data Provider for SQLite Version 3.X * Written by Robert Simpson (robert@blackcastlesoft.com) * * Released to the public domain, use at your own risk! ********************************************************/ using System.Collections.Generic; using System.Text; using System.Globalization; using System.Collections; #if NET_40 || NET_45 using System.Runtime; #endif namespace System.Data.SQLite { internal static class StringUtil { |
︙ | ︙ | |||
81 82 83 84 85 86 87 | } private static string InvariantConvertToString<T>(T value) { return string.Format(CultureInfo.InvariantCulture, "{0}", new object[] { value }); } | | | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | } private static string InvariantConvertToString<T>(T value) { return string.Format(CultureInfo.InvariantCulture, "{0}", new object[] { value }); } #if NET_40 || NET_45 [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] #endif internal static bool IsNullOrEmptyOrWhiteSpace(string value) { return IsNullOrEmptyOrWhiteSpace(value, 0); } |
︙ | ︙ | |||
161 162 163 164 165 166 167 | } internal static void ToSeparatedString(StringBuilder builder, IEnumerable list, string separator) { ToSeparatedStringPrivate(builder, list, separator, string.Empty, false); } | | | 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | } internal static void ToSeparatedString(StringBuilder builder, IEnumerable list, string separator) { ToSeparatedStringPrivate(builder, list, separator, string.Empty, false); } #if NET_40 || NET_45 [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] #endif internal static void ToSeparatedString(StringBuilder stringBuilder, IEnumerable list, string separator, string nullValue) { ToSeparatedStringPrivate(stringBuilder, list, separator, nullValue, false); } |
︙ | ︙ |
Changes to System.Data.SQLite.Linq/System.Data.SQLite.Linq.2012.csproj.
︙ | ︙ | |||
14 15 16 17 18 19 20 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProjectGuid>{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>System.Data.SQLite.Linq</RootNamespace> <AssemblyName>System.Data.SQLite.Linq</AssemblyName> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> | | | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProjectGuid>{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>System.Data.SQLite.Linq</RootNamespace> <AssemblyName>System.Data.SQLite.Linq</AssemblyName> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <NetFx45>true</NetFx45> <ConfigurationYear>2012</ConfigurationYear> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.Linq.xml</DocumentationFile> |
︙ | ︙ |
Changes to System.Data.SQLite/AssemblyInfo.cs.
︙ | ︙ | |||
43 44 45 46 47 48 49 | [assembly: InternalsVisibleTo("System.Data.SQLite.Linq, PublicKey=" + System.Data.SQLite.SQLite3.PublicKey)] [assembly: NeutralResourcesLanguage("en")] #if !PLATFORM_COMPACTFRAMEWORK [assembly: AllowPartiallyTrustedCallers] [assembly: ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] | | | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | [assembly: InternalsVisibleTo("System.Data.SQLite.Linq, PublicKey=" + System.Data.SQLite.SQLite3.PublicKey)] [assembly: NeutralResourcesLanguage("en")] #if !PLATFORM_COMPACTFRAMEWORK [assembly: AllowPartiallyTrustedCallers] [assembly: ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] #if NET_40 || NET_45 // // NOTE: This attribute is only available in .NET Framework 4.0 or higher. // [assembly: SecurityRules(System.Security.SecurityRuleSet.Level1)] #endif #endif |
︙ | ︙ |
Changes to System.Data.SQLite/LINQ/SQLiteFactory_Linq.cs.
︙ | ︙ | |||
27 28 29 30 31 32 33 | #endif #if !PLATFORM_COMPACTFRAMEWORK SQLiteLog.Initialize(); #endif string version = | | | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #endif #if !PLATFORM_COMPACTFRAMEWORK SQLiteLog.Initialize(); #endif string version = #if NET_40 || NET_45 "4.0.0.0"; #else "3.5.0.0"; #endif _dbProviderServicesType = Type.GetType(String.Format(CultureInfo.InvariantCulture, "System.Data.Common.DbProviderServices, System.Data.Entity, Version={0}, Culture=neutral, PublicKeyToken=b77a5c561934e089", version), false); } |
︙ | ︙ |
Changes to System.Data.SQLite/SQLite3.cs.
︙ | ︙ | |||
64 65 66 67 68 69 70 | /// The opaque pointer returned to us by the sqlite provider /// </summary> protected internal SQLiteConnectionHandle _sql; protected string _fileName; protected bool _usePool; protected int _poolVersion; | | | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | /// The opaque pointer returned to us by the sqlite provider /// </summary> protected internal SQLiteConnectionHandle _sql; protected string _fileName; protected bool _usePool; protected int _poolVersion; #if (NET_35 || NET_40 || NET_45) && !PLATFORM_COMPACTFRAMEWORK private bool _buildingSchema; #endif /// <summary> /// The user-defined functions registered on this connection /// </summary> protected SQLiteFunction[] _functionsArray; |
︙ | ︙ | |||
526 527 528 529 530 531 532 | } if (cmd != null) cmd.SetTypes(typedefs); return cmd; } | | | 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 | } if (cmd != null) cmd.SetTypes(typedefs); return cmd; } #if (NET_35 || NET_40 || NET_45) && !PLATFORM_COMPACTFRAMEWORK else if (_buildingSchema == false && String.Compare(GetLastError(), 0, "no such table: TEMP.SCHEMA", 0, 26, StringComparison.OrdinalIgnoreCase) == 0) { strRemain = ""; _buildingSchema = true; try { ISQLiteSchemaExtensions ext = ((IServiceProvider)SQLiteFactory.Instance).GetService(typeof(ISQLiteSchemaExtensions)) as ISQLiteSchemaExtensions; |
︙ | ︙ |
Changes to System.Data.SQLite/SQLiteDefineConstants.cs.
︙ | ︙ | |||
39 40 41 42 43 44 45 46 47 48 49 50 51 52 | #if NET_35 "NET_35", #endif #if NET_40 "NET_40", #endif #if NET_COMPACT_20 "NET_COMPACT_20", #endif #if PLATFORM_COMPACTFRAMEWORK "PLATFORM_COMPACTFRAMEWORK", | > > > > | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | #if NET_35 "NET_35", #endif #if NET_40 "NET_40", #endif #if NET_45 "NET_45", #endif #if NET_COMPACT_20 "NET_COMPACT_20", #endif #if PLATFORM_COMPACTFRAMEWORK "PLATFORM_COMPACTFRAMEWORK", |
︙ | ︙ |
Changes to System.Data.SQLite/System.Data.SQLite.2012.csproj.
︙ | ︙ | |||
14 15 16 17 18 19 20 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProjectGuid>{AC139952-261A-4463-B6FA-AEBC25283A66}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>System.Data.SQLite</RootNamespace> <AssemblyName>System.Data.SQLite</AssemblyName> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> | | | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProjectGuid>{AC139952-261A-4463-B6FA-AEBC25283A66}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>System.Data.SQLite</RootNamespace> <AssemblyName>System.Data.SQLite</AssemblyName> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <NetFx45>true</NetFx45> <ConfigurationYear>2012</ConfigurationYear> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> <DocumentationFile>$(BinaryOutputPath)System.Data.SQLite.xml</DocumentationFile> |
︙ | ︙ |
Changes to System.Data.SQLite/System.Data.SQLite.Module.2012.csproj.
︙ | ︙ | |||
15 16 17 18 19 20 21 | <ProjectGuid>{AC139952-261A-4463-B6FA-AEBC25284A66}</ProjectGuid> <OutputType>Module</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>System.Data.SQLite</RootNamespace> <AssemblyName>System.Data.SQLite</AssemblyName> <SignAssembly>false</SignAssembly> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> | | | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <ProjectGuid>{AC139952-261A-4463-B6FA-AEBC25284A66}</ProjectGuid> <OutputType>Module</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>System.Data.SQLite</RootNamespace> <AssemblyName>System.Data.SQLite</AssemblyName> <SignAssembly>false</SignAssembly> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <NetFx45>true</NetFx45> <ConfigurationYear>2012</ConfigurationYear> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <ConfigurationSuffix>Module</ConfigurationSuffix> <UseInteropDll>false</UseInteropDll> <UseSqliteStandard>false</UseSqliteStandard> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> |
︙ | ︙ |
Changes to System.Data.SQLite/System.Data.SQLite.Properties.targets.
︙ | ︙ | |||
36 37 38 39 40 41 42 43 44 45 46 47 48 49 | Framework 4.0 (if necessary, it will typically be enabled from within the project file itself). --> <PropertyGroup Condition="'$(NetFx40)' != 'false'"> <DefineConstants>$(DefineConstants);NET_40</DefineConstants> </PropertyGroup> <!-- NOTE: Only use functionality available in the .NET Compact Framework 2.0? By default, this is disabled. This must be enabled to successfully build the project using Visual Studio 2005 and/or the .NET Compact Framework 2.0 (if necessary, it will typically be enabled from within the project file itself). --> | > > > > > > > > > > > | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | Framework 4.0 (if necessary, it will typically be enabled from within the project file itself). --> <PropertyGroup Condition="'$(NetFx40)' != 'false'"> <DefineConstants>$(DefineConstants);NET_40</DefineConstants> </PropertyGroup> <!-- NOTE: Only use functionality available in the .NET Framework 4.5? By default, this is disabled. This must be enabled to successfully build the project using Visual Studio 2012 and/or the .NET Framework 4.5 (if necessary, it will typically be enabled from within the project file itself). --> <PropertyGroup Condition="'$(NetFx45)' != 'false'"> <DefineConstants>$(DefineConstants);NET_45</DefineConstants> </PropertyGroup> <!-- NOTE: Only use functionality available in the .NET Compact Framework 2.0? By default, this is disabled. This must be enabled to successfully build the project using Visual Studio 2005 and/or the .NET Compact Framework 2.0 (if necessary, it will typically be enabled from within the project file itself). --> |
︙ | ︙ |
Changes to test/test.2012.csproj.
︙ | ︙ | |||
14 15 16 17 18 19 20 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProjectGuid>{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}</ProjectGuid> <AppDesignerFolder>Properties</AppDesignerFolder> <OutputType>Exe</OutputType> <RootNamespace>test</RootNamespace> <AssemblyName>test</AssemblyName> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> | | | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProjectGuid>{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}</ProjectGuid> <AppDesignerFolder>Properties</AppDesignerFolder> <OutputType>Exe</OutputType> <RootNamespace>test</RootNamespace> <AssemblyName>test</AssemblyName> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <NetFx45>true</NetFx45> <ConfigurationYear>2012</ConfigurationYear> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> </PropertyGroup> |
︙ | ︙ |
Changes to testlinq/Program.cs.
︙ | ︙ | |||
251 252 253 254 255 256 257 | territories.Regions = db.Regions.First(); db.AddObject("Territories", territories); } try { | | | 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 | territories.Regions = db.Regions.First(); db.AddObject("Territories", territories); } try { #if NET_40 || NET_45 db.SaveChanges(SaveOptions.None); #else db.SaveChanges(false); #endif } catch (Exception e) { |
︙ | ︙ | |||
274 275 276 277 278 279 280 | } } else { using (northwindEFEntities db = new northwindEFEntities()) { bool once = false; | | | 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 | } } else { using (northwindEFEntities db = new northwindEFEntities()) { bool once = false; #if NET_40 || NET_45 var query = from t in db.Territories where territoryIds.AsQueryable<long>().Contains<long>(t.TerritoryID) orderby t.TerritoryID select t; foreach (Territories territories in query) { |
︙ | ︙ |
Changes to testlinq/testlinq.2012.csproj.
︙ | ︙ | |||
13 14 15 16 17 18 19 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProjectGuid>{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}</ProjectGuid> <AppDesignerFolder>Properties</AppDesignerFolder> <OutputType>Exe</OutputType> <RootNamespace>testlinq</RootNamespace> <AssemblyName>testlinq</AssemblyName> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> | | | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProjectGuid>{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}</ProjectGuid> <AppDesignerFolder>Properties</AppDesignerFolder> <OutputType>Exe</OutputType> <RootNamespace>testlinq</RootNamespace> <AssemblyName>testlinq</AssemblyName> <SQLiteNetDir>$(MSBuildProjectDirectory)\..</SQLiteNetDir> <NetFx45>true</NetFx45> <ConfigurationYear>2012</ConfigurationYear> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> </PropertyGroup> |
︙ | ︙ |
Changes to tools/install/Installer.2012.csproj.
︙ | ︙ | |||
14 15 16 17 18 19 20 | <ProjectGuid>{A41FE2A5-07AD-4CE7-B836-1544634816F5}</ProjectGuid> <AppDesignerFolder>Properties</AppDesignerFolder> <OutputType>Exe</OutputType> <RootNamespace>Installer</RootNamespace> <AssemblyName>Installer</AssemblyName> <DelaySign>true</DelaySign> <SQLiteNetDir>$(MSBuildProjectDirectory)\..\..</SQLiteNetDir> | | | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <ProjectGuid>{A41FE2A5-07AD-4CE7-B836-1544634816F5}</ProjectGuid> <AppDesignerFolder>Properties</AppDesignerFolder> <OutputType>Exe</OutputType> <RootNamespace>Installer</RootNamespace> <AssemblyName>Installer</AssemblyName> <DelaySign>true</DelaySign> <SQLiteNetDir>$(MSBuildProjectDirectory)\..\..</SQLiteNetDir> <NetFx45>true</NetFx45> <ConfigurationYear>2012</ConfigurationYear> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> </PropertyGroup> <Import Project="$(SQLiteNetDir)\SQLite.NET.Settings.targets" /> <Import Project="$(SQLiteNetDir)\SQLite.NET.targets" /> <PropertyGroup Condition="'$(BinaryOutputPath)' != ''"> <OutputPath>$(BinaryOutputPath)</OutputPath> |
︙ | ︙ |
Changes to tools/install/Installer.cs.
︙ | ︙ | |||
146 147 148 149 150 151 152 | Default = Medium } #endregion /////////////////////////////////////////////////////////////////////////// #region Installer Class | | | 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | Default = Medium } #endregion /////////////////////////////////////////////////////////////////////////// #region Installer Class #if NET_40 || NET_45 [SecurityCritical()] #else [SecurityPermission(SecurityAction.LinkDemand, UnmanagedCode = true)] #endif internal static class Installer { #region Unsafe Native Methods Class |
︙ | ︙ |