Commit Graph

116 Commits

Author SHA1 Message Date
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
johandanforth beb675d1dc GetDatebaseType delegate for Contrib Insert 2015-06-06 18:01:40 +02:00
johandanforth 63460c60e9 specify sqladapter for insert() and insertasync() 2015-05-27 00:01:17 +02:00
Johan Danforth 16325e8539 Async methods now supports lists of entities 2015-05-13 13:29:28 +02:00
Johan Danforth d6e068d348 Added InsertAsync to Dapper.Contrib and small fix to GetAllAsync 2015-05-12 20:21:01 +02:00
Johan Danforth c4905c5750 New features in Dapper.Contrib 2015-05-12 18:18:10 +02:00
Johan Danforth 8848e37e5e Started a readme for Dapper.Contrib 2015-05-01 23:39:46 +02:00
johandanforth a67ed727e6 Cleaned up shared files in Contrib and tests. Also added tests for transactions in Contrib 2015-05-01 22:52:13 +02:00
johandanforth c8bd264d01 Revert "spring cleaning in Contrib areas, more share of code between framework versions in Contrib"
This reverts commit 27abc447e1.
2015-05-01 22:19:36 +02:00
johan_danforth@hotmail.com 27abc447e1 spring cleaning in Contrib areas, more share of code between framework versions in Contrib 2015-04-23 22:29:15 +02:00
Marc Gravell 7d7d11b7c0 Merge branch 'master' of github.com:StackExchange/dapper-dot-net 2015-04-13 07:53:40 +01:00
Marc Gravell ad5afe13f9 fix comment to avoid anyone doing anything silly with IDENT_CURRENT 2015-04-13 07:53:32 +01:00
Marc Gravell e64003a5a1 1.40 deploy 2015-04-03 09:32:36 +01:00
Marc Gravell 51192328e0 Package updates 2015-03-18 13:23:12 +00:00
Marc Gravell 8df328f849 1.38 release 2014-10-30 15:07:38 +00:00
Marc Gravell 8e33a56df1 1.37 release 2014-10-22 10:27:11 -06:00
Marc Gravell d9f2801f0d 1.36 release 2014-10-14 15:49:53 +01:00
Marc Gravell 1f341bb611 Release 1.35 2014-09-29 09:02:49 +01:00