├── .gitignore ├── .vs ├── PetaPoco.NetCore │ └── v14 │ │ └── .suo └── restore.dg ├── LICENSE ├── PetaPoco.NetCore.NetFrameworkTest ├── App.config ├── PetaPoco.NetCore.NetFrameworkTest.csproj ├── Program.cs ├── Properties │ └── AssemblyInfo.cs ├── bin │ └── Debug │ │ ├── PetaPoco.NetCore.NetFrameworkTest.exe.config │ │ ├── PetaPoco.NetCore.NetFrameworkTest.pdb │ │ ├── PetaPoco.NetCore.NetFrameworkTest.vshost.exe.config │ │ ├── PetaPoco.NetCore.NetFrameworkTest.vshost.exe.manifest │ │ ├── PetaPoco.NetCore.pdb │ │ └── PetaPoco.NetCore.xml ├── obj │ └── Debug │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache │ │ ├── PetaPoco.NetCore.NetFrameworkTest.csproj.FileListAbsolute.txt │ │ ├── PetaPoco.NetCore.NetFrameworkTest.csprojResolveAssemblyReference.cache │ │ ├── PetaPoco.NetCore.NetFrameworkTest.pdb │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs │ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs └── test.sql ├── PetaPoco.NetCore.sln ├── README.markdown ├── global.json └── src ├── PetaPoco.NetCore.NetCoreTest ├── PetaPoco.NetCore.NetCoreTest.xproj ├── PetaPoco.NetCore.NetCoreTest.xproj.user ├── Program.cs ├── Properties │ └── AssemblyInfo.cs ├── appsettings.json ├── bin │ └── Debug │ │ └── netstandard1.5 │ │ ├── PetaPoco.NetCore.NetCoreTest.deps.json │ │ ├── PetaPoco.NetCore.NetCoreTest.pdb │ │ ├── PetaPoco.NetCore.NetCoreTest.runtimeconfig.dev.json │ │ ├── PetaPoco.NetCore.NetCoreTest.runtimeconfig.json │ │ ├── PetaPoco.NetCore.pdb │ │ └── PetaPoco.NetCore.xml ├── obj │ └── Debug │ │ └── netstandard1.5 │ │ ├── .IncrementalCache │ │ ├── .SDKVersion │ │ ├── dotnet-compile-csc.rsp │ │ ├── dotnet-compile.assemblyinfo.cs │ │ └── dotnet-compile.rsp ├── project.json ├── project.lock.json └── test.sql └── PetaPoco.NetCore ├── PetaPoco.Multiple.cs ├── PetaPoco.NetCore.cs ├── PetaPoco.NetCore.nuspec ├── PetaPoco.NetCore.xproj ├── PetaPoco.NetCore.xproj.user ├── Properties └── AssemblyInfo.cs ├── bin └── Debug │ ├── PetaPoco.NetCore.1.0.0.nupkg │ ├── PetaPoco.NetCore.1.0.0.symbols.nupkg │ ├── PetaPoco.NetCore.1.0.1.nupkg │ ├── PetaPoco.NetCore.1.0.1.symbols.nupkg │ ├── net40 │ ├── PetaPoco.NetCore.pdb │ └── PetaPoco.NetCore.xml │ ├── net45 │ ├── PetaPoco.NetCore.pdb │ └── PetaPoco.NetCore.xml │ └── netstandard1.5 │ ├── PetaPoco.NetCore.deps.json │ ├── PetaPoco.NetCore.pdb │ └── PetaPoco.NetCore.xml ├── obj └── Debug │ ├── net40 │ ├── .IncrementalCache │ ├── .SDKVersion │ ├── dotnet-compile-csc.rsp │ ├── dotnet-compile.assemblyinfo.cs │ └── dotnet-compile.rsp │ ├── net45 │ ├── .IncrementalCache │ ├── .SDKVersion │ ├── dotnet-compile-csc.rsp │ ├── dotnet-compile.assemblyinfo.cs │ └── dotnet-compile.rsp │ └── netstandard1.5 │ ├── .IncrementalCache │ ├── .SDKVersion │ ├── dotnet-compile-csc.rsp │ ├── dotnet-compile.assemblyinfo.cs │ └── dotnet-compile.rsp ├── project.json └── project.lock.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Object files 2 | *.o 3 | *.ko 4 | *.obj 5 | *.elf 6 | 7 | # Precompiled Headers 8 | *.gch 9 | *.pch 10 | 11 | # Libraries 12 | *.lib 13 | *.a 14 | *.la 15 | *.lo 16 | 17 | # Shared objects (inc. Windows DLLs) 18 | *.dll 19 | *.so 20 | *.so.* 21 | *.dylib 22 | 23 | # Executables 24 | *.exe 25 | *.out 26 | *.app 27 | *.i*86 28 | *.x86_64 29 | *.hex 30 | 31 | # Debug files 32 | *.dSYM/ 33 | *.su 34 | -------------------------------------------------------------------------------- /.vs/PetaPoco.NetCore/v14/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/.vs/PetaPoco.NetCore/v14/.suo -------------------------------------------------------------------------------- /.vs/restore.dg: -------------------------------------------------------------------------------- 1 | #:D:\hoping\Project\PetaPoco.NetCore\PetaPoco.NetCore\src\PetaPoco.NetCore.NetCoreTest\PetaPoco.NetCore.NetCoreTest.xproj 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright {yyyy} {name of copyright owner} 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/PetaPoco.NetCore.NetFrameworkTest.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {CE36E593-A66F-4082-ADBC-BCDB9A3EEC32} 8 | Exe 9 | Properties 10 | PetaPoco.NetCore.NetFrameworkTest 11 | PetaPoco.NetCore.NetFrameworkTest 12 | v4.5 13 | 512 14 | 15 | 16 | AnyCPU 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | AnyCPU 27 | pdbonly 28 | true 29 | bin\Release\ 30 | TRACE 31 | prompt 32 | 4 33 | 34 | 35 | 36 | False 37 | ..\src\PetaPoco.NetCore\bin\Debug\net45\MySql.Data.dll 38 | 39 | 40 | ..\src\PetaPoco.NetCore\bin\Debug\net45\PetaPoco.NetCore.dll 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 69 | -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace PetaPoco.NetCore.NetFrameworkTest 8 | { 9 | class Program 10 | { 11 | static void Main(string[] args) 12 | { 13 | try 14 | { 15 | var db = new Database("Conn"); 16 | //实体测试 17 | Blog blog = new Blog() { BlogId = 3, Url = "test3" }; 18 | var result = db.Insert(blog); 19 | blog.Url = "test333"; 20 | result = db.Update(blog); 21 | result = db.Delete(blog); 22 | 23 | //sql测试 24 | var sql = Sql.Builder.Append("insert into blogs values(4,'test4')"); 25 | result = db.Execute(sql); 26 | sql = Sql.Builder.Append("update blogs set Url='test444' where BlogId=4"); 27 | result = db.Execute(sql); 28 | 29 | sql = Sql.Builder.Append("select * from blogs where BlogId=4"); 30 | 31 | var model2 = db.SingleOrDefault(1); 32 | var list = db.Query(Sql.Builder.Append("select * from blogs")).ToList(); 33 | var list2 = db.Page(1, 2, Sql.Builder.Append("select * from blogs")); 34 | var model1 = db.Query(sql).FirstOrDefault(); 35 | var model3 = db.FirstOrDefault(sql); 36 | 37 | //返回多个结果测试 38 | result = db.Fetch( 39 | (p, a) => 40 | { 41 | p.author_obj = a; 42 | return p; 43 | }, 44 | @"SELECT * FROM post LEFT JOIN author ON post.author = author.id 45 | ORDER BY post.id"); 46 | //multi 47 | 48 | using (var multi = db.QueryMultiple("select * from post")) 49 | { 50 | result = multi.Read().ToList(); 51 | } 52 | using (var multi = db.QueryMultiple(@"SELECT * FROM post LEFT JOIN author ON post.author = author.id 53 | ORDER BY post.id")) 54 | { 55 | result = multi.Read((p, a) => { p.author_obj = a; return p; }).ToList(); 56 | } 57 | using (var multi = db.QueryMultiple("select * from post;select * from author;")) 58 | { 59 | var p = multi.Read().First(); 60 | var a = multi.Read().First(); 61 | } 62 | } 63 | catch (Exception ex) 64 | { 65 | Console.WriteLine(ex); 66 | } 67 | Console.ReadLine(); 68 | } 69 | } 70 | [TableName("post")] 71 | [PrimaryKey("id")] 72 | public class post 73 | { 74 | public long id { get; set; } 75 | public string title { get; set; } 76 | public long author { get; set; } 77 | 78 | [ResultColumn] 79 | public author author_obj { get; set; } 80 | } 81 | 82 | [TableName("post")] 83 | [PrimaryKey("id")] 84 | public class author 85 | { 86 | public long id { get; set; } 87 | public string name { get; set; } 88 | 89 | [ResultColumn] 90 | public List posts { get; set; } 91 | } 92 | 93 | [TableName("blogs")] 94 | [PrimaryKey("BlogId", autoIncrement = false)] 95 | public class Blog 96 | { 97 | public int BlogId { get; set; } 98 | public string Url { get; set; } 99 | } 100 | } 101 | -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("PetaPoco.NetCore.NetFrameworkTest")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("PetaPoco.NetCore.NetFrameworkTest")] 13 | [assembly: AssemblyCopyright("Copyright © 2016")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("ce36e593-a66f-4082-adbc-bcdb9a3eec32")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/bin/Debug/PetaPoco.NetCore.NetFrameworkTest.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/bin/Debug/PetaPoco.NetCore.NetFrameworkTest.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/PetaPoco.NetCore.NetFrameworkTest/bin/Debug/PetaPoco.NetCore.NetFrameworkTest.pdb -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/bin/Debug/PetaPoco.NetCore.NetFrameworkTest.vshost.exe.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/bin/Debug/PetaPoco.NetCore.NetFrameworkTest.vshost.exe.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/bin/Debug/PetaPoco.NetCore.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/PetaPoco.NetCore.NetFrameworkTest/bin/Debug/PetaPoco.NetCore.pdb -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/bin/Debug/PetaPoco.NetCore.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | PetaPoco.NetCore 5 | 6 | 7 | 8 | 9 | Reads from a GridReader, returning the results as an IEnumerable collection 10 | 11 | The Type representing a row in the result set 12 | An enumerable collection of result records 13 | 14 | 15 | 16 | Perform a multi-poco read from a GridReader 17 | 18 | The first POCO type 19 | The second POCO type 20 | A collection of POCO's as an IEnumerable 21 | 22 | 23 | 24 | Perform a multi-poco read from a GridReader 25 | 26 | The first POCO type 27 | The second POCO type 28 | The third POCO type 29 | A collection of POCO's as an IEnumerable 30 | 31 | 32 | 33 | Perform a multi-poco read from a GridReader 34 | 35 | The first POCO type 36 | The second POCO type 37 | The third POCO type 38 | The forth POCO type 39 | A collection of POCO's as an IEnumerable 40 | 41 | 42 | 43 | Perform a multi-poco query 44 | 45 | The first POCO type 46 | The second POCO type 47 | The type of objects in the returned IEnumerable 48 | A callback function to connect the POCO instances, or null to automatically guess the relationships 49 | A collection of POCO's as an IEnumerable 50 | 51 | 52 | 53 | Perform a multi-poco query 54 | 55 | The first POCO type 56 | The second POCO type 57 | The third POCO type 58 | The type of objects in the returned IEnumerable 59 | A callback function to connect the POCO instances, or null to automatically guess the relationships 60 | A collection of POCO's as an IEnumerable 61 | 62 | 63 | 64 | Perform a multi-poco query 65 | 66 | The first POCO type 67 | The second POCO type 68 | The third POCO type 69 | The forth POCO type 70 | The type of objects in the returned IEnumerable 71 | A callback function to connect the POCO instances, or null to automatically guess the relationships 72 | A collection of POCO's as an IEnumerable 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | The control structure for a multi-result set query 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | Reads from a GridReader, returning the results as an IEnumerable collection 91 | 92 | The Type representing a row in the result set 93 | An enumerable collection of result records 94 | 95 | 96 | 97 | Perform a multi-poco read from a GridReader 98 | 99 | The first POCO type 100 | The second POCO type 101 | A collection of POCO's as an IEnumerable 102 | 103 | 104 | 105 | Perform a multi-poco read from a GridReader 106 | 107 | The first POCO type 108 | The second POCO type 109 | The third POCO type 110 | A collection of POCO's as an IEnumerable 111 | 112 | 113 | 114 | Perform a multi-poco read from a GridReader 115 | 116 | The first POCO type 117 | The second POCO type 118 | The third POCO type 119 | The forth POCO type 120 | A collection of POCO's as an IEnumerable 121 | 122 | 123 | 124 | Perform a multi-poco query 125 | 126 | The first POCO type 127 | The second POCO type 128 | The type of objects in the returned IEnumerable 129 | A callback function to connect the POCO instances, or null to automatically guess the relationships 130 | A collection of POCO's as an IEnumerable 131 | 132 | 133 | 134 | Perform a multi-poco query 135 | 136 | The first POCO type 137 | The second POCO type 138 | The third POCO type 139 | The type of objects in the returned IEnumerable 140 | A callback function to connect the POCO instances, or null to automatically guess the relationships 141 | A collection of POCO's as an IEnumerable 142 | 143 | 144 | 145 | Perform a multi-poco query 146 | 147 | The first POCO type 148 | The second POCO type 149 | The third POCO type 150 | The forth POCO type 151 | The type of objects in the returned IEnumerable 152 | A callback function to connect the POCO instances, or null to automatically guess the relationships 153 | A collection of POCO's as an IEnumerable 154 | 155 | 156 | 157 | Read data to a single poco 158 | 159 | The type representing a row in the result set 160 | Reader row to be read from the underlying IDataReader 161 | 162 | 163 | 164 | 165 | Read data to multiple pocos 166 | 167 | The type of objects in the returned IEnumerable 168 | Reader row to be read from the underlying IDataReader 169 | An array of Types representing the POCO types of the returned result set. 170 | A callback function to connect the POCO instances, or null to automatically guess the relationships 171 | A collection of POCO's as an IEnumerable 172 | 173 | 174 | 175 | Advance the IDataReader to the NextResult, if available 176 | 177 | 178 | 179 | 180 | Dispose the grid, closing and disposing both the underlying reader, command and shared connection 181 | 182 | 183 | 184 | 185 | Override this to log/capture exceptions 186 | 187 | 188 | 189 | 190 | 191 | Perform a multi-results set query 192 | 193 | An SQL builder object representing the query and it's arguments 194 | A GridReader to be queried 195 | 196 | 197 | 198 | Perform a multi-results set query 199 | 200 | The SQL query to be executed 201 | Arguments to any embedded parameters in the SQL 202 | A GridReader to be queried 203 | 204 | 205 | 206 | -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/PetaPoco.NetCore.NetFrameworkTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/obj/Debug/PetaPoco.NetCore.NetFrameworkTest.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | D:\hoping\Project\PetaPoco.NetCore\PetaPoco.NetCore.NetFrameworkTest\bin\Debug\PetaPoco.NetCore.NetFrameworkTest.exe.config 2 | D:\hoping\Project\PetaPoco.NetCore\PetaPoco.NetCore.NetFrameworkTest\obj\Debug\PetaPoco.NetCore.NetFrameworkTest.csprojResolveAssemblyReference.cache 3 | D:\hoping\Project\PetaPoco.NetCore\PetaPoco.NetCore.NetFrameworkTest\bin\Debug\PetaPoco.NetCore.NetFrameworkTest.exe 4 | D:\hoping\Project\PetaPoco.NetCore\PetaPoco.NetCore.NetFrameworkTest\bin\Debug\PetaPoco.NetCore.NetFrameworkTest.pdb 5 | D:\hoping\Project\PetaPoco.NetCore\PetaPoco.NetCore.NetFrameworkTest\bin\Debug\MySql.Data.dll 6 | D:\hoping\Project\PetaPoco.NetCore\PetaPoco.NetCore.NetFrameworkTest\bin\Debug\PetaPoco.NetCore.dll 7 | D:\hoping\Project\PetaPoco.NetCore\PetaPoco.NetCore.NetFrameworkTest\bin\Debug\PetaPoco.NetCore.pdb 8 | D:\hoping\Project\PetaPoco.NetCore\PetaPoco.NetCore.NetFrameworkTest\bin\Debug\PetaPoco.NetCore.xml 9 | D:\hoping\Project\PetaPoco.NetCore\PetaPoco.NetCore.NetFrameworkTest\obj\Debug\PetaPoco.NetCore.NetFrameworkTest.exe 10 | D:\hoping\Project\PetaPoco.NetCore\PetaPoco.NetCore.NetFrameworkTest\obj\Debug\PetaPoco.NetCore.NetFrameworkTest.pdb 11 | -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/obj/Debug/PetaPoco.NetCore.NetFrameworkTest.csprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/PetaPoco.NetCore.NetFrameworkTest/obj/Debug/PetaPoco.NetCore.NetFrameworkTest.csprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/obj/Debug/PetaPoco.NetCore.NetFrameworkTest.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/PetaPoco.NetCore.NetFrameworkTest/obj/Debug/PetaPoco.NetCore.NetFrameworkTest.pdb -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/PetaPoco.NetCore.NetFrameworkTest/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/PetaPoco.NetCore.NetFrameworkTest/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/PetaPoco.NetCore.NetFrameworkTest/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs -------------------------------------------------------------------------------- /PetaPoco.NetCore.NetFrameworkTest/test.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE blogs ( 2 | BlogId int(11) NOT NULL PRIMARY KEY, 3 | Url varchar(1000) DEFAULT NULL 4 | ); 5 | 6 | create table post( 7 | id int, 8 | title varchar(32), 9 | author int 10 | ); 11 | 12 | drop table author; 13 | create table author( 14 | id int, 15 | name varchar(32) 16 | ); 17 | 18 | INSERT into blogs values(1,'test1'); 19 | INSERT into blogs values(2,'test2'); 20 | 21 | 22 | INSERT into author value(1,'作者1'); 23 | INSERT into author value(2,'作者2'); 24 | 25 | INSERT into post values(1,'book1',1); 26 | INSERT into post values(2,'book2',1); 27 | INSERT into post values(3,'book3',2); 28 | INSERT into post values(4,'book4',2); -------------------------------------------------------------------------------- /PetaPoco.NetCore.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{E1457786-76F9-4ACF-8450-AC16960E91F6}" 7 | EndProject 8 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{35B760FC-FB51-4A63-B7B5-11CDD4EF0D75}" 9 | ProjectSection(SolutionItems) = preProject 10 | global.json = global.json 11 | EndProjectSection 12 | EndProject 13 | Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "PetaPoco.NetCore", "src\PetaPoco.NetCore\PetaPoco.NetCore.xproj", "{B0B52689-2C17-45B4-999F-4B4E557057B0}" 14 | EndProject 15 | Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "PetaPoco.NetCore.NetCoreTest", "src\PetaPoco.NetCore.NetCoreTest\PetaPoco.NetCore.NetCoreTest.xproj", "{8B345742-3D84-4175-9A1F-52351EB4457F}" 16 | EndProject 17 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PetaPoco.NetCore.NetFrameworkTest", "PetaPoco.NetCore.NetFrameworkTest\PetaPoco.NetCore.NetFrameworkTest.csproj", "{CE36E593-A66F-4082-ADBC-BCDB9A3EEC32}" 18 | EndProject 19 | Global 20 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 21 | Debug|Any CPU = Debug|Any CPU 22 | Release|Any CPU = Release|Any CPU 23 | EndGlobalSection 24 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 25 | {B0B52689-2C17-45B4-999F-4B4E557057B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 26 | {B0B52689-2C17-45B4-999F-4B4E557057B0}.Debug|Any CPU.Build.0 = Debug|Any CPU 27 | {B0B52689-2C17-45B4-999F-4B4E557057B0}.Release|Any CPU.ActiveCfg = Release|Any CPU 28 | {B0B52689-2C17-45B4-999F-4B4E557057B0}.Release|Any CPU.Build.0 = Release|Any CPU 29 | {8B345742-3D84-4175-9A1F-52351EB4457F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 30 | {8B345742-3D84-4175-9A1F-52351EB4457F}.Debug|Any CPU.Build.0 = Debug|Any CPU 31 | {8B345742-3D84-4175-9A1F-52351EB4457F}.Release|Any CPU.ActiveCfg = Release|Any CPU 32 | {8B345742-3D84-4175-9A1F-52351EB4457F}.Release|Any CPU.Build.0 = Release|Any CPU 33 | {CE36E593-A66F-4082-ADBC-BCDB9A3EEC32}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 34 | {CE36E593-A66F-4082-ADBC-BCDB9A3EEC32}.Debug|Any CPU.Build.0 = Debug|Any CPU 35 | {CE36E593-A66F-4082-ADBC-BCDB9A3EEC32}.Release|Any CPU.ActiveCfg = Release|Any CPU 36 | {CE36E593-A66F-4082-ADBC-BCDB9A3EEC32}.Release|Any CPU.Build.0 = Release|Any CPU 37 | EndGlobalSection 38 | GlobalSection(SolutionProperties) = preSolution 39 | HideSolutionNode = FALSE 40 | EndGlobalSection 41 | GlobalSection(NestedProjects) = preSolution 42 | {B0B52689-2C17-45B4-999F-4B4E557057B0} = {E1457786-76F9-4ACF-8450-AC16960E91F6} 43 | {8B345742-3D84-4175-9A1F-52351EB4457F} = {E1457786-76F9-4ACF-8450-AC16960E91F6} 44 | {CE36E593-A66F-4082-ADBC-BCDB9A3EEC32} = {E1457786-76F9-4ACF-8450-AC16960E91F6} 45 | EndGlobalSection 46 | EndGlobal 47 | -------------------------------------------------------------------------------- /README.markdown: -------------------------------------------------------------------------------- 1 | # PetaPoco.NetCore 2 | 3 | PetaPoco.NetCore 是基于PetaPoco的分支,主要增加对.netcore支持,也保留着PetaPoco原生的功能,支持单个实体对象映射,也支持多实体对象映射,NetCore未需指定驱动连接,其它API一致。
4 | 5 | petapoco原项目地址:https://github.com/CollaboratingPlatypus/PetaPoco
6 | PetaPoco.NetCore Nuget包下载地址: https://www.nuget.org/packages/PetaPoco.NetCore/
7 | nuget安装 PM>Install-Package PetaPoco.NetCore
8 | 9 | 一、.netcore配置 (netcore configuration)
10 | 在project.json增加相应.netcore版本的数据库驱动引用,以mysql为例,这里mysql的驱动使用Pomelo.Data.MySql,mysql官方的netcore版本驱动兼容性太差,坑太多,等完善后可替换为官方的myssql core驱动
11 | "dependencies": {
12 | "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-rc2-final",
13 | "Microsoft.Extensions.Configuration.Json": "1.0.0-rc2-final",
14 | "Microsoft.Extensions.Configuration.UserSecrets": "1.0.0-rc2-final",
15 | "Microsoft.NETCore.App": {
16 | "version": "1.0.0-rc2-3002702",
17 | "type": "platform"
18 | },
19 | "Pomelo.Data.MySql": "1.0.0",
20 | "System.Text.Encoding.CodePages": "4.0.1"
21 | }
22 | 23 | 2.数据库连接信息可直接写在程序里,也可配置appsettings.json(建议配置)
24 | "ConnectionStrings": {
25 | "Conn": "server=localhost;database=test;uid=root;password=123456;charset=utf8;SslMode=None"
26 | }
27 | 28 | 二、net framework配置 (net framework configuration)
29 | 在config 增加connectionStrings即可
30 |
31 | \
32 | 33 | 34 | 35 |

36 | 37 | 三、使用 (use on project)
38 | 39 | 40 | MySqlConnection connection = new MySqlConnection(""server=localhost;database=test;uid=root;password=123456;charset=utf8;SslMode=None""); 41 | var db = new Database(connection); 42 | //实体测试 43 | Blog blog = new Blog() { BlogId = 3, Url = "test3" }; 44 | //保存 45 | var result = db.Insert(blog); 46 | //编辑 47 | blog.Url = "test333"; 48 | result = db.Update(blog); 49 | //删除 50 | result = db.Delete(blog); 51 | 52 | //sql测试 53 | var sql1 = Sql.Builder.Append("insert into blogs values(4,'test4')"); 54 | result = db.Execute(sql1); 55 | var sql2 = Sql.Builder.Append("update blogs set Url='test444' where BlogId=4"); 56 | result = db.Execute(sql2); 57 | 58 | //查询 59 | var model2 = db.SingleOrDefault(1); 60 | //列表 61 | var list = db.Query(Sql.Builder.Append("select * from blogs")).ToList(); 62 | //分页 63 | var list2 = db.Page(1, 2, Sql.Builder.Append("select * from blogs")); 64 | //查询 65 | var sql3 = Sql.Builder.Append("select * from blogs where BlogId=4"); 66 | var model1 = db.Query(sql3).FirstOrDefault(); 67 | var model3 = db.FirstOrDefault(sql3); 68 | 69 | //返回多个结果测试 70 | result = db.Fetch( 71 | (p, a) => 72 | { 73 | p.author_obj = a; 74 | return p; 75 | }, 76 | @"SELECT * FROM post LEFT JOIN author ON post.author = author.id ORDER BY post.id"); 77 | 78 | using (var multi = db.QueryMultiple("select * from post")) 79 | { 80 | result = multi.Read().ToList(); 81 | } 82 | using (var multi = db.QueryMultiple(@"SELECT * FROM post LEFT JOIN author ON post.author = author.id ORDER BY post.id")) 83 | { 84 | result = multi.Read((p, a) => { p.author_obj = a; return p; }).ToList(); 85 | } 86 | using (var multi = db.QueryMultiple("select * from post;select * from author;")) 87 | { 88 | var p = multi.Read().First(); 89 | var a = multi.Read().First(); 90 | } 91 | 92 | 测试sql
93 | CREATE TABLE blogs (
94 | BlogId int(11) NOT NULL PRIMARY KEY,
95 | Url varchar(1000) DEFAULT NULL
96 | );
97 | 98 | create table post(
99 | id int,
100 | title varchar(32),
101 | author int
102 | );
103 | 104 | drop table author;
105 | create table author(
106 | id int,
107 | name varchar(32)
108 | );
109 | INSERT into blogs values(1,'test1'); 110 | INSERT into blogs values(2,'test2'); 111 | 112 | INSERT into author value(1,'作者1'); 113 | INSERT into author value(2,'作者2'); 114 | 115 | INSERT into post values(1,'book1',1); 116 | INSERT into post values(2,'book2',1); 117 | INSERT into post values(3,'book3',2); 118 | INSERT into post values(4,'book4',2); 119 | 120 | 更多api请参考petapoco文档
121 | https://github.com/CollaboratingPlatypus/PetaPoco/wiki
122 | 123 | by hoping chinahuxp@qq.com
124 | -------------------------------------------------------------------------------- /global.json: -------------------------------------------------------------------------------- 1 | { 2 | "projects": [ "src", "test" ], 3 | "sdk": { 4 | "version": "1.0.0-preview1-002702" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/PetaPoco.NetCore.NetCoreTest.xproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 14.0 5 | $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) 6 | 7 | 8 | 9 | 10 | 8b345742-3d84-4175-9a1f-52351eb4457f 11 | PetaPoco.NetCore.NetCoreTest 12 | .\obj 13 | .\bin\ 14 | v4.5 15 | 16 | 17 | 18 | 2.0 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/PetaPoco.NetCore.NetCoreTest.xproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | PetaPoco.NetCore.NetCoreTest 5 | 6 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | using Microsoft.Extensions.Configuration; 7 | using Pomelo.Data.MySql; 8 | 9 | namespace PetaPoco.NetCore.NetCoreTest 10 | { 11 | public class Program 12 | { 13 | public static void Main(string[] args) 14 | { 15 | try 16 | { 17 | string _connectionString = ""; 18 | var dir = Directory.GetCurrentDirectory(); 19 | var builder = new ConfigurationBuilder() 20 | .SetBasePath(dir) 21 | .AddJsonFile("appsettings.json"); 22 | builder.AddEnvironmentVariables(); 23 | IConfigurationRoot Configuration = builder.Build(); 24 | _connectionString = Configuration["ConnectionStrings:Conn"]; 25 | 26 | MySqlConnection connection = new MySqlConnection(_connectionString); 27 | 28 | var db = new Database(connection); 29 | //实体测试 30 | Blog blog = new Blog() { BlogId = 3, Url = "test3" }; 31 | var result = db.Insert(blog); 32 | blog.Url = "test333"; 33 | result = db.Update(blog); 34 | result = db.Delete(blog); 35 | 36 | //sql测试 37 | var sql1 = Sql.Builder.Append("insert into blogs values(4,'test4')"); 38 | result = db.Execute(sql1); 39 | var sql2 = Sql.Builder.Append("update blogs set Url='test444' where BlogId=4"); 40 | result = db.Execute(sql2); 41 | 42 | var model2 = db.SingleOrDefault(1); 43 | var list = db.Query(Sql.Builder.Append("select * from blogs")).ToList(); 44 | var list2 = db.Page(1, 2, Sql.Builder.Append("select * from blogs")); 45 | var sql3 = Sql.Builder.Append("select * from blogs where BlogId=4"); 46 | var model1 = db.Query(sql3).FirstOrDefault(); 47 | var model3 = db.FirstOrDefault(sql3); 48 | 49 | //返回多个结果测试 50 | result = db.Fetch( 51 | (p, a) => 52 | { 53 | p.author_obj = a; 54 | return p; 55 | }, 56 | @"SELECT * FROM post LEFT JOIN author ON post.author = author.id 57 | ORDER BY post.id"); 58 | 59 | using (var multi = db.QueryMultiple("select * from post")) 60 | { 61 | result = multi.Read().ToList(); 62 | } 63 | using (var multi = db.QueryMultiple(@"SELECT * FROM post LEFT JOIN author ON post.author = author.id 64 | ORDER BY post.id")) 65 | { 66 | result = multi.Read((p, a) => { p.author_obj = a; return p; }).ToList(); 67 | } 68 | using (var multi = db.QueryMultiple("select * from post;select * from author;")) 69 | { 70 | var p = multi.Read().First(); 71 | var a = multi.Read().First(); 72 | } 73 | } 74 | catch (Exception ex) 75 | { 76 | Console.WriteLine(ex); 77 | } 78 | Console.ReadLine(); 79 | } 80 | } 81 | 82 | 83 | [TableName("post")] 84 | [PrimaryKey("id")] 85 | public class post 86 | { 87 | public long id { get; set; } 88 | public string title { get; set; } 89 | public long author { get; set; } 90 | 91 | [ResultColumn] 92 | public author author_obj { get; set; } 93 | } 94 | 95 | [TableName("post")] 96 | [PrimaryKey("id")] 97 | public class author 98 | { 99 | public long id { get; set; } 100 | public string name { get; set; } 101 | 102 | [ResultColumn] 103 | public List posts { get; set; } 104 | } 105 | 106 | 107 | [TableName("blogs")] 108 | [PrimaryKey("BlogId", autoIncrement = false)] 109 | public class Blog 110 | { 111 | public int BlogId { get; set; } 112 | public string Url { get; set; } 113 | } 114 | 115 | } 116 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyConfiguration("")] 9 | [assembly: AssemblyCompany("")] 10 | [assembly: AssemblyProduct("PetaPoco.NetCore.NetCoreTest")] 11 | [assembly: AssemblyTrademark("")] 12 | 13 | // Setting ComVisible to false makes the types in this assembly not visible 14 | // to COM components. If you need to access a type in this assembly from 15 | // COM, set the ComVisible attribute to true on that type. 16 | [assembly: ComVisible(false)] 17 | 18 | // The following GUID is for the ID of the typelib if this project is exposed to COM 19 | [assembly: Guid("8b345742-3d84-4175-9a1f-52351eb4457f")] 20 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "ProviderName": "MySql.Data.MySqlClient", 3 | "ConnectionStringName": "Conn", 4 | "ConnectionStrings": { 5 | "Conn": "server=localhost;database=test;uid=root;password=123456;charset=utf8;SslMode=None" 6 | }, 7 | "Logging": { 8 | "IncludeScopes": false, 9 | "LogLevel": { 10 | "Default": "Debug", 11 | "System": "Information", 12 | "Microsoft": "Information" 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/bin/Debug/netstandard1.5/PetaPoco.NetCore.NetCoreTest.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/src/PetaPoco.NetCore.NetCoreTest/bin/Debug/netstandard1.5/PetaPoco.NetCore.NetCoreTest.pdb -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/bin/Debug/netstandard1.5/PetaPoco.NetCore.NetCoreTest.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\hopinghu.ALOG\\.nuget\\packages" 5 | ] 6 | } 7 | } -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/bin/Debug/netstandard1.5/PetaPoco.NetCore.NetCoreTest.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "framework": { 4 | "name": "Microsoft.NETCore.App", 5 | "version": "1.0.0-rc2-3002702" 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/bin/Debug/netstandard1.5/PetaPoco.NetCore.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/src/PetaPoco.NetCore.NetCoreTest/bin/Debug/netstandard1.5/PetaPoco.NetCore.pdb -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/bin/Debug/netstandard1.5/PetaPoco.NetCore.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | PetaPoco.NetCore 5 | 6 | 7 | 8 | 9 | Reads from a GridReader, returning the results as an IEnumerable collection 10 | 11 | The Type representing a row in the result set 12 | An enumerable collection of result records 13 | 14 | 15 | 16 | Perform a multi-poco read from a GridReader 17 | 18 | The first POCO type 19 | The second POCO type 20 | A collection of POCO's as an IEnumerable 21 | 22 | 23 | 24 | Perform a multi-poco read from a GridReader 25 | 26 | The first POCO type 27 | The second POCO type 28 | The third POCO type 29 | A collection of POCO's as an IEnumerable 30 | 31 | 32 | 33 | Perform a multi-poco read from a GridReader 34 | 35 | The first POCO type 36 | The second POCO type 37 | The third POCO type 38 | The forth POCO type 39 | A collection of POCO's as an IEnumerable 40 | 41 | 42 | 43 | Perform a multi-poco query 44 | 45 | The first POCO type 46 | The second POCO type 47 | The type of objects in the returned IEnumerable 48 | A callback function to connect the POCO instances, or null to automatically guess the relationships 49 | A collection of POCO's as an IEnumerable 50 | 51 | 52 | 53 | Perform a multi-poco query 54 | 55 | The first POCO type 56 | The second POCO type 57 | The third POCO type 58 | The type of objects in the returned IEnumerable 59 | A callback function to connect the POCO instances, or null to automatically guess the relationships 60 | A collection of POCO's as an IEnumerable 61 | 62 | 63 | 64 | Perform a multi-poco query 65 | 66 | The first POCO type 67 | The second POCO type 68 | The third POCO type 69 | The forth POCO type 70 | The type of objects in the returned IEnumerable 71 | A callback function to connect the POCO instances, or null to automatically guess the relationships 72 | A collection of POCO's as an IEnumerable 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | The control structure for a multi-result set query 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | Reads from a GridReader, returning the results as an IEnumerable collection 91 | 92 | The Type representing a row in the result set 93 | An enumerable collection of result records 94 | 95 | 96 | 97 | Perform a multi-poco read from a GridReader 98 | 99 | The first POCO type 100 | The second POCO type 101 | A collection of POCO's as an IEnumerable 102 | 103 | 104 | 105 | Perform a multi-poco read from a GridReader 106 | 107 | The first POCO type 108 | The second POCO type 109 | The third POCO type 110 | A collection of POCO's as an IEnumerable 111 | 112 | 113 | 114 | Perform a multi-poco read from a GridReader 115 | 116 | The first POCO type 117 | The second POCO type 118 | The third POCO type 119 | The forth POCO type 120 | A collection of POCO's as an IEnumerable 121 | 122 | 123 | 124 | Perform a multi-poco query 125 | 126 | The first POCO type 127 | The second POCO type 128 | The type of objects in the returned IEnumerable 129 | A callback function to connect the POCO instances, or null to automatically guess the relationships 130 | A collection of POCO's as an IEnumerable 131 | 132 | 133 | 134 | Perform a multi-poco query 135 | 136 | The first POCO type 137 | The second POCO type 138 | The third POCO type 139 | The type of objects in the returned IEnumerable 140 | A callback function to connect the POCO instances, or null to automatically guess the relationships 141 | A collection of POCO's as an IEnumerable 142 | 143 | 144 | 145 | Perform a multi-poco query 146 | 147 | The first POCO type 148 | The second POCO type 149 | The third POCO type 150 | The forth POCO type 151 | The type of objects in the returned IEnumerable 152 | A callback function to connect the POCO instances, or null to automatically guess the relationships 153 | A collection of POCO's as an IEnumerable 154 | 155 | 156 | 157 | Read data to a single poco 158 | 159 | The type representing a row in the result set 160 | Reader row to be read from the underlying IDataReader 161 | 162 | 163 | 164 | 165 | Read data to multiple pocos 166 | 167 | The type of objects in the returned IEnumerable 168 | Reader row to be read from the underlying IDataReader 169 | An array of Types representing the POCO types of the returned result set. 170 | A callback function to connect the POCO instances, or null to automatically guess the relationships 171 | A collection of POCO's as an IEnumerable 172 | 173 | 174 | 175 | Advance the IDataReader to the NextResult, if available 176 | 177 | 178 | 179 | 180 | Dispose the grid, closing and disposing both the underlying reader, command and shared connection 181 | 182 | 183 | 184 | 185 | Override this to log/capture exceptions 186 | 187 | 188 | 189 | 190 | 191 | Perform a multi-results set query 192 | 193 | An SQL builder object representing the query and it's arguments 194 | A GridReader to be queried 195 | 196 | 197 | 198 | Perform a multi-results set query 199 | 200 | The SQL query to be executed 201 | Arguments to any embedded parameters in the SQL 202 | A GridReader to be queried 203 | 204 | 205 | 206 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/obj/Debug/netstandard1.5/.IncrementalCache: -------------------------------------------------------------------------------- 1 | {"inputs":["D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore.NetCoreTest\\project.json","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore.NetCoreTest\\project.lock.json","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore.NetCoreTest\\Program.cs","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore.NetCoreTest\\Properties\\AssemblyInfo.cs","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\bin\\Debug\\netstandard1.5\\PetaPoco.NetCore.dll"],"outputs":["D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore.NetCoreTest\\bin\\Debug\\netstandard1.5\\PetaPoco.NetCore.NetCoreTest.dll","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore.NetCoreTest\\bin\\Debug\\netstandard1.5\\PetaPoco.NetCore.NetCoreTest.pdb","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore.NetCoreTest\\bin\\Debug\\netstandard1.5\\PetaPoco.NetCore.NetCoreTest.deps.json","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore.NetCoreTest\\bin\\Debug\\netstandard1.5\\PetaPoco.NetCore.NetCoreTest.runtimeconfig.json"]} -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/obj/Debug/netstandard1.5/.SDKVersion: -------------------------------------------------------------------------------- 1 | 6cde21225e18fc48eeab3f4345ece3e6bb122e53 2 | 1.0.0-preview1-002702 3 | 4 | win10-x64 -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/obj/Debug/netstandard1.5/dotnet-compile-csc.rsp: -------------------------------------------------------------------------------- 1 | -d:DEBUG 2 | -d:TRACE 3 | -d:ASYNC 4 | -d:COREFX 5 | -d:NETSTANDARD1_5 6 | -nowarn:CS1701 7 | -nowarn:CS1702 8 | -nowarn:CS1705 9 | -debug:full 10 | -nostdlib 11 | -nologo 12 | "D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore.NetCoreTest\obj\Debug\netstandard1.5\dotnet-compile.assemblyinfo.cs" 13 | -out:"D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore.NetCoreTest\bin\Debug\netstandard1.5\PetaPoco.NetCore.NetCoreTest.dll" 14 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.CSharp\4.0.1\ref\netstandard1.0\Microsoft.CSharp.dll" 15 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration\1.0.0-rc2-final\lib\netstandard1.1\Microsoft.Extensions.Configuration.dll" 16 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.Abstractions\1.0.0-rc2-final\lib\netstandard1.0\Microsoft.Extensions.Configuration.Abstractions.dll" 17 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.EnvironmentVariables\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.Configuration.EnvironmentVariables.dll" 18 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.FileExtensions\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.Configuration.FileExtensions.dll" 19 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.Json\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.Configuration.Json.dll" 20 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.UserSecrets\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.Configuration.UserSecrets.dll" 21 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.FileProviders.Abstractions\1.0.0-rc2-final\lib\netstandard1.0\Microsoft.Extensions.FileProviders.Abstractions.dll" 22 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.FileProviders.Physical\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.FileProviders.Physical.dll" 23 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.FileSystemGlobbing\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.FileSystemGlobbing.dll" 24 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Primitives\1.0.0-rc2-final\lib\netstandard1.0\Microsoft.Extensions.Primitives.dll" 25 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.VisualBasic\10.0.1-rc2-24027\ref\netstandard1.1\Microsoft.VisualBasic.dll" 26 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Win32.Primitives\4.0.1\ref\netstandard1.3\Microsoft.Win32.Primitives.dll" 27 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Newtonsoft.Json\9.0.1\lib\netstandard1.0\Newtonsoft.Json.dll" 28 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Pomelo.Data.MySql\1.0.0\lib\netstandard1.3\Pomelo.Data.MySql.dll" 29 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.AppContext\4.1.0-rc2-24027\ref\netstandard1.5\System.AppContext.dll" 30 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Buffers\4.0.0-rc2-24027\lib\netstandard1.1\System.Buffers.dll" 31 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Collections\4.0.11\ref\netstandard1.3\System.Collections.dll" 32 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Collections.Concurrent\4.0.12\ref\netstandard1.3\System.Collections.Concurrent.dll" 33 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Collections.Immutable\1.2.0-rc2-24027\lib\netstandard1.0\System.Collections.Immutable.dll" 34 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Collections.NonGeneric\4.0.1\ref\netstandard1.3\System.Collections.NonGeneric.dll" 35 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.ComponentModel\4.0.1\ref\netstandard1.0\System.ComponentModel.dll" 36 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.ComponentModel.Annotations\4.1.0-rc2-24027\ref\netstandard1.4\System.ComponentModel.Annotations.dll" 37 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.ComponentModel.Primitives\4.1.0\ref\netstandard1.0\System.ComponentModel.Primitives.dll" 38 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.ComponentModel.TypeConverter\4.1.0\ref\netstandard1.5\System.ComponentModel.TypeConverter.dll" 39 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Console\4.0.0\ref\netstandard1.3\System.Console.dll" 40 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Data.Common\4.1.0\ref\netstandard1.2\System.Data.Common.dll" 41 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Data.SqlClient\4.1.0\ref\netstandard1.3\System.Data.SqlClient.dll" 42 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Contracts\4.0.1\ref\netstandard1.0\System.Diagnostics.Contracts.dll" 43 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Debug\4.0.11\ref\netstandard1.3\System.Diagnostics.Debug.dll" 44 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.DiagnosticSource\4.0.0\lib\netstandard1.3\System.Diagnostics.DiagnosticSource.dll" 45 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Process\4.1.0-rc2-24027\ref\netstandard1.4\System.Diagnostics.Process.dll" 46 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Tools\4.0.1\ref\netstandard1.0\System.Diagnostics.Tools.dll" 47 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Tracing\4.1.0\ref\netstandard1.5\System.Diagnostics.Tracing.dll" 48 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Dynamic.Runtime\4.0.11\ref\netstandard1.3\System.Dynamic.Runtime.dll" 49 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Globalization\4.0.11\ref\netstandard1.3\System.Globalization.dll" 50 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Globalization.Calendars\4.0.1-rc2-24027\ref\netstandard1.3\System.Globalization.Calendars.dll" 51 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Globalization.Extensions\4.0.1\ref\netstandard1.3\System.Globalization.Extensions.dll" 52 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.IO\4.1.0\ref\netstandard1.5\System.IO.dll" 53 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.Compression\4.1.0-rc2-24027\ref\netstandard1.3\System.IO.Compression.dll" 54 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.Compression.ZipFile\4.0.1-rc2-24027\ref\netstandard1.3\System.IO.Compression.ZipFile.dll" 55 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.FileSystem\4.0.1\ref\netstandard1.3\System.IO.FileSystem.dll" 56 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.FileSystem.Primitives\4.0.1\ref\netstandard1.3\System.IO.FileSystem.Primitives.dll" 57 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.FileSystem.Watcher\4.0.0-rc2-24027\ref\netstandard1.3\System.IO.FileSystem.Watcher.dll" 58 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.MemoryMappedFiles\4.0.0-rc2-24027\ref\netstandard1.3\System.IO.MemoryMappedFiles.dll" 59 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.UnmanagedMemoryStream\4.0.1-rc2-24027\ref\netstandard1.3\System.IO.UnmanagedMemoryStream.dll" 60 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Linq\4.1.0\ref\netstandard1.0\System.Linq.dll" 61 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Linq.Expressions\4.1.0\ref\netstandard1.3\System.Linq.Expressions.dll" 62 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Linq.Parallel\4.0.1-rc2-24027\ref\netstandard1.1\System.Linq.Parallel.dll" 63 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Linq.Queryable\4.0.1-rc2-24027\ref\netstandard1.0\System.Linq.Queryable.dll" 64 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Http\4.0.1-rc2-24027\ref\netstandard1.1\System.Net.Http.dll" 65 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.NameResolution\4.0.0\ref\netstandard1.3\System.Net.NameResolution.dll" 66 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Primitives\4.0.11\ref\netstandard1.3\System.Net.Primitives.dll" 67 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Requests\4.0.11-rc2-24027\ref\netstandard1.3\System.Net.Requests.dll" 68 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Security\4.0.0\ref\netstandard1.3\System.Net.Security.dll" 69 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Sockets\4.1.0\ref\netstandard1.3\System.Net.Sockets.dll" 70 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.WebHeaderCollection\4.0.1-rc2-24027\ref\netstandard1.3\System.Net.WebHeaderCollection.dll" 71 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Numerics.Vectors\4.1.1-rc2-24027\ref\netstandard1.1\System.Numerics.Vectors.dll" 72 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.ObjectModel\4.0.12\ref\netstandard1.3\System.ObjectModel.dll" 73 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection\4.1.0\ref\netstandard1.5\System.Reflection.dll" 74 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.DispatchProxy\4.0.1-rc2-24027\ref\netstandard1.3\System.Reflection.DispatchProxy.dll" 75 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Emit.ILGeneration\4.0.1\ref\netstandard1.0\System.Reflection.Emit.ILGeneration.dll" 76 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Emit.Lightweight\4.0.1\ref\netstandard1.0\System.Reflection.Emit.Lightweight.dll" 77 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Extensions\4.0.1\ref\netstandard1.0\System.Reflection.Extensions.dll" 78 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Metadata\1.3.0-rc2-24027\lib\netstandard1.1\System.Reflection.Metadata.dll" 79 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Primitives\4.0.1\ref\netstandard1.0\System.Reflection.Primitives.dll" 80 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.TypeExtensions\4.1.0\ref\netstandard1.5\System.Reflection.TypeExtensions.dll" 81 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Resources.Reader\4.0.0-rc2-24027\lib\netstandard1.0\System.Resources.Reader.dll" 82 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Resources.ResourceManager\4.0.1\ref\netstandard1.0\System.Resources.ResourceManager.dll" 83 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime\4.1.0\ref\netstandard1.5\System.Runtime.dll" 84 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.Extensions\4.1.0\ref\netstandard1.5\System.Runtime.Extensions.dll" 85 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.Handles\4.0.1\ref\netstandard1.3\System.Runtime.Handles.dll" 86 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.InteropServices\4.1.0\ref\netstandard1.5\System.Runtime.InteropServices.dll" 87 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.InteropServices.RuntimeInformation\4.0.0\ref\netstandard1.1\System.Runtime.InteropServices.RuntimeInformation.dll" 88 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.Numerics\4.0.1\ref\netstandard1.1\System.Runtime.Numerics.dll" 89 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.Serialization.Primitives\4.1.1\ref\netstandard1.3\System.Runtime.Serialization.Primitives.dll" 90 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Cryptography.Algorithms\4.2.0\ref\netstandard1.4\System.Security.Cryptography.Algorithms.dll" 91 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Cryptography.Encoding\4.0.0\ref\netstandard1.3\System.Security.Cryptography.Encoding.dll" 92 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Cryptography.Primitives\4.0.0\ref\netstandard1.3\System.Security.Cryptography.Primitives.dll" 93 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Cryptography.X509Certificates\4.1.0\ref\netstandard1.4\System.Security.Cryptography.X509Certificates.dll" 94 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Principal\4.0.1\ref\netstandard1.0\System.Security.Principal.dll" 95 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Text.Encoding\4.0.11\ref\netstandard1.3\System.Text.Encoding.dll" 96 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Text.Encoding.CodePages\4.0.1\ref\netstandard1.3\System.Text.Encoding.CodePages.dll" 97 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Text.Encoding.Extensions\4.0.11\ref\netstandard1.3\System.Text.Encoding.Extensions.dll" 98 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Text.RegularExpressions\4.1.0\ref\netstandard1.3\System.Text.RegularExpressions.dll" 99 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading\4.0.11\ref\netstandard1.3\System.Threading.dll" 100 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Tasks\4.0.11\ref\netstandard1.3\System.Threading.Tasks.dll" 101 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Tasks.Dataflow\4.6.0-rc2-24027\lib\netstandard1.1\System.Threading.Tasks.Dataflow.dll" 102 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Tasks.Extensions\4.0.0\lib\netstandard1.0\System.Threading.Tasks.Extensions.dll" 103 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Tasks.Parallel\4.0.1-rc2-24027\ref\netstandard1.1\System.Threading.Tasks.Parallel.dll" 104 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Thread\4.0.0\ref\netstandard1.3\System.Threading.Thread.dll" 105 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.ThreadPool\4.0.10\ref\netstandard1.3\System.Threading.ThreadPool.dll" 106 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Timer\4.0.1\ref\netstandard1.2\System.Threading.Timer.dll" 107 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Xml.ReaderWriter\4.0.11\ref\netstandard1.3\System.Xml.ReaderWriter.dll" 108 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Xml.XDocument\4.0.11\ref\netstandard1.3\System.Xml.XDocument.dll" 109 | -r:"D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\bin\Debug\netstandard1.5\PetaPoco.NetCore.dll" 110 | "D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore.NetCoreTest\Program.cs" 111 | "D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore.NetCoreTest\Properties\AssemblyInfo.cs" 112 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/obj/Debug/netstandard1.5/dotnet-compile.assemblyinfo.cs: -------------------------------------------------------------------------------- 1 | // This file has been auto generated. 2 | [assembly:System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 3 | [assembly:System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 4 | [assembly:System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 5 | [assembly:System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v1.5")] -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/obj/Debug/netstandard1.5/dotnet-compile.rsp: -------------------------------------------------------------------------------- 1 | --temp-output:D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore.NetCoreTest\obj\Debug\netstandard1.5\ 2 | --out:D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore.NetCoreTest\bin\Debug\netstandard1.5\PetaPoco.NetCore.NetCoreTest.dll 3 | --define:DEBUG 4 | --define:TRACE 5 | --define:ASYNC 6 | --define:COREFX 7 | --define:NETSTANDARD1_5 8 | --suppress-warning:CS1701 9 | --suppress-warning:CS1702 10 | --suppress-warning:CS1705 11 | --optimize:False 12 | --emit-entry-point:True 13 | --output-name:PetaPoco.NetCore.NetCoreTest 14 | --file-version:1.0.0.0 15 | --version:1.0.0.0 16 | --informational-version:1.0.0 17 | --target-framework:.NETStandard,Version=v1.5 18 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.CSharp\4.0.1\ref\netstandard1.0\Microsoft.CSharp.dll 19 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration\1.0.0-rc2-final\lib\netstandard1.1\Microsoft.Extensions.Configuration.dll 20 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.Abstractions\1.0.0-rc2-final\lib\netstandard1.0\Microsoft.Extensions.Configuration.Abstractions.dll 21 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.EnvironmentVariables\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.Configuration.EnvironmentVariables.dll 22 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.FileExtensions\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.Configuration.FileExtensions.dll 23 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.Json\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.Configuration.Json.dll 24 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.UserSecrets\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.Configuration.UserSecrets.dll 25 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.FileProviders.Abstractions\1.0.0-rc2-final\lib\netstandard1.0\Microsoft.Extensions.FileProviders.Abstractions.dll 26 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.FileProviders.Physical\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.FileProviders.Physical.dll 27 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.FileSystemGlobbing\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.FileSystemGlobbing.dll 28 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Primitives\1.0.0-rc2-final\lib\netstandard1.0\Microsoft.Extensions.Primitives.dll 29 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.VisualBasic\10.0.1-rc2-24027\ref\netstandard1.1\Microsoft.VisualBasic.dll 30 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Win32.Primitives\4.0.1\ref\netstandard1.3\Microsoft.Win32.Primitives.dll 31 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Newtonsoft.Json\9.0.1\lib\netstandard1.0\Newtonsoft.Json.dll 32 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Pomelo.Data.MySql\1.0.0\lib\netstandard1.3\Pomelo.Data.MySql.dll 33 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.AppContext\4.1.0-rc2-24027\ref\netstandard1.5\System.AppContext.dll 34 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Buffers\4.0.0-rc2-24027\lib\netstandard1.1\System.Buffers.dll 35 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Collections\4.0.11\ref\netstandard1.3\System.Collections.dll 36 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Collections.Concurrent\4.0.12\ref\netstandard1.3\System.Collections.Concurrent.dll 37 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Collections.Immutable\1.2.0-rc2-24027\lib\netstandard1.0\System.Collections.Immutable.dll 38 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Collections.NonGeneric\4.0.1\ref\netstandard1.3\System.Collections.NonGeneric.dll 39 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.ComponentModel\4.0.1\ref\netstandard1.0\System.ComponentModel.dll 40 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.ComponentModel.Annotations\4.1.0-rc2-24027\ref\netstandard1.4\System.ComponentModel.Annotations.dll 41 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.ComponentModel.Primitives\4.1.0\ref\netstandard1.0\System.ComponentModel.Primitives.dll 42 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.ComponentModel.TypeConverter\4.1.0\ref\netstandard1.5\System.ComponentModel.TypeConverter.dll 43 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Console\4.0.0\ref\netstandard1.3\System.Console.dll 44 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Data.Common\4.1.0\ref\netstandard1.2\System.Data.Common.dll 45 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Data.SqlClient\4.1.0\ref\netstandard1.3\System.Data.SqlClient.dll 46 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Contracts\4.0.1\ref\netstandard1.0\System.Diagnostics.Contracts.dll 47 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Debug\4.0.11\ref\netstandard1.3\System.Diagnostics.Debug.dll 48 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.DiagnosticSource\4.0.0\lib\netstandard1.3\System.Diagnostics.DiagnosticSource.dll 49 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Process\4.1.0-rc2-24027\ref\netstandard1.4\System.Diagnostics.Process.dll 50 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Tools\4.0.1\ref\netstandard1.0\System.Diagnostics.Tools.dll 51 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Tracing\4.1.0\ref\netstandard1.5\System.Diagnostics.Tracing.dll 52 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Dynamic.Runtime\4.0.11\ref\netstandard1.3\System.Dynamic.Runtime.dll 53 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Globalization\4.0.11\ref\netstandard1.3\System.Globalization.dll 54 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Globalization.Calendars\4.0.1-rc2-24027\ref\netstandard1.3\System.Globalization.Calendars.dll 55 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Globalization.Extensions\4.0.1\ref\netstandard1.3\System.Globalization.Extensions.dll 56 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.IO\4.1.0\ref\netstandard1.5\System.IO.dll 57 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.Compression\4.1.0-rc2-24027\ref\netstandard1.3\System.IO.Compression.dll 58 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.Compression.ZipFile\4.0.1-rc2-24027\ref\netstandard1.3\System.IO.Compression.ZipFile.dll 59 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.FileSystem\4.0.1\ref\netstandard1.3\System.IO.FileSystem.dll 60 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.FileSystem.Primitives\4.0.1\ref\netstandard1.3\System.IO.FileSystem.Primitives.dll 61 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.FileSystem.Watcher\4.0.0-rc2-24027\ref\netstandard1.3\System.IO.FileSystem.Watcher.dll 62 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.MemoryMappedFiles\4.0.0-rc2-24027\ref\netstandard1.3\System.IO.MemoryMappedFiles.dll 63 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.UnmanagedMemoryStream\4.0.1-rc2-24027\ref\netstandard1.3\System.IO.UnmanagedMemoryStream.dll 64 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Linq\4.1.0\ref\netstandard1.0\System.Linq.dll 65 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Linq.Expressions\4.1.0\ref\netstandard1.3\System.Linq.Expressions.dll 66 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Linq.Parallel\4.0.1-rc2-24027\ref\netstandard1.1\System.Linq.Parallel.dll 67 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Linq.Queryable\4.0.1-rc2-24027\ref\netstandard1.0\System.Linq.Queryable.dll 68 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Http\4.0.1-rc2-24027\ref\netstandard1.1\System.Net.Http.dll 69 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.NameResolution\4.0.0\ref\netstandard1.3\System.Net.NameResolution.dll 70 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Primitives\4.0.11\ref\netstandard1.3\System.Net.Primitives.dll 71 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Requests\4.0.11-rc2-24027\ref\netstandard1.3\System.Net.Requests.dll 72 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Security\4.0.0\ref\netstandard1.3\System.Net.Security.dll 73 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Sockets\4.1.0\ref\netstandard1.3\System.Net.Sockets.dll 74 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.WebHeaderCollection\4.0.1-rc2-24027\ref\netstandard1.3\System.Net.WebHeaderCollection.dll 75 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Numerics.Vectors\4.1.1-rc2-24027\ref\netstandard1.1\System.Numerics.Vectors.dll 76 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.ObjectModel\4.0.12\ref\netstandard1.3\System.ObjectModel.dll 77 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection\4.1.0\ref\netstandard1.5\System.Reflection.dll 78 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.DispatchProxy\4.0.1-rc2-24027\ref\netstandard1.3\System.Reflection.DispatchProxy.dll 79 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Emit.ILGeneration\4.0.1\ref\netstandard1.0\System.Reflection.Emit.ILGeneration.dll 80 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Emit.Lightweight\4.0.1\ref\netstandard1.0\System.Reflection.Emit.Lightweight.dll 81 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Extensions\4.0.1\ref\netstandard1.0\System.Reflection.Extensions.dll 82 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Metadata\1.3.0-rc2-24027\lib\netstandard1.1\System.Reflection.Metadata.dll 83 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Primitives\4.0.1\ref\netstandard1.0\System.Reflection.Primitives.dll 84 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.TypeExtensions\4.1.0\ref\netstandard1.5\System.Reflection.TypeExtensions.dll 85 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Resources.Reader\4.0.0-rc2-24027\lib\netstandard1.0\System.Resources.Reader.dll 86 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Resources.ResourceManager\4.0.1\ref\netstandard1.0\System.Resources.ResourceManager.dll 87 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime\4.1.0\ref\netstandard1.5\System.Runtime.dll 88 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.Extensions\4.1.0\ref\netstandard1.5\System.Runtime.Extensions.dll 89 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.Handles\4.0.1\ref\netstandard1.3\System.Runtime.Handles.dll 90 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.InteropServices\4.1.0\ref\netstandard1.5\System.Runtime.InteropServices.dll 91 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.InteropServices.RuntimeInformation\4.0.0\ref\netstandard1.1\System.Runtime.InteropServices.RuntimeInformation.dll 92 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.Numerics\4.0.1\ref\netstandard1.1\System.Runtime.Numerics.dll 93 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.Serialization.Primitives\4.1.1\ref\netstandard1.3\System.Runtime.Serialization.Primitives.dll 94 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Cryptography.Algorithms\4.2.0\ref\netstandard1.4\System.Security.Cryptography.Algorithms.dll 95 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Cryptography.Encoding\4.0.0\ref\netstandard1.3\System.Security.Cryptography.Encoding.dll 96 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Cryptography.Primitives\4.0.0\ref\netstandard1.3\System.Security.Cryptography.Primitives.dll 97 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Cryptography.X509Certificates\4.1.0\ref\netstandard1.4\System.Security.Cryptography.X509Certificates.dll 98 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Principal\4.0.1\ref\netstandard1.0\System.Security.Principal.dll 99 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Text.Encoding\4.0.11\ref\netstandard1.3\System.Text.Encoding.dll 100 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Text.Encoding.CodePages\4.0.1\ref\netstandard1.3\System.Text.Encoding.CodePages.dll 101 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Text.Encoding.Extensions\4.0.11\ref\netstandard1.3\System.Text.Encoding.Extensions.dll 102 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Text.RegularExpressions\4.1.0\ref\netstandard1.3\System.Text.RegularExpressions.dll 103 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading\4.0.11\ref\netstandard1.3\System.Threading.dll 104 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Tasks\4.0.11\ref\netstandard1.3\System.Threading.Tasks.dll 105 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Tasks.Dataflow\4.6.0-rc2-24027\lib\netstandard1.1\System.Threading.Tasks.Dataflow.dll 106 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Tasks.Extensions\4.0.0\lib\netstandard1.0\System.Threading.Tasks.Extensions.dll 107 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Tasks.Parallel\4.0.1-rc2-24027\ref\netstandard1.1\System.Threading.Tasks.Parallel.dll 108 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Thread\4.0.0\ref\netstandard1.3\System.Threading.Thread.dll 109 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.ThreadPool\4.0.10\ref\netstandard1.3\System.Threading.ThreadPool.dll 110 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Timer\4.0.1\ref\netstandard1.2\System.Threading.Timer.dll 111 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Xml.ReaderWriter\4.0.11\ref\netstandard1.3\System.Xml.ReaderWriter.dll 112 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Xml.XDocument\4.0.11\ref\netstandard1.3\System.Xml.XDocument.dll 113 | --reference:D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\bin\Debug\netstandard1.5\PetaPoco.NetCore.dll 114 | D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore.NetCoreTest\Program.cs 115 | D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore.NetCoreTest\Properties\AssemblyInfo.cs 116 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0.0-*", 3 | "buildOptions": { 4 | "emitEntryPoint": true 5 | }, 6 | 7 | "dependencies": { 8 | "PetaPoco.NetCore": "1.0.0" 9 | }, 10 | 11 | "frameworks": { 12 | "netstandard1.5": { 13 | "buildOptions": { 14 | "define": [ "ASYNC", "COREFX" ] 15 | }, 16 | "imports": [ 17 | "dotnet5.6", 18 | "dnxcore50" 19 | ], 20 | "dependencies": { 21 | "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-rc2-final", 22 | "Microsoft.Extensions.Configuration.Json": "1.0.0-rc2-final", 23 | "Microsoft.Extensions.Configuration.UserSecrets": "1.0.0-rc2-final", 24 | "Microsoft.NETCore.App": { 25 | "version": "1.0.0-rc2-3002702", 26 | "type": "platform" 27 | }, 28 | "Pomelo.Data.MySql": "1.0.0", 29 | "System.Text.Encoding.CodePages": "4.0.1" 30 | } 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore.NetCoreTest/test.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE blogs ( 2 | BlogId int(11) NOT NULL PRIMARY KEY, 3 | Url varchar(1000) DEFAULT NULL 4 | ); 5 | 6 | create table post( 7 | id int, 8 | title varchar(32), 9 | author int 10 | ); 11 | 12 | drop table author; 13 | create table author( 14 | id int, 15 | name varchar(32) 16 | ); 17 | 18 | INSERT into blogs values(1,'test1'); 19 | INSERT into blogs values(2,'test2'); 20 | 21 | 22 | INSERT into author value(1,'作者1'); 23 | INSERT into author value(2,'作者2'); 24 | 25 | INSERT into post values(1,'book1',1); 26 | INSERT into post values(2,'book2',1); 27 | INSERT into post values(3,'book3',2); 28 | INSERT into post values(4,'book4',2); -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/PetaPoco.Multiple.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Data; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | 7 | namespace PetaPoco.NetCore 8 | { 9 | public interface IGridReader : IDisposable 10 | { 11 | /// 12 | /// Reads from a GridReader, returning the results as an IEnumerable collection 13 | /// 14 | /// The Type representing a row in the result set 15 | /// An enumerable collection of result records 16 | IEnumerable Read(); 17 | 18 | /// 19 | /// Perform a multi-poco read from a GridReader 20 | /// 21 | /// The first POCO type 22 | /// The second POCO type 23 | /// A collection of POCO's as an IEnumerable 24 | IEnumerable Read(); 25 | 26 | /// 27 | /// Perform a multi-poco read from a GridReader 28 | /// 29 | /// The first POCO type 30 | /// The second POCO type 31 | /// The third POCO type 32 | /// A collection of POCO's as an IEnumerable 33 | IEnumerable Read(); 34 | 35 | /// 36 | /// Perform a multi-poco read from a GridReader 37 | /// 38 | /// The first POCO type 39 | /// The second POCO type 40 | /// The third POCO type 41 | /// The forth POCO type 42 | /// A collection of POCO's as an IEnumerable 43 | IEnumerable Read(); 44 | 45 | /// 46 | /// Perform a multi-poco query 47 | /// 48 | /// The first POCO type 49 | /// The second POCO type 50 | /// The type of objects in the returned IEnumerable 51 | /// A callback function to connect the POCO instances, or null to automatically guess the relationships 52 | /// A collection of POCO's as an IEnumerable 53 | IEnumerable Read(Func cb); 54 | 55 | /// 56 | /// Perform a multi-poco query 57 | /// 58 | /// The first POCO type 59 | /// The second POCO type 60 | /// The third POCO type 61 | /// The type of objects in the returned IEnumerable 62 | /// A callback function to connect the POCO instances, or null to automatically guess the relationships 63 | /// A collection of POCO's as an IEnumerable 64 | IEnumerable Read(Func cb); 65 | 66 | /// 67 | /// Perform a multi-poco query 68 | /// 69 | /// The first POCO type 70 | /// The second POCO type 71 | /// The third POCO type 72 | /// The forth POCO type 73 | /// The type of objects in the returned IEnumerable 74 | /// A callback function to connect the POCO instances, or null to automatically guess the relationships 75 | /// A collection of POCO's as an IEnumerable 76 | IEnumerable Read(Func cb); 77 | } 78 | 79 | /// 80 | /// 81 | /// 82 | public class GridReader : IGridReader 83 | { 84 | private IDataReader _reader; 85 | private IDbCommand _command; 86 | private readonly Database _db; 87 | private readonly IMapper _defaultMapper; 88 | 89 | /// 90 | /// The control structure for a multi-result set query 91 | /// 92 | /// 93 | /// 94 | /// 95 | /// 96 | internal GridReader(Database database, IDbCommand command, IDataReader reader, IMapper defaultMapper) 97 | { 98 | _db = database; 99 | _command = command; 100 | _reader = reader; 101 | _defaultMapper = defaultMapper; 102 | } 103 | 104 | #region public Read methods 105 | 106 | /// 107 | /// Reads from a GridReader, returning the results as an IEnumerable collection 108 | /// 109 | /// The Type representing a row in the result set 110 | /// An enumerable collection of result records 111 | public IEnumerable Read() 112 | { 113 | return SinglePocoFromIDataReader(_gridIndex); 114 | } 115 | 116 | /// 117 | /// Perform a multi-poco read from a GridReader 118 | /// 119 | /// The first POCO type 120 | /// The second POCO type 121 | /// A collection of POCO's as an IEnumerable 122 | public IEnumerable Read() 123 | { 124 | return MultiPocoFromIDataReader(_gridIndex, new Type[] { typeof(T1), typeof(T2) }, null); 125 | } 126 | 127 | /// 128 | /// Perform a multi-poco read from a GridReader 129 | /// 130 | /// The first POCO type 131 | /// The second POCO type 132 | /// The third POCO type 133 | /// A collection of POCO's as an IEnumerable 134 | public IEnumerable Read() 135 | { 136 | return MultiPocoFromIDataReader(_gridIndex, new Type[] { typeof(T1), typeof(T2), typeof(T3) }, null); 137 | } 138 | 139 | /// 140 | /// Perform a multi-poco read from a GridReader 141 | /// 142 | /// The first POCO type 143 | /// The second POCO type 144 | /// The third POCO type 145 | /// The forth POCO type 146 | /// A collection of POCO's as an IEnumerable 147 | public IEnumerable Read() 148 | { 149 | return MultiPocoFromIDataReader(_gridIndex, 150 | new Type[] { typeof(T1), typeof(T2), typeof(T3), typeof(T4) }, null); 151 | } 152 | 153 | /// 154 | /// Perform a multi-poco query 155 | /// 156 | /// The first POCO type 157 | /// The second POCO type 158 | /// The type of objects in the returned IEnumerable 159 | /// A callback function to connect the POCO instances, or null to automatically guess the relationships 160 | /// A collection of POCO's as an IEnumerable 161 | public IEnumerable Read(Func cb) 162 | { 163 | return MultiPocoFromIDataReader(_gridIndex, new Type[] { typeof(T1), typeof(T2) }, cb); 164 | } 165 | 166 | /// 167 | /// Perform a multi-poco query 168 | /// 169 | /// The first POCO type 170 | /// The second POCO type 171 | /// The third POCO type 172 | /// The type of objects in the returned IEnumerable 173 | /// A callback function to connect the POCO instances, or null to automatically guess the relationships 174 | /// A collection of POCO's as an IEnumerable 175 | public IEnumerable Read(Func cb) 176 | { 177 | return MultiPocoFromIDataReader(_gridIndex, new Type[] { typeof(T1), typeof(T2), typeof(T3) }, cb); 178 | } 179 | 180 | /// 181 | /// Perform a multi-poco query 182 | /// 183 | /// The first POCO type 184 | /// The second POCO type 185 | /// The third POCO type 186 | /// The forth POCO type 187 | /// The type of objects in the returned IEnumerable 188 | /// A callback function to connect the POCO instances, or null to automatically guess the relationships 189 | /// A collection of POCO's as an IEnumerable 190 | public IEnumerable Read(Func cb) 191 | { 192 | return MultiPocoFromIDataReader(_gridIndex, 193 | new Type[] { typeof(T1), typeof(T2), typeof(T3), typeof(T4) }, cb); 194 | } 195 | 196 | #endregion 197 | 198 | #region PocoFromIDataReader 199 | 200 | /// 201 | /// Read data to a single poco 202 | /// 203 | /// The type representing a row in the result set 204 | /// Reader row to be read from the underlying IDataReader 205 | /// 206 | private IEnumerable SinglePocoFromIDataReader(int index) 207 | { 208 | if (_reader == null) 209 | throw new ObjectDisposedException(GetType().FullName, "The data reader has been disposed"); 210 | if (_consumed) 211 | throw new InvalidOperationException( 212 | "Query results must be consumed in the correct order, and each result can only be consumed once"); 213 | _consumed = true; 214 | 215 | var pd = Database.PocoData.ForType(typeof(T)); 216 | try 217 | { 218 | while (index == _gridIndex) 219 | { 220 | var factory = 221 | pd.GetFactory(_command.CommandText, _command.Connection.ConnectionString, false, 0, _reader.FieldCount, 222 | _reader) as Func; 223 | 224 | while (true) 225 | { 226 | T poco; 227 | try 228 | { 229 | if (!_reader.Read()) 230 | yield break; 231 | poco = factory(_reader); 232 | } 233 | catch (Exception x) 234 | { 235 | throw; 236 | yield break; 237 | } 238 | 239 | yield return poco; 240 | } 241 | } 242 | } 243 | finally // finally so that First etc progresses things even when multiple rows 244 | { 245 | if (index == _gridIndex) 246 | { 247 | NextResult(); 248 | } 249 | } 250 | } 251 | 252 | /// 253 | /// Read data to multiple pocos 254 | /// 255 | /// The type of objects in the returned IEnumerable 256 | /// Reader row to be read from the underlying IDataReader 257 | /// An array of Types representing the POCO types of the returned result set. 258 | /// A callback function to connect the POCO instances, or null to automatically guess the relationships 259 | /// A collection of POCO's as an IEnumerable 260 | private IEnumerable MultiPocoFromIDataReader(int index, Type[] types, object cb) 261 | { 262 | if (_reader == null) 263 | throw new ObjectDisposedException(GetType().FullName, "The data reader has been disposed"); 264 | if (_consumed) 265 | throw new InvalidOperationException( 266 | "Query results must be consumed in the correct order, and each result can only be consumed once"); 267 | _consumed = true; 268 | 269 | try 270 | { 271 | var cmd = _command; 272 | var r = _reader; 273 | 274 | var factory = _db.GetMultiPocoFactory(types, _command.CommandText, r); ;// MultiPocoFactory.GetFactory(types, cmd.Connection.ConnectionString, cmd.CommandText, r, _defaultMapper); 275 | if (cb == null) 276 | cb = _db.GetAutoMapper(types.ToArray()); 277 | bool bNeedTerminator = false; 278 | 279 | while (true) 280 | { 281 | TRet poco; 282 | try 283 | { 284 | if (!r.Read()) 285 | break; 286 | poco = factory(r, cb); 287 | } 288 | catch (Exception x) 289 | { 290 | throw; 291 | yield break; 292 | } 293 | 294 | if (poco != null) 295 | yield return poco; 296 | else 297 | bNeedTerminator = true; 298 | } 299 | if (bNeedTerminator) 300 | { 301 | var poco = (TRet)(cb as Delegate).DynamicInvoke(new object[types.Length]); 302 | if (poco != null) 303 | yield return poco; 304 | else 305 | yield break; 306 | } 307 | } 308 | finally 309 | { 310 | if (index == _gridIndex) 311 | { 312 | NextResult(); 313 | } 314 | } 315 | } 316 | 317 | #endregion 318 | 319 | #region DataReader Management 320 | 321 | private int _gridIndex; 322 | private bool _consumed; 323 | 324 | /// 325 | /// Advance the IDataReader to the NextResult, if available 326 | /// 327 | private void NextResult() 328 | { 329 | if (!_reader.NextResult()) 330 | return; 331 | _gridIndex++; 332 | _consumed = false; 333 | } 334 | 335 | /// 336 | /// Dispose the grid, closing and disposing both the underlying reader, command and shared connection 337 | /// 338 | public void Dispose() 339 | { 340 | if (_reader != null) 341 | { 342 | if (!_reader.IsClosed && _command != null) 343 | _command.Cancel(); 344 | _reader.Dispose(); 345 | _reader = null; 346 | } 347 | 348 | if (_command != null) 349 | { 350 | _command.Dispose(); 351 | _command = null; 352 | } 353 | _db.CloseSharedConnection(); 354 | } 355 | 356 | #endregion 357 | } 358 | } 359 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/PetaPoco.NetCore.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | PetaPoco.NetCore 5 | 1.0.0 6 | hoping 7 | hoping 8 | https://github.com/qingask/PetaPoco.NetCore/blob/master/LICENSE 9 | https://github.com/qingask/PetaPoco.NetCore 10 | https://avatars3.githubusercontent.com/u/22149931?v=3&s=40 11 | false 12 | PetaPoco.NetCore is a fork of PetaPoco based, add .netcore support,In. Netcore, support for mysql,sqlserver 13 | PetaPoco.NetCore is a fork of PetaPoco based, add .netcore support,In. Netcore, support for mysql,sqlserver. 14 | chinahuxp@126.com 15 | PetaPoco.NetCore,petapoco , netcore 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/PetaPoco.NetCore.xproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 14.0 5 | $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) 6 | 7 | 8 | 9 | 10 | b0b52689-2c17-45b4-999f-4b4e557057b0 11 | PetaPoco.NetCore 12 | .\obj 13 | .\bin\ 14 | v4.5 15 | 16 | 17 | 18 | 2.0 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/PetaPoco.NetCore.xproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 启动 5 | false 6 | 7 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("PetaPoco.NetCore")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("PetaPoco.NetCore")] 13 | [assembly: AssemblyCopyright("Copyright © chinahuxp@qq.com")] 14 | [assembly: AssemblyTrademark("")] 15 | 16 | // Setting ComVisible to false makes the types in this assembly not visible 17 | // to COM components. If you need to access a type in this assembly from 18 | // COM, set the ComVisible attribute to true on that type. 19 | [assembly: ComVisible(false)] 20 | 21 | // The following GUID is for the ID of the typelib if this project is exposed to COM 22 | [assembly: Guid("C35DAE52-D167-4EC2-95BA-FCD075D3287C")] 23 | 24 | [assembly: AssemblyVersion("1.0.1")] 25 | [assembly: AssemblyFileVersion("1.0.1")] 26 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/bin/Debug/PetaPoco.NetCore.1.0.0.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/src/PetaPoco.NetCore/bin/Debug/PetaPoco.NetCore.1.0.0.nupkg -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/bin/Debug/PetaPoco.NetCore.1.0.0.symbols.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/src/PetaPoco.NetCore/bin/Debug/PetaPoco.NetCore.1.0.0.symbols.nupkg -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/bin/Debug/PetaPoco.NetCore.1.0.1.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/src/PetaPoco.NetCore/bin/Debug/PetaPoco.NetCore.1.0.1.nupkg -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/bin/Debug/PetaPoco.NetCore.1.0.1.symbols.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/src/PetaPoco.NetCore/bin/Debug/PetaPoco.NetCore.1.0.1.symbols.nupkg -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/bin/Debug/net40/PetaPoco.NetCore.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/src/PetaPoco.NetCore/bin/Debug/net40/PetaPoco.NetCore.pdb -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/bin/Debug/net40/PetaPoco.NetCore.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | PetaPoco.NetCore 5 | 6 | 7 | 8 | 9 | Reads from a GridReader, returning the results as an IEnumerable collection 10 | 11 | The Type representing a row in the result set 12 | An enumerable collection of result records 13 | 14 | 15 | 16 | Perform a multi-poco read from a GridReader 17 | 18 | The first POCO type 19 | The second POCO type 20 | A collection of POCO's as an IEnumerable 21 | 22 | 23 | 24 | Perform a multi-poco read from a GridReader 25 | 26 | The first POCO type 27 | The second POCO type 28 | The third POCO type 29 | A collection of POCO's as an IEnumerable 30 | 31 | 32 | 33 | Perform a multi-poco read from a GridReader 34 | 35 | The first POCO type 36 | The second POCO type 37 | The third POCO type 38 | The forth POCO type 39 | A collection of POCO's as an IEnumerable 40 | 41 | 42 | 43 | Perform a multi-poco query 44 | 45 | The first POCO type 46 | The second POCO type 47 | The type of objects in the returned IEnumerable 48 | A callback function to connect the POCO instances, or null to automatically guess the relationships 49 | A collection of POCO's as an IEnumerable 50 | 51 | 52 | 53 | Perform a multi-poco query 54 | 55 | The first POCO type 56 | The second POCO type 57 | The third POCO type 58 | The type of objects in the returned IEnumerable 59 | A callback function to connect the POCO instances, or null to automatically guess the relationships 60 | A collection of POCO's as an IEnumerable 61 | 62 | 63 | 64 | Perform a multi-poco query 65 | 66 | The first POCO type 67 | The second POCO type 68 | The third POCO type 69 | The forth POCO type 70 | The type of objects in the returned IEnumerable 71 | A callback function to connect the POCO instances, or null to automatically guess the relationships 72 | A collection of POCO's as an IEnumerable 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | The control structure for a multi-result set query 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | Reads from a GridReader, returning the results as an IEnumerable collection 91 | 92 | The Type representing a row in the result set 93 | An enumerable collection of result records 94 | 95 | 96 | 97 | Perform a multi-poco read from a GridReader 98 | 99 | The first POCO type 100 | The second POCO type 101 | A collection of POCO's as an IEnumerable 102 | 103 | 104 | 105 | Perform a multi-poco read from a GridReader 106 | 107 | The first POCO type 108 | The second POCO type 109 | The third POCO type 110 | A collection of POCO's as an IEnumerable 111 | 112 | 113 | 114 | Perform a multi-poco read from a GridReader 115 | 116 | The first POCO type 117 | The second POCO type 118 | The third POCO type 119 | The forth POCO type 120 | A collection of POCO's as an IEnumerable 121 | 122 | 123 | 124 | Perform a multi-poco query 125 | 126 | The first POCO type 127 | The second POCO type 128 | The type of objects in the returned IEnumerable 129 | A callback function to connect the POCO instances, or null to automatically guess the relationships 130 | A collection of POCO's as an IEnumerable 131 | 132 | 133 | 134 | Perform a multi-poco query 135 | 136 | The first POCO type 137 | The second POCO type 138 | The third POCO type 139 | The type of objects in the returned IEnumerable 140 | A callback function to connect the POCO instances, or null to automatically guess the relationships 141 | A collection of POCO's as an IEnumerable 142 | 143 | 144 | 145 | Perform a multi-poco query 146 | 147 | The first POCO type 148 | The second POCO type 149 | The third POCO type 150 | The forth POCO type 151 | The type of objects in the returned IEnumerable 152 | A callback function to connect the POCO instances, or null to automatically guess the relationships 153 | A collection of POCO's as an IEnumerable 154 | 155 | 156 | 157 | Read data to a single poco 158 | 159 | The type representing a row in the result set 160 | Reader row to be read from the underlying IDataReader 161 | 162 | 163 | 164 | 165 | Read data to multiple pocos 166 | 167 | The type of objects in the returned IEnumerable 168 | Reader row to be read from the underlying IDataReader 169 | An array of Types representing the POCO types of the returned result set. 170 | A callback function to connect the POCO instances, or null to automatically guess the relationships 171 | A collection of POCO's as an IEnumerable 172 | 173 | 174 | 175 | Advance the IDataReader to the NextResult, if available 176 | 177 | 178 | 179 | 180 | Dispose the grid, closing and disposing both the underlying reader, command and shared connection 181 | 182 | 183 | 184 | 185 | Override this to log/capture exceptions 186 | 187 | 188 | 189 | 190 | 191 | Perform a multi-results set query 192 | 193 | An SQL builder object representing the query and it's arguments 194 | A GridReader to be queried 195 | 196 | 197 | 198 | Perform a multi-results set query 199 | 200 | The SQL query to be executed 201 | Arguments to any embedded parameters in the SQL 202 | A GridReader to be queried 203 | 204 | 205 | 206 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/bin/Debug/net45/PetaPoco.NetCore.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/src/PetaPoco.NetCore/bin/Debug/net45/PetaPoco.NetCore.pdb -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/bin/Debug/net45/PetaPoco.NetCore.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | PetaPoco.NetCore 5 | 6 | 7 | 8 | 9 | Reads from a GridReader, returning the results as an IEnumerable collection 10 | 11 | The Type representing a row in the result set 12 | An enumerable collection of result records 13 | 14 | 15 | 16 | Perform a multi-poco read from a GridReader 17 | 18 | The first POCO type 19 | The second POCO type 20 | A collection of POCO's as an IEnumerable 21 | 22 | 23 | 24 | Perform a multi-poco read from a GridReader 25 | 26 | The first POCO type 27 | The second POCO type 28 | The third POCO type 29 | A collection of POCO's as an IEnumerable 30 | 31 | 32 | 33 | Perform a multi-poco read from a GridReader 34 | 35 | The first POCO type 36 | The second POCO type 37 | The third POCO type 38 | The forth POCO type 39 | A collection of POCO's as an IEnumerable 40 | 41 | 42 | 43 | Perform a multi-poco query 44 | 45 | The first POCO type 46 | The second POCO type 47 | The type of objects in the returned IEnumerable 48 | A callback function to connect the POCO instances, or null to automatically guess the relationships 49 | A collection of POCO's as an IEnumerable 50 | 51 | 52 | 53 | Perform a multi-poco query 54 | 55 | The first POCO type 56 | The second POCO type 57 | The third POCO type 58 | The type of objects in the returned IEnumerable 59 | A callback function to connect the POCO instances, or null to automatically guess the relationships 60 | A collection of POCO's as an IEnumerable 61 | 62 | 63 | 64 | Perform a multi-poco query 65 | 66 | The first POCO type 67 | The second POCO type 68 | The third POCO type 69 | The forth POCO type 70 | The type of objects in the returned IEnumerable 71 | A callback function to connect the POCO instances, or null to automatically guess the relationships 72 | A collection of POCO's as an IEnumerable 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | The control structure for a multi-result set query 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | Reads from a GridReader, returning the results as an IEnumerable collection 91 | 92 | The Type representing a row in the result set 93 | An enumerable collection of result records 94 | 95 | 96 | 97 | Perform a multi-poco read from a GridReader 98 | 99 | The first POCO type 100 | The second POCO type 101 | A collection of POCO's as an IEnumerable 102 | 103 | 104 | 105 | Perform a multi-poco read from a GridReader 106 | 107 | The first POCO type 108 | The second POCO type 109 | The third POCO type 110 | A collection of POCO's as an IEnumerable 111 | 112 | 113 | 114 | Perform a multi-poco read from a GridReader 115 | 116 | The first POCO type 117 | The second POCO type 118 | The third POCO type 119 | The forth POCO type 120 | A collection of POCO's as an IEnumerable 121 | 122 | 123 | 124 | Perform a multi-poco query 125 | 126 | The first POCO type 127 | The second POCO type 128 | The type of objects in the returned IEnumerable 129 | A callback function to connect the POCO instances, or null to automatically guess the relationships 130 | A collection of POCO's as an IEnumerable 131 | 132 | 133 | 134 | Perform a multi-poco query 135 | 136 | The first POCO type 137 | The second POCO type 138 | The third POCO type 139 | The type of objects in the returned IEnumerable 140 | A callback function to connect the POCO instances, or null to automatically guess the relationships 141 | A collection of POCO's as an IEnumerable 142 | 143 | 144 | 145 | Perform a multi-poco query 146 | 147 | The first POCO type 148 | The second POCO type 149 | The third POCO type 150 | The forth POCO type 151 | The type of objects in the returned IEnumerable 152 | A callback function to connect the POCO instances, or null to automatically guess the relationships 153 | A collection of POCO's as an IEnumerable 154 | 155 | 156 | 157 | Read data to a single poco 158 | 159 | The type representing a row in the result set 160 | Reader row to be read from the underlying IDataReader 161 | 162 | 163 | 164 | 165 | Read data to multiple pocos 166 | 167 | The type of objects in the returned IEnumerable 168 | Reader row to be read from the underlying IDataReader 169 | An array of Types representing the POCO types of the returned result set. 170 | A callback function to connect the POCO instances, or null to automatically guess the relationships 171 | A collection of POCO's as an IEnumerable 172 | 173 | 174 | 175 | Advance the IDataReader to the NextResult, if available 176 | 177 | 178 | 179 | 180 | Dispose the grid, closing and disposing both the underlying reader, command and shared connection 181 | 182 | 183 | 184 | 185 | Override this to log/capture exceptions 186 | 187 | 188 | 189 | 190 | 191 | Perform a multi-results set query 192 | 193 | An SQL builder object representing the query and it's arguments 194 | A GridReader to be queried 195 | 196 | 197 | 198 | Perform a multi-results set query 199 | 200 | The SQL query to be executed 201 | Arguments to any embedded parameters in the SQL 202 | A GridReader to be queried 203 | 204 | 205 | 206 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/bin/Debug/netstandard1.5/PetaPoco.NetCore.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingask/PetaPoco.NetCore/1e222bfe35e5ec212c475e014fa1ac1b58a9f269/src/PetaPoco.NetCore/bin/Debug/netstandard1.5/PetaPoco.NetCore.pdb -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/bin/Debug/netstandard1.5/PetaPoco.NetCore.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | PetaPoco.NetCore 5 | 6 | 7 | 8 | 9 | Reads from a GridReader, returning the results as an IEnumerable collection 10 | 11 | The Type representing a row in the result set 12 | An enumerable collection of result records 13 | 14 | 15 | 16 | Perform a multi-poco read from a GridReader 17 | 18 | The first POCO type 19 | The second POCO type 20 | A collection of POCO's as an IEnumerable 21 | 22 | 23 | 24 | Perform a multi-poco read from a GridReader 25 | 26 | The first POCO type 27 | The second POCO type 28 | The third POCO type 29 | A collection of POCO's as an IEnumerable 30 | 31 | 32 | 33 | Perform a multi-poco read from a GridReader 34 | 35 | The first POCO type 36 | The second POCO type 37 | The third POCO type 38 | The forth POCO type 39 | A collection of POCO's as an IEnumerable 40 | 41 | 42 | 43 | Perform a multi-poco query 44 | 45 | The first POCO type 46 | The second POCO type 47 | The type of objects in the returned IEnumerable 48 | A callback function to connect the POCO instances, or null to automatically guess the relationships 49 | A collection of POCO's as an IEnumerable 50 | 51 | 52 | 53 | Perform a multi-poco query 54 | 55 | The first POCO type 56 | The second POCO type 57 | The third POCO type 58 | The type of objects in the returned IEnumerable 59 | A callback function to connect the POCO instances, or null to automatically guess the relationships 60 | A collection of POCO's as an IEnumerable 61 | 62 | 63 | 64 | Perform a multi-poco query 65 | 66 | The first POCO type 67 | The second POCO type 68 | The third POCO type 69 | The forth POCO type 70 | The type of objects in the returned IEnumerable 71 | A callback function to connect the POCO instances, or null to automatically guess the relationships 72 | A collection of POCO's as an IEnumerable 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | The control structure for a multi-result set query 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | Reads from a GridReader, returning the results as an IEnumerable collection 91 | 92 | The Type representing a row in the result set 93 | An enumerable collection of result records 94 | 95 | 96 | 97 | Perform a multi-poco read from a GridReader 98 | 99 | The first POCO type 100 | The second POCO type 101 | A collection of POCO's as an IEnumerable 102 | 103 | 104 | 105 | Perform a multi-poco read from a GridReader 106 | 107 | The first POCO type 108 | The second POCO type 109 | The third POCO type 110 | A collection of POCO's as an IEnumerable 111 | 112 | 113 | 114 | Perform a multi-poco read from a GridReader 115 | 116 | The first POCO type 117 | The second POCO type 118 | The third POCO type 119 | The forth POCO type 120 | A collection of POCO's as an IEnumerable 121 | 122 | 123 | 124 | Perform a multi-poco query 125 | 126 | The first POCO type 127 | The second POCO type 128 | The type of objects in the returned IEnumerable 129 | A callback function to connect the POCO instances, or null to automatically guess the relationships 130 | A collection of POCO's as an IEnumerable 131 | 132 | 133 | 134 | Perform a multi-poco query 135 | 136 | The first POCO type 137 | The second POCO type 138 | The third POCO type 139 | The type of objects in the returned IEnumerable 140 | A callback function to connect the POCO instances, or null to automatically guess the relationships 141 | A collection of POCO's as an IEnumerable 142 | 143 | 144 | 145 | Perform a multi-poco query 146 | 147 | The first POCO type 148 | The second POCO type 149 | The third POCO type 150 | The forth POCO type 151 | The type of objects in the returned IEnumerable 152 | A callback function to connect the POCO instances, or null to automatically guess the relationships 153 | A collection of POCO's as an IEnumerable 154 | 155 | 156 | 157 | Read data to a single poco 158 | 159 | The type representing a row in the result set 160 | Reader row to be read from the underlying IDataReader 161 | 162 | 163 | 164 | 165 | Read data to multiple pocos 166 | 167 | The type of objects in the returned IEnumerable 168 | Reader row to be read from the underlying IDataReader 169 | An array of Types representing the POCO types of the returned result set. 170 | A callback function to connect the POCO instances, or null to automatically guess the relationships 171 | A collection of POCO's as an IEnumerable 172 | 173 | 174 | 175 | Advance the IDataReader to the NextResult, if available 176 | 177 | 178 | 179 | 180 | Dispose the grid, closing and disposing both the underlying reader, command and shared connection 181 | 182 | 183 | 184 | 185 | Override this to log/capture exceptions 186 | 187 | 188 | 189 | 190 | 191 | Perform a multi-results set query 192 | 193 | An SQL builder object representing the query and it's arguments 194 | A GridReader to be queried 195 | 196 | 197 | 198 | Perform a multi-results set query 199 | 200 | The SQL query to be executed 201 | Arguments to any embedded parameters in the SQL 202 | A GridReader to be queried 203 | 204 | 205 | 206 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/obj/Debug/net40/.IncrementalCache: -------------------------------------------------------------------------------- 1 | {"inputs":["D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\project.json","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\project.lock.json","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\PetaPoco.Multiple.cs","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\PetaPoco.NetCore.cs","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\Properties\\AssemblyInfo.cs"],"outputs":["D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\bin\\Debug\\net40\\PetaPoco.NetCore.dll","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\bin\\Debug\\net40\\PetaPoco.NetCore.pdb","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\bin\\Debug\\net40\\PetaPoco.NetCore.xml"]} -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/obj/Debug/net40/.SDKVersion: -------------------------------------------------------------------------------- 1 | 6cde21225e18fc48eeab3f4345ece3e6bb122e53 2 | 1.0.0-preview1-002702 3 | 4 | win10-x64 -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/obj/Debug/net40/dotnet-compile-csc.rsp: -------------------------------------------------------------------------------- 1 | -d:DEBUG 2 | -d:TRACE 3 | -d:NET40 4 | -nowarn:CS1701 5 | -nowarn:CS1702 6 | -nowarn:CS1705 7 | -doc:"D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\bin\Debug\net40\PetaPoco.NetCore.xml" 8 | -t:library 9 | -debug:full 10 | -nostdlib 11 | -nologo 12 | "D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\obj\Debug\net40\dotnet-compile.assemblyinfo.cs" 13 | -out:"D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\bin\Debug\net40\PetaPoco.NetCore.dll" 14 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\MySql.Data\6.9.8\lib\net40\MySql.Data.dll" 15 | -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" 16 | -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" 17 | -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" 18 | -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Configuration.dll" 19 | -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" 20 | -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" 21 | -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" 22 | -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" 23 | "D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\PetaPoco.Multiple.cs" 24 | "D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\PetaPoco.NetCore.cs" 25 | "D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\Properties\AssemblyInfo.cs" 26 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/obj/Debug/net40/dotnet-compile.assemblyinfo.cs: -------------------------------------------------------------------------------- 1 | // This file has been auto generated. 2 | [assembly:System.Reflection.AssemblyInformationalVersionAttribute("1.0.1")] 3 | [assembly:System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0")] -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/obj/Debug/net40/dotnet-compile.rsp: -------------------------------------------------------------------------------- 1 | --temp-output:D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\obj\Debug\net40\ 2 | --out:D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\bin\Debug\net40\PetaPoco.NetCore.dll 3 | --define:DEBUG 4 | --define:TRACE 5 | --define:NET40 6 | --suppress-warning:CS1701 7 | --suppress-warning:CS1702 8 | --suppress-warning:CS1705 9 | --warnings-as-errors:False 10 | --optimize:False 11 | --generate-xml-documentation:True 12 | --output-name:PetaPoco.NetCore 13 | --title:PetaPoco.NetCore 14 | --description:PetaPoco.NetCore is a fork of PetaPoco based, add .netcore support,support .netframework and .netcore,petapoco is A high performance Micro-ORM on dotnet supporting SQL Server, MySQL, Sqlite, SqlCE, Firebird etc,support a query and map,and support Multi Mapping, Multiple Results 15 | --copyright:2016 hoping, Inc. 16 | --file-version:1.0.1.0 17 | --version:1.0.1.0 18 | --informational-version:1.0.1 19 | --target-framework:.NETFramework,Version=v4.0 20 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\MySql.Data\6.9.8\lib\net40\MySql.Data.dll 21 | --reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll 22 | --reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll 23 | --reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll 24 | --reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Configuration.dll 25 | --reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll 26 | --reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll 27 | --reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll 28 | --reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll 29 | D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\PetaPoco.Multiple.cs 30 | D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\PetaPoco.NetCore.cs 31 | D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\Properties\AssemblyInfo.cs 32 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/obj/Debug/net45/.IncrementalCache: -------------------------------------------------------------------------------- 1 | {"inputs":["D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\project.json","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\project.lock.json","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\PetaPoco.Multiple.cs","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\PetaPoco.NetCore.cs","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\Properties\\AssemblyInfo.cs"],"outputs":["D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\bin\\Debug\\net45\\PetaPoco.NetCore.dll","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\bin\\Debug\\net45\\PetaPoco.NetCore.pdb","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\bin\\Debug\\net45\\PetaPoco.NetCore.xml"]} -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/obj/Debug/net45/.SDKVersion: -------------------------------------------------------------------------------- 1 | 6cde21225e18fc48eeab3f4345ece3e6bb122e53 2 | 1.0.0-preview1-002702 3 | 4 | win10-x64 -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/obj/Debug/net45/dotnet-compile-csc.rsp: -------------------------------------------------------------------------------- 1 | -d:DEBUG 2 | -d:TRACE 3 | -d:ASYNC 4 | -d:NET45 5 | -nowarn:CS1701 6 | -nowarn:CS1702 7 | -nowarn:CS1705 8 | -doc:"D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\bin\Debug\net45\PetaPoco.NetCore.xml" 9 | -t:library 10 | -debug:full 11 | -nostdlib 12 | -nologo 13 | "D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\obj\Debug\net45\dotnet-compile.assemblyinfo.cs" 14 | -out:"D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\bin\Debug\net45\PetaPoco.NetCore.dll" 15 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\MySql.Data\6.9.8\lib\net45\MySql.Data.dll" 16 | -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Data.dll" 17 | -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Xml.dll" 18 | -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Xml.Linq.dll" 19 | -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Configuration.dll" 20 | -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\mscorlib.dll" 21 | -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.dll" 22 | -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Core.dll" 23 | -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\Microsoft.CSharp.dll" 24 | "D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\PetaPoco.Multiple.cs" 25 | "D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\PetaPoco.NetCore.cs" 26 | "D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\Properties\AssemblyInfo.cs" 27 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/obj/Debug/net45/dotnet-compile.assemblyinfo.cs: -------------------------------------------------------------------------------- 1 | // This file has been auto generated. 2 | [assembly:System.Reflection.AssemblyInformationalVersionAttribute("1.0.1")] 3 | [assembly:System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5")] -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/obj/Debug/net45/dotnet-compile.rsp: -------------------------------------------------------------------------------- 1 | --temp-output:D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\obj\Debug\net45\ 2 | --out:D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\bin\Debug\net45\PetaPoco.NetCore.dll 3 | --define:DEBUG 4 | --define:TRACE 5 | --define:ASYNC 6 | --define:NET45 7 | --suppress-warning:CS1701 8 | --suppress-warning:CS1702 9 | --suppress-warning:CS1705 10 | --warnings-as-errors:False 11 | --optimize:False 12 | --generate-xml-documentation:True 13 | --output-name:PetaPoco.NetCore 14 | --title:PetaPoco.NetCore 15 | --description:PetaPoco.NetCore is a fork of PetaPoco based, add .netcore support,support .netframework and .netcore,petapoco is A high performance Micro-ORM on dotnet supporting SQL Server, MySQL, Sqlite, SqlCE, Firebird etc,support a query and map,and support Multi Mapping, Multiple Results 16 | --copyright:2016 hoping, Inc. 17 | --file-version:1.0.1.0 18 | --version:1.0.1.0 19 | --informational-version:1.0.1 20 | --target-framework:.NETFramework,Version=v4.5 21 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\MySql.Data\6.9.8\lib\net45\MySql.Data.dll 22 | --reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Data.dll 23 | --reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Xml.dll 24 | --reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Xml.Linq.dll 25 | --reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Configuration.dll 26 | --reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\mscorlib.dll 27 | --reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.dll 28 | --reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Core.dll 29 | --reference:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\Microsoft.CSharp.dll 30 | D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\PetaPoco.Multiple.cs 31 | D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\PetaPoco.NetCore.cs 32 | D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\Properties\AssemblyInfo.cs 33 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/obj/Debug/netstandard1.5/.IncrementalCache: -------------------------------------------------------------------------------- 1 | {"inputs":["D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\project.json","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\project.lock.json","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\PetaPoco.Multiple.cs","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\PetaPoco.NetCore.cs","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\Properties\\AssemblyInfo.cs"],"outputs":["D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\bin\\Debug\\netstandard1.5\\PetaPoco.NetCore.dll","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\bin\\Debug\\netstandard1.5\\PetaPoco.NetCore.pdb","D:\\hoping\\Project\\PetaPoco.NetCore\\src\\PetaPoco.NetCore\\bin\\Debug\\netstandard1.5\\PetaPoco.NetCore.xml"]} -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/obj/Debug/netstandard1.5/.SDKVersion: -------------------------------------------------------------------------------- 1 | 6cde21225e18fc48eeab3f4345ece3e6bb122e53 2 | 1.0.0-preview1-002702 3 | 4 | win10-x64 -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/obj/Debug/netstandard1.5/dotnet-compile-csc.rsp: -------------------------------------------------------------------------------- 1 | -d:DEBUG 2 | -d:TRACE 3 | -d:ASYNC 4 | -d:COREFX 5 | -d:NETSTANDARD1_5 6 | -nowarn:CS1701 7 | -nowarn:CS1702 8 | -nowarn:CS1705 9 | -doc:"D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\bin\Debug\netstandard1.5\PetaPoco.NetCore.xml" 10 | -t:library 11 | -debug:full 12 | -nostdlib 13 | -nologo 14 | "D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\obj\Debug\netstandard1.5\dotnet-compile.assemblyinfo.cs" 15 | -out:"D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\bin\Debug\netstandard1.5\PetaPoco.NetCore.dll" 16 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.CSharp\4.0.1\ref\netstandard1.0\Microsoft.CSharp.dll" 17 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration\1.0.0-rc2-final\lib\netstandard1.1\Microsoft.Extensions.Configuration.dll" 18 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.Abstractions\1.0.0-rc2-final\lib\netstandard1.0\Microsoft.Extensions.Configuration.Abstractions.dll" 19 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.EnvironmentVariables\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.Configuration.EnvironmentVariables.dll" 20 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.FileExtensions\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.Configuration.FileExtensions.dll" 21 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.Json\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.Configuration.Json.dll" 22 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.UserSecrets\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.Configuration.UserSecrets.dll" 23 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.FileProviders.Abstractions\1.0.0-rc2-final\lib\netstandard1.0\Microsoft.Extensions.FileProviders.Abstractions.dll" 24 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.FileProviders.Physical\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.FileProviders.Physical.dll" 25 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.FileSystemGlobbing\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.FileSystemGlobbing.dll" 26 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Primitives\1.0.0-rc2-final\lib\netstandard1.0\Microsoft.Extensions.Primitives.dll" 27 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.VisualBasic\10.0.1-rc2-24027\ref\netstandard1.1\Microsoft.VisualBasic.dll" 28 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Win32.Primitives\4.0.1\ref\netstandard1.3\Microsoft.Win32.Primitives.dll" 29 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Newtonsoft.Json\9.0.1\lib\netstandard1.0\Newtonsoft.Json.dll" 30 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\Pomelo.Data.MySql\1.0.0\lib\netstandard1.3\Pomelo.Data.MySql.dll" 31 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.AppContext\4.1.0-rc2-24027\ref\netstandard1.5\System.AppContext.dll" 32 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Buffers\4.0.0-rc2-24027\lib\netstandard1.1\System.Buffers.dll" 33 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Collections\4.0.11\ref\netstandard1.3\System.Collections.dll" 34 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Collections.Concurrent\4.0.12\ref\netstandard1.3\System.Collections.Concurrent.dll" 35 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Collections.Immutable\1.2.0-rc2-24027\lib\netstandard1.0\System.Collections.Immutable.dll" 36 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Collections.NonGeneric\4.0.1\ref\netstandard1.3\System.Collections.NonGeneric.dll" 37 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.ComponentModel\4.0.1\ref\netstandard1.0\System.ComponentModel.dll" 38 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.ComponentModel.Annotations\4.1.0-rc2-24027\ref\netstandard1.4\System.ComponentModel.Annotations.dll" 39 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.ComponentModel.Primitives\4.1.0\ref\netstandard1.0\System.ComponentModel.Primitives.dll" 40 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.ComponentModel.TypeConverter\4.1.0\ref\netstandard1.5\System.ComponentModel.TypeConverter.dll" 41 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Console\4.0.0\ref\netstandard1.3\System.Console.dll" 42 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Data.Common\4.1.0\ref\netstandard1.2\System.Data.Common.dll" 43 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Data.SqlClient\4.1.0\ref\netstandard1.3\System.Data.SqlClient.dll" 44 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Contracts\4.0.1\ref\netstandard1.0\System.Diagnostics.Contracts.dll" 45 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Debug\4.0.11\ref\netstandard1.3\System.Diagnostics.Debug.dll" 46 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.DiagnosticSource\4.0.0\lib\netstandard1.3\System.Diagnostics.DiagnosticSource.dll" 47 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Process\4.1.0-rc2-24027\ref\netstandard1.4\System.Diagnostics.Process.dll" 48 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Tools\4.0.1\ref\netstandard1.0\System.Diagnostics.Tools.dll" 49 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Tracing\4.1.0\ref\netstandard1.5\System.Diagnostics.Tracing.dll" 50 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Dynamic.Runtime\4.0.11\ref\netstandard1.3\System.Dynamic.Runtime.dll" 51 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Globalization\4.0.11\ref\netstandard1.3\System.Globalization.dll" 52 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Globalization.Calendars\4.0.1-rc2-24027\ref\netstandard1.3\System.Globalization.Calendars.dll" 53 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Globalization.Extensions\4.0.1\ref\netstandard1.3\System.Globalization.Extensions.dll" 54 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.IO\4.1.0\ref\netstandard1.5\System.IO.dll" 55 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.Compression\4.1.0-rc2-24027\ref\netstandard1.3\System.IO.Compression.dll" 56 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.Compression.ZipFile\4.0.1-rc2-24027\ref\netstandard1.3\System.IO.Compression.ZipFile.dll" 57 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.FileSystem\4.0.1\ref\netstandard1.3\System.IO.FileSystem.dll" 58 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.FileSystem.Primitives\4.0.1\ref\netstandard1.3\System.IO.FileSystem.Primitives.dll" 59 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.FileSystem.Watcher\4.0.0-rc2-24027\ref\netstandard1.3\System.IO.FileSystem.Watcher.dll" 60 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.MemoryMappedFiles\4.0.0-rc2-24027\ref\netstandard1.3\System.IO.MemoryMappedFiles.dll" 61 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.UnmanagedMemoryStream\4.0.1-rc2-24027\ref\netstandard1.3\System.IO.UnmanagedMemoryStream.dll" 62 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Linq\4.1.0\ref\netstandard1.0\System.Linq.dll" 63 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Linq.Expressions\4.1.0\ref\netstandard1.3\System.Linq.Expressions.dll" 64 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Linq.Parallel\4.0.1-rc2-24027\ref\netstandard1.1\System.Linq.Parallel.dll" 65 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Linq.Queryable\4.0.1-rc2-24027\ref\netstandard1.0\System.Linq.Queryable.dll" 66 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Http\4.0.1-rc2-24027\ref\netstandard1.1\System.Net.Http.dll" 67 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.NameResolution\4.0.0\ref\netstandard1.3\System.Net.NameResolution.dll" 68 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Primitives\4.0.11\ref\netstandard1.3\System.Net.Primitives.dll" 69 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Requests\4.0.11-rc2-24027\ref\netstandard1.3\System.Net.Requests.dll" 70 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Security\4.0.0\ref\netstandard1.3\System.Net.Security.dll" 71 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Sockets\4.1.0\ref\netstandard1.3\System.Net.Sockets.dll" 72 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.WebHeaderCollection\4.0.1-rc2-24027\ref\netstandard1.3\System.Net.WebHeaderCollection.dll" 73 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Numerics.Vectors\4.1.1-rc2-24027\ref\netstandard1.1\System.Numerics.Vectors.dll" 74 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.ObjectModel\4.0.12\ref\netstandard1.3\System.ObjectModel.dll" 75 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection\4.1.0\ref\netstandard1.5\System.Reflection.dll" 76 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.DispatchProxy\4.0.1-rc2-24027\ref\netstandard1.3\System.Reflection.DispatchProxy.dll" 77 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Emit.ILGeneration\4.0.1\ref\netstandard1.0\System.Reflection.Emit.ILGeneration.dll" 78 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Emit.Lightweight\4.0.1\ref\netstandard1.0\System.Reflection.Emit.Lightweight.dll" 79 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Extensions\4.0.1\ref\netstandard1.0\System.Reflection.Extensions.dll" 80 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Metadata\1.3.0-rc2-24027\lib\netstandard1.1\System.Reflection.Metadata.dll" 81 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Primitives\4.0.1\ref\netstandard1.0\System.Reflection.Primitives.dll" 82 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.TypeExtensions\4.1.0\ref\netstandard1.5\System.Reflection.TypeExtensions.dll" 83 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Resources.Reader\4.0.0-rc2-24027\lib\netstandard1.0\System.Resources.Reader.dll" 84 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Resources.ResourceManager\4.0.1\ref\netstandard1.0\System.Resources.ResourceManager.dll" 85 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime\4.1.0\ref\netstandard1.5\System.Runtime.dll" 86 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.Extensions\4.1.0\ref\netstandard1.5\System.Runtime.Extensions.dll" 87 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.Handles\4.0.1\ref\netstandard1.3\System.Runtime.Handles.dll" 88 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.InteropServices\4.1.0\ref\netstandard1.5\System.Runtime.InteropServices.dll" 89 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.InteropServices.RuntimeInformation\4.0.0\ref\netstandard1.1\System.Runtime.InteropServices.RuntimeInformation.dll" 90 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.Numerics\4.0.1\ref\netstandard1.1\System.Runtime.Numerics.dll" 91 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.Serialization.Primitives\4.1.1\ref\netstandard1.3\System.Runtime.Serialization.Primitives.dll" 92 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Cryptography.Algorithms\4.2.0\ref\netstandard1.4\System.Security.Cryptography.Algorithms.dll" 93 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Cryptography.Encoding\4.0.0\ref\netstandard1.3\System.Security.Cryptography.Encoding.dll" 94 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Cryptography.Primitives\4.0.0\ref\netstandard1.3\System.Security.Cryptography.Primitives.dll" 95 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Cryptography.X509Certificates\4.1.0\ref\netstandard1.4\System.Security.Cryptography.X509Certificates.dll" 96 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Principal\4.0.1\ref\netstandard1.0\System.Security.Principal.dll" 97 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Text.Encoding\4.0.11\ref\netstandard1.3\System.Text.Encoding.dll" 98 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Text.Encoding.Extensions\4.0.11\ref\netstandard1.3\System.Text.Encoding.Extensions.dll" 99 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Text.RegularExpressions\4.1.0\ref\netstandard1.3\System.Text.RegularExpressions.dll" 100 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading\4.0.11\ref\netstandard1.3\System.Threading.dll" 101 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Tasks\4.0.11\ref\netstandard1.3\System.Threading.Tasks.dll" 102 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Tasks.Dataflow\4.6.0-rc2-24027\lib\netstandard1.1\System.Threading.Tasks.Dataflow.dll" 103 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Tasks.Extensions\4.0.0\lib\netstandard1.0\System.Threading.Tasks.Extensions.dll" 104 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Tasks.Parallel\4.0.1-rc2-24027\ref\netstandard1.1\System.Threading.Tasks.Parallel.dll" 105 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Thread\4.0.0\ref\netstandard1.3\System.Threading.Thread.dll" 106 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.ThreadPool\4.0.10\ref\netstandard1.3\System.Threading.ThreadPool.dll" 107 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Timer\4.0.1\ref\netstandard1.2\System.Threading.Timer.dll" 108 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Xml.ReaderWriter\4.0.11\ref\netstandard1.3\System.Xml.ReaderWriter.dll" 109 | -r:"C:\Users\hopinghu.ALOG\.nuget\packages\System.Xml.XDocument\4.0.11\ref\netstandard1.3\System.Xml.XDocument.dll" 110 | "D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\PetaPoco.Multiple.cs" 111 | "D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\PetaPoco.NetCore.cs" 112 | "D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\Properties\AssemblyInfo.cs" 113 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/obj/Debug/netstandard1.5/dotnet-compile.assemblyinfo.cs: -------------------------------------------------------------------------------- 1 | // This file has been auto generated. 2 | [assembly:System.Reflection.AssemblyInformationalVersionAttribute("1.0.1")] 3 | [assembly:System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v1.5")] -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/obj/Debug/netstandard1.5/dotnet-compile.rsp: -------------------------------------------------------------------------------- 1 | --temp-output:D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\obj\Debug\netstandard1.5\ 2 | --out:D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\bin\Debug\netstandard1.5\PetaPoco.NetCore.dll 3 | --define:DEBUG 4 | --define:TRACE 5 | --define:ASYNC 6 | --define:COREFX 7 | --define:NETSTANDARD1_5 8 | --suppress-warning:CS1701 9 | --suppress-warning:CS1702 10 | --suppress-warning:CS1705 11 | --warnings-as-errors:False 12 | --optimize:False 13 | --generate-xml-documentation:True 14 | --output-name:PetaPoco.NetCore 15 | --title:PetaPoco.NetCore 16 | --description:PetaPoco.NetCore is a fork of PetaPoco based, add .netcore support,support .netframework and .netcore,petapoco is A high performance Micro-ORM on dotnet supporting SQL Server, MySQL, Sqlite, SqlCE, Firebird etc,support a query and map,and support Multi Mapping, Multiple Results 17 | --copyright:2016 hoping, Inc. 18 | --file-version:1.0.1.0 19 | --version:1.0.1.0 20 | --informational-version:1.0.1 21 | --target-framework:.NETStandard,Version=v1.5 22 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.CSharp\4.0.1\ref\netstandard1.0\Microsoft.CSharp.dll 23 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration\1.0.0-rc2-final\lib\netstandard1.1\Microsoft.Extensions.Configuration.dll 24 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.Abstractions\1.0.0-rc2-final\lib\netstandard1.0\Microsoft.Extensions.Configuration.Abstractions.dll 25 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.EnvironmentVariables\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.Configuration.EnvironmentVariables.dll 26 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.FileExtensions\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.Configuration.FileExtensions.dll 27 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.Json\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.Configuration.Json.dll 28 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Configuration.UserSecrets\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.Configuration.UserSecrets.dll 29 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.FileProviders.Abstractions\1.0.0-rc2-final\lib\netstandard1.0\Microsoft.Extensions.FileProviders.Abstractions.dll 30 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.FileProviders.Physical\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.FileProviders.Physical.dll 31 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.FileSystemGlobbing\1.0.0-rc2-final\lib\netstandard1.3\Microsoft.Extensions.FileSystemGlobbing.dll 32 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Extensions.Primitives\1.0.0-rc2-final\lib\netstandard1.0\Microsoft.Extensions.Primitives.dll 33 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.VisualBasic\10.0.1-rc2-24027\ref\netstandard1.1\Microsoft.VisualBasic.dll 34 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Microsoft.Win32.Primitives\4.0.1\ref\netstandard1.3\Microsoft.Win32.Primitives.dll 35 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Newtonsoft.Json\9.0.1\lib\netstandard1.0\Newtonsoft.Json.dll 36 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\Pomelo.Data.MySql\1.0.0\lib\netstandard1.3\Pomelo.Data.MySql.dll 37 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.AppContext\4.1.0-rc2-24027\ref\netstandard1.5\System.AppContext.dll 38 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Buffers\4.0.0-rc2-24027\lib\netstandard1.1\System.Buffers.dll 39 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Collections\4.0.11\ref\netstandard1.3\System.Collections.dll 40 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Collections.Concurrent\4.0.12\ref\netstandard1.3\System.Collections.Concurrent.dll 41 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Collections.Immutable\1.2.0-rc2-24027\lib\netstandard1.0\System.Collections.Immutable.dll 42 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Collections.NonGeneric\4.0.1\ref\netstandard1.3\System.Collections.NonGeneric.dll 43 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.ComponentModel\4.0.1\ref\netstandard1.0\System.ComponentModel.dll 44 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.ComponentModel.Annotations\4.1.0-rc2-24027\ref\netstandard1.4\System.ComponentModel.Annotations.dll 45 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.ComponentModel.Primitives\4.1.0\ref\netstandard1.0\System.ComponentModel.Primitives.dll 46 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.ComponentModel.TypeConverter\4.1.0\ref\netstandard1.5\System.ComponentModel.TypeConverter.dll 47 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Console\4.0.0\ref\netstandard1.3\System.Console.dll 48 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Data.Common\4.1.0\ref\netstandard1.2\System.Data.Common.dll 49 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Data.SqlClient\4.1.0\ref\netstandard1.3\System.Data.SqlClient.dll 50 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Contracts\4.0.1\ref\netstandard1.0\System.Diagnostics.Contracts.dll 51 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Debug\4.0.11\ref\netstandard1.3\System.Diagnostics.Debug.dll 52 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.DiagnosticSource\4.0.0\lib\netstandard1.3\System.Diagnostics.DiagnosticSource.dll 53 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Process\4.1.0-rc2-24027\ref\netstandard1.4\System.Diagnostics.Process.dll 54 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Tools\4.0.1\ref\netstandard1.0\System.Diagnostics.Tools.dll 55 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Diagnostics.Tracing\4.1.0\ref\netstandard1.5\System.Diagnostics.Tracing.dll 56 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Dynamic.Runtime\4.0.11\ref\netstandard1.3\System.Dynamic.Runtime.dll 57 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Globalization\4.0.11\ref\netstandard1.3\System.Globalization.dll 58 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Globalization.Calendars\4.0.1-rc2-24027\ref\netstandard1.3\System.Globalization.Calendars.dll 59 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Globalization.Extensions\4.0.1\ref\netstandard1.3\System.Globalization.Extensions.dll 60 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.IO\4.1.0\ref\netstandard1.5\System.IO.dll 61 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.Compression\4.1.0-rc2-24027\ref\netstandard1.3\System.IO.Compression.dll 62 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.Compression.ZipFile\4.0.1-rc2-24027\ref\netstandard1.3\System.IO.Compression.ZipFile.dll 63 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.FileSystem\4.0.1\ref\netstandard1.3\System.IO.FileSystem.dll 64 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.FileSystem.Primitives\4.0.1\ref\netstandard1.3\System.IO.FileSystem.Primitives.dll 65 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.FileSystem.Watcher\4.0.0-rc2-24027\ref\netstandard1.3\System.IO.FileSystem.Watcher.dll 66 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.MemoryMappedFiles\4.0.0-rc2-24027\ref\netstandard1.3\System.IO.MemoryMappedFiles.dll 67 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.IO.UnmanagedMemoryStream\4.0.1-rc2-24027\ref\netstandard1.3\System.IO.UnmanagedMemoryStream.dll 68 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Linq\4.1.0\ref\netstandard1.0\System.Linq.dll 69 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Linq.Expressions\4.1.0\ref\netstandard1.3\System.Linq.Expressions.dll 70 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Linq.Parallel\4.0.1-rc2-24027\ref\netstandard1.1\System.Linq.Parallel.dll 71 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Linq.Queryable\4.0.1-rc2-24027\ref\netstandard1.0\System.Linq.Queryable.dll 72 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Http\4.0.1-rc2-24027\ref\netstandard1.1\System.Net.Http.dll 73 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.NameResolution\4.0.0\ref\netstandard1.3\System.Net.NameResolution.dll 74 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Primitives\4.0.11\ref\netstandard1.3\System.Net.Primitives.dll 75 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Requests\4.0.11-rc2-24027\ref\netstandard1.3\System.Net.Requests.dll 76 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Security\4.0.0\ref\netstandard1.3\System.Net.Security.dll 77 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.Sockets\4.1.0\ref\netstandard1.3\System.Net.Sockets.dll 78 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Net.WebHeaderCollection\4.0.1-rc2-24027\ref\netstandard1.3\System.Net.WebHeaderCollection.dll 79 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Numerics.Vectors\4.1.1-rc2-24027\ref\netstandard1.1\System.Numerics.Vectors.dll 80 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.ObjectModel\4.0.12\ref\netstandard1.3\System.ObjectModel.dll 81 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection\4.1.0\ref\netstandard1.5\System.Reflection.dll 82 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.DispatchProxy\4.0.1-rc2-24027\ref\netstandard1.3\System.Reflection.DispatchProxy.dll 83 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Emit.ILGeneration\4.0.1\ref\netstandard1.0\System.Reflection.Emit.ILGeneration.dll 84 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Emit.Lightweight\4.0.1\ref\netstandard1.0\System.Reflection.Emit.Lightweight.dll 85 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Extensions\4.0.1\ref\netstandard1.0\System.Reflection.Extensions.dll 86 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Metadata\1.3.0-rc2-24027\lib\netstandard1.1\System.Reflection.Metadata.dll 87 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.Primitives\4.0.1\ref\netstandard1.0\System.Reflection.Primitives.dll 88 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Reflection.TypeExtensions\4.1.0\ref\netstandard1.5\System.Reflection.TypeExtensions.dll 89 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Resources.Reader\4.0.0-rc2-24027\lib\netstandard1.0\System.Resources.Reader.dll 90 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Resources.ResourceManager\4.0.1\ref\netstandard1.0\System.Resources.ResourceManager.dll 91 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime\4.1.0\ref\netstandard1.5\System.Runtime.dll 92 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.Extensions\4.1.0\ref\netstandard1.5\System.Runtime.Extensions.dll 93 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.Handles\4.0.1\ref\netstandard1.3\System.Runtime.Handles.dll 94 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.InteropServices\4.1.0\ref\netstandard1.5\System.Runtime.InteropServices.dll 95 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.InteropServices.RuntimeInformation\4.0.0\ref\netstandard1.1\System.Runtime.InteropServices.RuntimeInformation.dll 96 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.Numerics\4.0.1\ref\netstandard1.1\System.Runtime.Numerics.dll 97 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Runtime.Serialization.Primitives\4.1.1\ref\netstandard1.3\System.Runtime.Serialization.Primitives.dll 98 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Cryptography.Algorithms\4.2.0\ref\netstandard1.4\System.Security.Cryptography.Algorithms.dll 99 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Cryptography.Encoding\4.0.0\ref\netstandard1.3\System.Security.Cryptography.Encoding.dll 100 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Cryptography.Primitives\4.0.0\ref\netstandard1.3\System.Security.Cryptography.Primitives.dll 101 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Cryptography.X509Certificates\4.1.0\ref\netstandard1.4\System.Security.Cryptography.X509Certificates.dll 102 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Security.Principal\4.0.1\ref\netstandard1.0\System.Security.Principal.dll 103 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Text.Encoding\4.0.11\ref\netstandard1.3\System.Text.Encoding.dll 104 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Text.Encoding.Extensions\4.0.11\ref\netstandard1.3\System.Text.Encoding.Extensions.dll 105 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Text.RegularExpressions\4.1.0\ref\netstandard1.3\System.Text.RegularExpressions.dll 106 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading\4.0.11\ref\netstandard1.3\System.Threading.dll 107 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Tasks\4.0.11\ref\netstandard1.3\System.Threading.Tasks.dll 108 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Tasks.Dataflow\4.6.0-rc2-24027\lib\netstandard1.1\System.Threading.Tasks.Dataflow.dll 109 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Tasks.Extensions\4.0.0\lib\netstandard1.0\System.Threading.Tasks.Extensions.dll 110 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Tasks.Parallel\4.0.1-rc2-24027\ref\netstandard1.1\System.Threading.Tasks.Parallel.dll 111 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Thread\4.0.0\ref\netstandard1.3\System.Threading.Thread.dll 112 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.ThreadPool\4.0.10\ref\netstandard1.3\System.Threading.ThreadPool.dll 113 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Threading.Timer\4.0.1\ref\netstandard1.2\System.Threading.Timer.dll 114 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Xml.ReaderWriter\4.0.11\ref\netstandard1.3\System.Xml.ReaderWriter.dll 115 | --reference:C:\Users\hopinghu.ALOG\.nuget\packages\System.Xml.XDocument\4.0.11\ref\netstandard1.3\System.Xml.XDocument.dll 116 | D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\PetaPoco.Multiple.cs 117 | D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\PetaPoco.NetCore.cs 118 | D:\hoping\Project\PetaPoco.NetCore\src\PetaPoco.NetCore\Properties\AssemblyInfo.cs 119 | -------------------------------------------------------------------------------- /src/PetaPoco.NetCore/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "packOptions": { 3 | "summary": "PetaPoco.NetCore is a fork of PetaPoco based, add .netcore support,support .netframework and .netcore,petapoco is A high performance Micro-ORM on dotnet supporting SQL Server, MySQL, Sqlite, SqlCE, Firebird etc,support a query and map,and support Multi Mapping, Multiple Results", 4 | "tags": [ "PetaPoco", "PetaPoco.NetCore", "orm", "sql", "micro-orm" ], 5 | "owners": [ "hoping" ], 6 | "releaseNotes": "https://github.com/qingask/PetaPoco.NetCore", 7 | "projectUrl": "https://github.com/qingask/PetaPoco.NetCore", 8 | "licenseUrl": "http://www.apache.org/licenses/LICENSE-2.0", 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/qingask/PetaPoco.NetCore" 12 | } 13 | }, 14 | "version": "1.0.1", 15 | "authors": [ "hoping" ], 16 | "description": "PetaPoco.NetCore is a fork of PetaPoco based, add .netcore support,support .netframework and .netcore,petapoco is A high performance Micro-ORM on dotnet supporting SQL Server, MySQL, Sqlite, SqlCE, Firebird etc,support a query and map,and support Multi Mapping, Multiple Results", 17 | "title": "PetaPoco.NetCore", 18 | "copyright": "2016 hoping, Inc.", 19 | "buildOptions": { 20 | "xmlDoc": true, 21 | "warningsAsErrors": false 22 | }, 23 | "frameworks": { 24 | "net40": { 25 | "frameworkAssemblies": { 26 | "System.Data": "4.0.0.0", 27 | "System.Xml": "4.0.0.0", 28 | "System.Xml.Linq": "4.0.0.0", 29 | "System.Configuration": "4.0.0.0" 30 | }, 31 | "dependencies": { 32 | "MySql.Data": "6.9.8" 33 | } 34 | }, 35 | "net45": { 36 | "buildOptions": { 37 | "define": [ "ASYNC" ] 38 | }, 39 | "frameworkAssemblies": { 40 | "System.Data": "4.0.0.0", 41 | "System.Xml": "4.0.0.0", 42 | "System.Xml.Linq": "4.0.0.0", 43 | "System.Configuration": "4.0.0.0" 44 | }, 45 | "dependencies": { 46 | "MySql.Data": "6.9.8" 47 | } 48 | }, 49 | "netstandard1.5": { 50 | "buildOptions": { 51 | "define": [ "ASYNC", "COREFX" ] 52 | }, 53 | "imports": [ 54 | "dotnet5.6", 55 | "dnxcore50", 56 | "portable-net45+win8" 57 | ], 58 | "frameworkAssemblies": { 59 | }, 60 | "dependencies": { 61 | "Microsoft.NETCore.App": { 62 | "version": "1.0.0-rc2-3002702", 63 | "type": "platform" 64 | }, 65 | "System.Data.SqlClient": "4.1.0", 66 | "System.Reflection.Emit.Lightweight": "4.0.1", 67 | "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-rc2-final", 68 | "Microsoft.Extensions.Configuration.Json": "1.0.0-rc2-final", 69 | "Microsoft.Extensions.Configuration.UserSecrets": "1.0.0-rc2-final", 70 | 71 | "Pomelo.Data.MySql": "1.0.0" 72 | } 73 | } 74 | } 75 | } 76 | --------------------------------------------------------------------------------