Nick Craver
07572a22f9
Merge branch 'master' of github.com:StackExchange/dapper-dot-net
2015-11-26 15:30:53 -05:00
Nick Craver
63706bb877
Merge branch 'pr/368'
2015-11-26 15:27:12 -05:00
Nick Craver
3b215e3732
Merge pull request #415 from StackExchange/UseSingleResultSingleRow
...
Use single-row/single-result hint when possible
2015-11-26 15:15:31 -05:00
Marc Gravell
ec3a1953a4
Use single-row/single-result hint when possible
2015-11-26 16:35:04 +00:00
Marc Gravell
65b26d6efa
Merge pull request #413 from StackExchange/tests/mysql
...
MySQL Test Suite for Contrib
2015-11-26 15:01:40 +00:00
Nick Craver
8c43e939ba
Merge pull request #414 from fjunqueira/patch-1
...
Fix the URL to the Tests file in Readme
2015-11-26 09:02:31 -05:00
Nick Craver
e57980348a
Fix OLEDB tests on Appveyor
2015-11-26 07:57:45 -05:00
Fábio Junqueira
f83fa2c3c4
Update Readme.md
...
Fix the url to Dapper Tests
2015-11-26 10:50:13 -02:00
Nick Craver
d2a798fd8e
Cleanup: use Test.DB.* file pattern (which is .gitignored)
2015-11-26 07:37:51 -05:00
Nick Craver
d28f2cf4bf
Skip MySQL tests if the server isn't running.
...
This is the "approved" xUnit pattern, via:
https://github.com/xunit/samples.xunit/tree/master/DynamicSkipExample
It's also the only way I can make the damn skipping work...but at least
it's it's one-time code to make any server set relatively easily
skippable.
2015-11-26 07:36:28 -05:00
Marc Gravell
4f3a04cfaa
Merge pull request #412 from StackExchange/QueryFirstOrDefault
...
Add {Query|Read}FirstOrDefault methods with optimized paths
1.50.0-beta4
2015-11-26 12:07:16 +00:00
Marc Gravell
5708d4980c
Bump to 1.50-beta4 for deploy
2015-11-26 12:06:56 +00:00
Marc Gravell
9b93b5388f
Fix all (object)param and dynamic param declarations; we already fixed this for non-async, but it looks like it was missed for async; this is not a breaking change: dynamic is actually object+attribute
2015-11-26 11:58:39 +00:00
Marc Gravell
3684dc4dcf
Extra tests for FirstOrDefault code
2015-11-26 11:01:19 +00: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
Marc Gravell
337af552c1
Merge pull request #411 from henkmollema/public-defaulttypemap
...
Make DefaultTypeMap public again
2015-11-25 15:53:28 +00:00
Henk Mollema
9feabe5632
Make DefaultTypeMap public again
2015-11-25 15:32:55 +01:00
Nick Craver
6ed2f3baa9
Add a MySQL test suite
...
TODO: Figure out a clean way to disable this locally - we'll want this
functionality in the Core test suite as well as we add MySQL specific
tests (due to syntax differences in creating tables and such).
2015-11-25 06:13:40 -05:00
Marc Gravell
8c7a14cd6a
Merge branch 'master' of github.com:StackExchange/dapper-dot-net
2015-11-25 11:13:32 +00:00
Marc Gravell
0f2188520c
Ignore sdf files from tests
2015-11-25 11:13:19 +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
Marc Gravell
37a49b4bb3
Added "dnx perf" support in tests json; gave up on getting SUBSONIC
, NHIBERNATE and SIMPLEDATA
to work, but would love someone to take a look at them
2015-11-25 11:00:28 +00:00
Nick Craver
b9c5d5d8d5
Contrib: DRY code current keys implementation
2015-11-24 21:45:12 -05:00
Nick Craver
e40c788269
nits
2015-11-24 21:44:38 -05:00
Nick Craver
de8c5fe47f
Root file cleanup
2015-11-24 21:13:11 -05:00
Nick Craver
0f838ee664
Remove TestResults/ from repo
2015-11-24 21:11:02 -05:00
Nick Craver
d2ab2f8d4a
Core: SqlMapper cleanup
...
Assuming the CHSARP30 were oversights here given the net35 removal, but
playing it safe and leaving for this commit.
2015-11-24 21:08:50 -05:00
Nick Craver
114bc10783
Core: peripheral cleanup
2015-11-24 20:37:10 -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
Marc Gravell
2e61eb8aa9
Merge pull request #407 from StackExchange/full-dnx
...
A full CoreCLR/DNX friendly conversion
2015-11-24 23:23:03 +00: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
Marc Gravell
a22242e1fc
Merge pull request #409 from joncloud/issue#408
...
Updated link to performance tests.
2015-11-24 21:40:55 +00:00
joncloud
bf39d13af0
Updated link to performance tests.
2015-11-24 13:07:39 -08:00
Nick Craver
459ab19fdb
Merge master latest, because: git
2015-11-23 09:26:35 -05:00
Nick Craver
418bf96a0c
Move to Microsoft.SqlServer.Compact, damn you rebase.
2015-11-22 18:05:49 -05:00
Nick Craver
4606d6045f
Contrib: make tests more friendly to fresh databases
2015-11-22 18:03:03 -05:00
Nick Craver
de060821ce
Use Appveyor's SQL when running there, on Contrib as well.
2015-11-22 18:03:02 -05:00
Nick Craver
7915f58f26
Move to Microsoft.SqlServer.Compact for Contrib tests
2015-11-22 18:03:01 -05: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
Nick Craver
523f7c8df5
Cleanup, organize project.json orders
2015-11-22 17:55:00 -05:00
Nick Craver
89d44089b6
Merge pull request #382 from johandanforth/key-bug-in-getasync
...
Fixed missing check for explicit key in Contrib GetaAync()
2015-11-22 17:53:03 -05:00
Nick Craver
2920780318
Merge branch 'master' of github.com:StackExchange/dapper-dot-net
2015-11-22 06:50:47 -05:00
Marc Gravell
c75df1e37b
Hashtable was simply hiding; reinstate throughout
2015-11-22 10:34:56 +00:00
Nick Craver
5f569d9268
Cleanup, organize project.json orders
2015-11-21 17:20:05 -05:00
Nick Craver
9ae3d50bb6
ConnectionString for Appveyor
...
hacky style - I think we want to remove the program given dnx run exists
2015-11-20 22:17:58 -05:00
Nick Craver
ab1aeb3072
Backport xunit tests to non-DNX as well.
...
This allows full testing from both solutions, all green.
This includes nuget updates for the test libraries but explicitly
excludes the npgsql upgrade, since there are known 2.0 vs. 3.0 driver
issues. If we can assume everyone is able to upgrade - then we should
switch testing over. Alternatively, we need to test both. My preference
would be the former.
2015-11-20 21:31:28 -05:00
Marc Gravell
79baeebfee
Revert "This doesn't build for me locally, but apparently 5.2 should work; testing for CI server"
...
This reverts commit 4a70b621e8 .
2015-11-19 17:09:52 +00:00
Marc Gravell
4a70b621e8
This doesn't build for me locally, but apparently 5.2 should work; testing for CI server
2015-11-19 17:01:56 +00:00
Marc Gravell
a1c531c4d2
1.50-beta3
1.50-beta3
2015-11-19 13:12:37 +00:00