diff --git a/DapperExtensions/SQLinq.Dapper.Test/IDbConnectionExtensionsTest.cs b/DapperExtensions/SQLinq.Dapper.Test/IDbConnectionExtensionsTest.cs index 8070d9d..27c6910 100644 --- a/DapperExtensions/SQLinq.Dapper.Test/IDbConnectionExtensionsTest.cs +++ b/DapperExtensions/SQLinq.Dapper.Test/IDbConnectionExtensionsTest.cs @@ -22,7 +22,7 @@ private IDbConnection GetDBConnection() //return new SqlConnection("Data Source=.\\SQLExpress;AttachDbFilename=" + folder + "Database1.mdf;Integrated Security=True"); //return new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=" + folder + "Database1.mdf;Integrated Security=True;User Instance=True"); //return new SqlConnection("Data Source=(LocalDB)\v11.0;AttachDbFilename=" + folder + "Database1.mdf;Integrated Security=True;Connect Timeout=15"); - return new SqlConnection("Data Source=.;Database=DATABASE1;Integrated Security=True;"); + return new SqlConnection("Data Source=.\\SQLEXPRESS01;Database=DATABASE1;Integrated Security=True;"); } #region Query diff --git a/DapperExtensions/SQLinq.Dapper.Test/SQLinq.Dapper.Test.csproj b/DapperExtensions/SQLinq.Dapper.Test/SQLinq.Dapper.Test.csproj index 6f7b0b4..5c0e1b5 100644 --- a/DapperExtensions/SQLinq.Dapper.Test/SQLinq.Dapper.Test.csproj +++ b/DapperExtensions/SQLinq.Dapper.Test/SQLinq.Dapper.Test.csproj @@ -1,5 +1,5 @@  - + Debug AnyCPU @@ -11,13 +11,17 @@ Properties SQLinq.Dapper.Test SQLinq.Dapper.Test - v4.5 + v4.7 512 {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - SAK - SAK - SAK - SAK + + + + + + + + ..\..\ true @@ -42,12 +46,18 @@ false + + ..\..\packages\Dapper.1.60.6\lib\net451\Dapper.dll + + 3.5 + + @@ -79,6 +89,9 @@ PreserveNewest + + + + Copyright © Chris Pietschmann 2019 + Chris Pietschmann + Chris Pietschmann (http://pietschsoft.com) + 1.5.1.1 + 1.5.2-beta + + + https://github.com/crpietschmann/SQLinq + + + false + true + SQLinq.Dapper + + + SQLinq.Dapper is a small helper library that bridges the gap between SQLinq and Dapper dot net to allow for queries to be performed more easily. + + https://github.com/crpietschmann/SQLinq + + + + First release. + + + + asp.net core, netcore, csharp + - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - false - - - - - - - - ..\..\packages\Dapper.1.42\lib\net45\Dapper.dll - True - - - - - - - - - - - + - - {95af6dbe-d796-469b-97d1-0c23d664d384} - SQLinq - + - + - - - - \ No newline at end of file + + + + + diff --git a/DapperExtensions/SQLinq.Dapper/SQLinq.Dapper.csproj.vspscc b/DapperExtensions/SQLinq.Dapper/SQLinq.Dapper.csproj.vspscc deleted file mode 100644 index b6d3289..0000000 --- a/DapperExtensions/SQLinq.Dapper/SQLinq.Dapper.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -} diff --git a/DapperExtensions/SQLinq.Dapper/packages.config b/DapperExtensions/SQLinq.Dapper/packages.config deleted file mode 100644 index d5bcd2f..0000000 --- a/DapperExtensions/SQLinq.Dapper/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..127b259 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,11 @@ + + + Copyright PH 2019 (c) paonath@gmail.com. All rights reserved. + Paolo Innocenti + paonath@gmail.com + 1.0.37 + + + + + \ No newline at end of file diff --git a/README.md b/README.md index 35f1b06..bc1ff80 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ foreach(var p in sqlParameters) ## SQLinq.Dapper -SQLinq.Dapper is a small helper library that bridges the gap between SQLinq and [Dapper dot net](http://code.google.com/p/dapper-dot-net/) to allow for queries to be performed more easily. +SQLinq.Dapper is a small helper library that bridges the gap between SQLinq and [Dapper dot net](https://github.com/StackExchange/Dapper/) to allow for queries to be performed more easily. **SQLinq.Dapper Usage:** Here's a simple example of using SQLinq.Dapper: diff --git a/SQLinq.sln b/SQLinq.sln index 5d6dabd..da99b7b 100644 --- a/SQLinq.sln +++ b/SQLinq.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.28803.452 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLinq", "SQLinq\SQLinq.csproj", "{95AF6DBE-D796-469B-97D1-0C23D664D384}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SQLinq", "SQLinq\SQLinq.csproj", "{95AF6DBE-D796-469B-97D1-0C23D664D384}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLinqTest", "SQLinqTest\SQLinqTest.csproj", "{953B054F-B55C-4EA1-8A4D-6E9DDB38CC4F}" EndProject @@ -28,7 +28,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "net", "net", "{1E17E797-A51 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "DapperExtensions", "DapperExtensions", "{1DBE9D80-2BCB-4460-953C-C6C0631161A9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLinq.Dapper", "DapperExtensions\SQLinq.Dapper\SQLinq.Dapper.csproj", "{1F1E8FE0-C6EB-40D5-B79F-2E1FF8C093D8}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SQLinq.Dapper", "DapperExtensions\SQLinq.Dapper\SQLinq.Dapper.csproj", "{1F1E8FE0-C6EB-40D5-B79F-2E1FF8C093D8}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLinq.Dapper.Test", "DapperExtensions\SQLinq.Dapper.Test\SQLinq.Dapper.Test.csproj", "{3F9DE692-FBE8-4D31-A41F-FE2FEB175A53}" EndProject @@ -98,6 +98,9 @@ Global {53366D81-F50A-4A65-9C4E-724E75B0DE73} = {A18F3145-788E-46B8-8938-D02B89966652} {AFD80FD5-AE34-4667-9B82-D64BB3F0AA0E} = {C6611665-1E45-427E-B333-F5866DC4DB55} EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {0A44520F-85FC-4F0D-A5CD-8874A20B14A5} + EndGlobalSection GlobalSection(TestCaseManagementSettings) = postSolution CategoryFile = SQLinq.vsmdi EndGlobalSection diff --git a/SQLinq/Properties/AssemblyInfo.cs b/SQLinq/Properties/AssemblyInfo.cs index 2b05423..aa23e2c 100644 --- a/SQLinq/Properties/AssemblyInfo.cs +++ b/SQLinq/Properties/AssemblyInfo.cs @@ -1,36 +1,36 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; +//using System.Reflection; +//using System.Runtime.CompilerServices; +//using System.Runtime.InteropServices; -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("SQLinq")] -[assembly: AssemblyDescription("https://github.com/crpietschmann/SQLinq")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Chris Pietschmann (http://pietschsoft.com)")] -[assembly: AssemblyProduct("SQLinq")] -[assembly: AssemblyCopyright("Copyright © Chris Pietschmann 2015")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] +//// General Information about an assembly is controlled through the following +//// set of attributes. Change these attribute values to modify the information +//// associated with an assembly. +//[assembly: AssemblyTitle("SQLinq")] +//[assembly: AssemblyDescription("https://github.com/crpietschmann/SQLinq")] +//[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("Chris Pietschmann (http://pietschsoft.com)")] +//[assembly: AssemblyProduct("SQLinq")] +//[assembly: AssemblyCopyright("Copyright © Chris Pietschmann 2015")] +//[assembly: AssemblyTrademark("")] +//[assembly: AssemblyCulture("")] -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -//[assembly: ComVisible(false)] +//// Setting ComVisible to false makes the types in this assembly not visible +//// to COM components. If you need to access a type in this assembly from +//// COM, set the ComVisible attribute to true on that type. +////[assembly: ComVisible(false)] -// The following GUID is for the ID of the typelib if this project is exposed to COM -//[assembly: Guid("2cfb44a2-e59e-46f1-a2da-3dade4d2878d")] +//// The following GUID is for the ID of the typelib if this project is exposed to COM +////[assembly: Guid("2cfb44a2-e59e-46f1-a2da-3dade4d2878d")] -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("3.0.1.0")] -[assembly: AssemblyFileVersion("3.0.1.0")] +//// Version information for an assembly consists of the following four values: +//// +//// Major Version +//// Minor Version +//// Build Number +//// Revision +//// +//// You can specify all the values or you can default the Build and Revision Numbers +//// by using the '*' as shown below: +//// [assembly: AssemblyVersion("1.0.*")] +//[assembly: AssemblyVersion("3.0.1.0")] +//[assembly: AssemblyFileVersion("3.0.1.0")] diff --git a/SQLinq/SQLinq.OLD.csproj b/SQLinq/SQLinq.OLD.csproj new file mode 100644 index 0000000..baa1100 --- /dev/null +++ b/SQLinq/SQLinq.OLD.csproj @@ -0,0 +1,113 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {95AF6DBE-D796-469B-97D1-0C23D664D384} + Library + Properties + SQLinq + SQLinq + v4.0 + Profile158 + 512 + + + + + + + + + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 10.0 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SQLinq/SQLinq.csproj b/SQLinq/SQLinq.csproj index 4cd7f13..c2cbb7a 100644 --- a/SQLinq/SQLinq.csproj +++ b/SQLinq/SQLinq.csproj @@ -1,111 +1,28 @@ - - + + - Debug - AnyCPU - 8.0.30703 - 2.0 - {95AF6DBE-D796-469B-97D1-0C23D664D384} - Library - Properties - SQLinq - SQLinq - v4.0 - Profile158 - 512 - SAK - SAK - SAK - SAK - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 10.0 + netstandard2.0 + + Copyright © Chris Pietschmann 2019 + Chris Pietschmann + Chris Pietschmann (http://pietschsoft.com) + 3.0.1.1 + 3.0.2-beta + + + https://github.com/crpietschmann/SQLinq + + + false + true + SQLinq + - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - true - - - SQLinqKey.snk - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7\Microsoft.CSharp.dll + - - - \ No newline at end of file + + diff --git a/SQLinq/SQLinq.csproj.vspscc b/SQLinq/SQLinq.csproj.vspscc deleted file mode 100644 index b6d3289..0000000 --- a/SQLinq/SQLinq.csproj.vspscc +++ /dev/null @@ -1,10 +0,0 @@ -"" -{ -"FILE_VERSION" = "9237" -"ENLISTMENT_CHOICE" = "NEVER" -"PROJECT_FILE_RELATIVE_PATH" = "" -"NUMBER_OF_EXCLUDED_FILES" = "0" -"ORIGINAL_PROJECT_FILE_PATH" = "" -"NUMBER_OF_NESTED_PROJECTS" = "0" -"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" -} diff --git a/SQLinq/SQLinqKey.snk b/SQLinq/SQLinqKey.snk deleted file mode 100644 index 69f1481..0000000 Binary files a/SQLinq/SQLinqKey.snk and /dev/null differ diff --git a/SQLinqTest/SQLinqTest.csproj b/SQLinqTest/SQLinqTest.csproj index 4ff5911..c44abcb 100644 --- a/SQLinqTest/SQLinqTest.csproj +++ b/SQLinqTest/SQLinqTest.csproj @@ -1,5 +1,5 @@  - + Debug AnyCPU @@ -11,13 +11,17 @@ Properties SQLinqTest SQLinqTest - v4.5 + v4.7 512 {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - SAK - SAK - SAK - SAK + + + + + + + +