133 Commits

Author SHA1 Message Date
Nick Craver f25f0724f5 Merge pull request #538 from cremor/fix-syntax-errors
Fixed some syntax errors in project.json files
2016-06-29 06:21:21 -04:00
Nick Craver be5f196546 .Net Core 1.0 RTM update 2016-06-28 17:48:50 -04:00
cremor 855d8e0aca Fixed some syntax errors in project.json files. 2016-06-16 12:02:18 +02:00
Nick Craver 2c531d2c06 This .0 addition happens automatically...make it explicit instead. 2016-05-24 08:57:33 -04:00
Nick Craver 3d4d251a78 Switch version suffix to be a build parameter
Note: build.sh needs love from OS X/*nix later to match
2016-05-24 08:38:24 -04:00
Nick Craver 41f1fe3e3c .xproj: RC2 upgrade
This fixes null refs with the DNX MSBuild targets when building from
Visual Studio.
2016-05-24 07:29:18 -04:00
Nick Craver 8e070ddca5 Interfaces are back, simplifying code.
Related issue: #520
2016-05-23 20:43:30 -04:00
Nick Craver ad5378fcb0 RC2 Version bump, since we locked ourselves in with semver on beta9 2016-05-19 11:34:16 -04:00
Nick Craver 84a7d6464a RC2 master merge 2016-05-19 08:53:36 -04:00
Nick Craver ee615c0cc3 Upgrade project.json files to RC2 format.
Note: on a nuspec comparison, the following dependencies aren't there
anymore: Microsoft.CSharp, mscorlib, System, and System.Core aren't
explicitly specified in frameworkAssemblies anymore. The only one of
these I can imagine mattering is Microsoft.CSharp.
2016-05-17 09:48:01 -04:00
Nick Craver 10581e867e Update to RC2 final build (24027) libraries. Also bump to beta10 2016-05-16 20:54:26 -04:00
Nick Craver 7edadbd4c9 .Net Core: remove floating versions (use stable ones on Nuget.org) and get this puppy back in action.
Also: it's 2016.
2016-04-17 16:42:13 -04:00
Oren Novotny cf732e0d98 Get building 2016-04-16 21:57:07 -04:00
Oren Novotny dfff5f3724 fix outpt paths 2016-04-16 20:22:59 -04:00
Marc Gravell 2b4bb22dbd 1.50-beta9 2016-04-01 09:47:54 +01:00
Marc Gravell 4da982e2c7 Heh, AspNet and DNX (only) work in VS2015; DNX and DotNet (only) work in VS15; I guess we need to use DNX for now, then, as the only one that works in both. 2016-04-01 09:22:12 +01:00
Marc Gravell fc50aa7833 Recreate all the xproj to reflect the current tooling - old versions break VS15; enable XDocument etc in corefx (#if block was too large) 2016-04-01 09:00:33 +01:00
Marc Gravell 2a2c086009 1.50-beta8 deploy 2016-02-17 10:34:29 +00:00
Shrayas d0505aaf97 Fix small typo in contrib
default was misspelt as defualt
2016-01-29 17:54:34 +05:30
joncloud a967b0c2fa Added checks to make sure that arrays get the appropriate type when delete/insert/update is called. 2015-12-25 10:49:45 -08:00
Johan Danforth 5c5eae8e8f Fix and test for issue #418 2015-12-06 11:37:12 +01:00
Nick Craver eb51910ca6 Merging #370 2015-11-26 15:50:14 -05:00
Nick Craver 63706bb877 Merge branch 'pr/368' 2015-11-26 15:27:12 -05:00
Marc Gravell 869020612a Add {Query|Read}FirstOrDefault methods with optimized paths; remove redundant return await constructs (prefer to return the existing Task) 2015-11-26 10:43:18 +00:00
Nick Craver 336cacbe05 Contrib: fix #404 changes and other issues in MySQL
This fixes some MySQL issues - test suite that confirms issues and fixes
is incoming. TODO shortly after: implement the Insert<T, TKey> style
methods. I just want to get tests running (and some added) first.
2015-11-25 06:04:07 -05:00
Nick Craver b9c5d5d8d5 Contrib: DRY code current keys implementation 2015-11-24 21:45:12 -05:00
Nick Craver ad0a262285 Contrib, Rainbow, EntityFramework & SqlBuilder: code cleanup 2015-11-24 20:20:52 -05:00
Nick Craver bc8468f494 Merge pull request #410 from joncloud/issue#404
Provided a name for MySql LAST_INSERT_ID call to allow the result to …
2015-11-24 19:21:25 -05:00
joncloud 9bd979845d Provided a name for MySql LAST_INSERT_ID call to allow the result to map correclty. 2015-11-24 14:39:55 -08:00
Nick Craver fd10fe7ccb A full CoreCLR/DNX friendly conversion
This eliminates the dual solutions and brings Contrib into the
project.json fold.
- Tests are ported to xUnit though SQLite is disabled on DNX due to
Issue #375 (Interop loads fail in the VS runner and  params are busted
regardless).
- Projects are consolidated down to what's currently possible with
project.json.
- Contrib moved to: Dapper.Contrib and Dapper.Tests.Contrib (so tests
appear at the end, no other reason vs. Dapper.Contrib.Tests)
- EF moved to: Dapper.EntityFramework(.StrongName)
- Rainbow moved to: Dapper.Rainbow
- SqlBuilder moved to: Dapper.SqlBuilder
- Packages are removed since it's not current-tooling friendly to keep
them (nor was it using them).
- xUnit implemented in Contrib via abstracts - this allow us to very
quickly add any database provider to the rig in a very concise way.
- Contrib unit tests fixed in various places - they were not
parallel-runner friendly
- Nuspecs removed, since they aren't used anymore (to eliminate
confusion)
- Removed speed tests for libraries that aren't on current versions of
.Net (what would we be comparing?)
- Perf tests moved to Dapper.Tests (consolidation from
Dapper.DNX.Tests), but aren't activated yet (no define)
2015-11-22 17:56:33 -05:00
JanZakrzewski e447523d65 fixed GetAll when used with ExplicitKey 2015-10-28 12:01:57 +01:00
johandanforth 61998c4fa2 bug in keypropertiescache 2015-10-27 15:13:05 +01:00
johandanforth 4012fbfef5 Fix for issue #361 2015-10-27 14:25:10 +01:00
Nick Craver 8662754801 Code readability: property naming
TODO: Centralize the adapter repeated code down to an abstract class
2015-10-15 06:42:50 -07:00
johandanforth 3ad263d242 Fixes for #336 escape column names 2015-10-14 14:16:23 +02:00
johandanforth 2f7125a0ec Fixes for issue #351 2015-10-13 22:42:16 +02:00
ithero7 bbf93cb260 Little changes :)
Correct the spelling mistake, and change the variable name to satisfy the naming conventions.
2015-09-06 23:46:14 +08:00
johandanforth a104524e03 Merge branch 'master' of https://github.com/StackExchange/dapper-dot-net.git 2015-06-20 13:36:16 +02:00
johandanforth 984055aabf Specific insert adapters for sql/sql ce. Faster inserts for sql server now 2015-06-20 13:36:08 +02:00
shrayasr d9fa8f5c37 Update README
Deleting an entity will delete only by a specified key property and not by
any specified parameter
2015-06-10 18:55:01 +05:30
Johan Danforth 7640c43ade Update Readme.md
Removed text about connections having to be open, which is not true any longer.
2015-06-10 09:23:28 +02:00
shrayasr 6ffbcf44a6 Formatting to 80 columns 2015-06-10 08:50:28 +05:30
shrayasr 8b0520c627 Adding section about SQLite limitation
More information at #300
2015-06-10 07:28:14 +05:30
Shrayas Rajagopal 770b880f34 More formatting improvements 2015-06-10 00:23:55 +05:30
Shrayas Rajagopal b2a3fbc795 Better formatting of special attributes 2015-06-10 00:22:29 +05:30
shrayasr c173875304 Better README
- Added an example for the [Table] attribute which was missing.
- Additionally separated things onto separate lines for better
readablility
- Better headings
2015-06-10 00:19:16 +05:30
Tor c625042594 Brackets around property names in Update & Delete
Modified Update & Delete method to be consistent with Insert by adding brackets around property names
2015-06-09 15:12:32 +02:00
johandanforth c8ca11efb4 Contrib Insert support for short/int16 id/key Issue #196 2015-06-07 20:56:22 +02:00
johandanforth e408faba82 Contrib Insert now handles closed connection 2015-06-07 13:54:35 +02:00
johandanforth 62cb035dbc Custom table name mapper for Contrib 2015-06-06 19:30:03 +02:00