509 Commits

Author SHA1 Message Date
Marc Gravell dde50d193f Minor tweaks to custom type-map implementation; principally, lock-less reading and caching the default type-map 1.11 2012-09-04 08:56:35 +01:00
Marc Gravell 134d1a56b0 Merge branch 'HEAD' of git://github.com/azhmur/dapper-dot-net.git 2012-09-04 08:40:08 +01:00
Anatoly Zhmur 8621792eb6 Added support for custom property/field mapping in TypeDeserializer 2012-09-04 08:38:05 +01:00
Anatoly Zhmur 5b0517cadb Added support for custom property/field mapping in TypeDeserializer 2012-08-14 16:21:49 +04:00
Marc Gravell 4a7e7fb5da Merge branch 'master' of https://github.com/jedidja/dapper-dot-net into jedidja-master
Conflicts:
	Dapper.Rainbow/Database.cs
2012-08-07 12:13:20 +01:00
Marc Gravell 4a9f05009c The "first column as null gives null object" is by-design;
tweak tests to represent this (and workaround)

Added [ActiveTest] to allow trivial debugging individual tests
2012-08-07 12:03:24 +01:00
Marc Gravell d0331a0300 Merge pull request #36 from jkonecki/2b04c22
Replicated a bug 'Dapper MultiMap doesn't work with splitOn with NULL value'
2012-08-07 03:36:00 -07:00
Marc Gravell e79dcff3a4 Merge pull request #45 from jkonecki/6dfdbf9306759118e3d0e086e85df9f90d736624
Fix for issue #70 (support for TimeSpan)
2012-08-07 03:33:21 -07:00
Marc Gravell 718aa367a9 Merge pull request #40 from kappy/CSharp30DynamicQuery
Added dynamic query like for CSharp30.
2012-08-07 03:28:43 -07:00
Marc Gravell 00a6e428dc Merge branch 'fsharp' of https://github.com/vosen/dapper-dot-net into vosen-fsharp
Also optimised ldloc/lodloca/stloc and fixed enum double-assignment

Signed-off-by: Marc Gravell <marc.gravell@gmail.com>
2012-08-07 11:25:54 +01:00
Marc Gravell 63d37477b5 Merge branch 'fsharp' of https://github.com/vosen/dapper-dot-net into vosen-fsharp
Conflicts:
	Dapper/SqlMapper.cs
2012-08-07 11:19:02 +01:00
Marc Gravell e39c437078 Merge branch 'master' of https://code.google.com/p/dapper-dot-net/ 2012-08-07 09:29:48 +01:00
Marc Gravell 840a766d41 VS2012 sln; avoid a few build warnings 2012-08-07 09:28:41 +01:00
Jakub Konecki 6dfdbf9306 Added support for TimeSpan
Fix for issue #70
(http://code.google.com/p/dapper-dot-net/issues/detail?id=70) and also
related MS bug with DbType.Time
(https://connect.microsoft.com/VisualStudio/feedback/details/381934/sqlparameter-dbtype-dbtype-time-sets-the-parameter-to-sqldbtype-datetime-instead-of-sqldbtype-time).
2012-08-06 18:36:47 +01:00
Sam 3f5aa81e40 Merge pull request #42 from garjitech/master
Capitalize "id" to maintain consitency
2012-07-15 05:07:40 -07:00
Garrett Wolf 7a454ad48e Capitalized "id" to maintain consistency 2012-07-14 17:15:23 -07:00
Joao Silva 148f2f967e Added dynamic query like for CSharp30. The behavior is simulated with a Dictionary<string,object> 2012-07-12 20:18:24 +01:00
Sam 809594cf41 Merge pull request #39 from SwissCheeze/master
sql_variant support query parameters and SQL Server
2012-07-02 16:47:16 -07:00
SwissCheeze 374ac003c3 Formatting. 2012-07-02 15:23:21 -03:00
SwissCheeze 39927925c0 Updated to include support for sql_variant. 2012-07-02 15:22:43 -03:00
Marc Gravell 310dd846fa 1.10 release 1.10 2012-06-27 20:21:16 +01:00
Marc Gravell cc293ed985 ThrowDataException could go screwy if the reader was closed; compensate 2012-06-27 19:51:51 +01:00
Marc Gravell c7bb642466 Merge branch 'master' of https://code.google.com/p/dapper-dot-net/ 2012-06-25 19:14:25 +01:00
Marc Gravell f63cd8c0ac Issue 83: CLSCompliant 2012-06-25 16:49:24 +01:00
Marc Gravell 116ea975b0 Support for ExpandoObject (or at least, "dynamic" and dictionary-like) to be treated directly as a parameter 2012-06-25 16:45:22 +01:00
Sam c1155f911b Merge pull request #38 from RichCzyzewski/TVPWithOtherParams
Updated DynamicParameters to allow inheritance of the AddParameters
2012-06-21 16:02:30 -07:00
Rich Czyzewski 282d29183d Updated DynamicParameters to allow inheritance of the AddParameters method when subclassing for TVPs 2012-06-21 11:04:33 -04:00
Marc Gravell d783008a9c Merge branch 'master' of https://code.google.com/p/dapper-dot-net/ 2012-06-13 06:31:46 +01:00
Marc Gravell 77227781c5 Merge pull request #37 from kappy/CSharp30Overloads
Adding some common used overloads for Query, Execute and QueryMultiple
2012-06-12 22:21:07 -07:00
Marc Gravell 15d259f038 1.9 release 1.9 2012-06-12 11:07:26 +01:00
Marc Gravell 8a9e1c7b37 Merge branch 'master' of https://code.google.com/p/dapper-dot-net/ 2012-06-12 07:47:13 +01:00
Joao Silva bb060f6565 Added overloads for QueryMultiple 2012-06-11 13:22:00 +01:00
unknown 6101cab4bb (schema change detection) actually, don't need hash to depend on types; the binding code only considers names, not types - generated code would be the same even if this doesn't change 2012-06-11 12:54:20 +01:00
unknown 7053c56fe0 Rewrite of the schema-change handling; the "see if it errors, then recalc" is, it turns out, stupid. 2012-06-11 12:49:30 +01:00
Joao Silva cc5bf8ccde Added Overloads for commandType and transaction for CSHARP30 Directive for adding common call's signatures and also mantain language compatibility with pre-VS2010 2012-06-11 03:39:23 +01:00
Joao Silva 9f61acde75 No need for dynamic remark on CHARP30 Directive since we don't have dynamic parameters here 2012-06-11 03:22:49 +01:00
Sam b2a1e4c5c3 Merge pull request #35 from xpaulbettsx/master
Add a .gitattributes
2012-05-28 16:53:24 -07:00
Jakub Konecki 2b04c22f08 MultiMap doesn't work with NULL values
Replicated a bug 'Dapper MultiMap doesn't work with splitOn with NULL
value' reported on SO http://stackoverflow.com/q/10744728/449906.
Dapper doesn't create an instance of the class if the first property
after split is mapped to a column with NULL value.
2012-05-28 23:37:19 +01:00
Paul Betts 74f094184d Add a .gitattributes to tell other Git clients that this repo is autocrlf=false 2012-05-28 12:01:48 -07:00
unknown b8dedd0eee Added a test to compare performance to DataTable (via IDataReader.GetValues) 2012-05-24 13:50:24 +01:00
Sam 09ddf2f715 Merge pull request #34 from michael-wolfenden/patch-1
Updated Readme
2012-05-10 22:59:40 -07:00
Michael Wolfenden 232932d82f Updated Readme 2012-05-11 13:32:48 +10:00
unknown 77dde93327 Support enums (and nullable enums) in Query<T>, and check (extra tests) that they work fine for regular T with an enum / nullable-enum member 2012-05-10 13:15:51 +01:00
Sam 5f5aa70804 Merge pull request #33 from xps/master
Fixed a NullReferenceException when merging DynamicParameters
2012-04-26 16:02:51 -07:00
Sam d7443490c2 Merge pull request #32 from brannon/master
Add support for dictionaries/expandos to DynamicParameters + Refactoring
2012-04-26 16:02:11 -07:00
Xavier Poinas 01e6d8ffbb Fixed a NullReferenceException when merging DynamicParameters 2012-04-25 12:14:15 +10:00
Xavier Poinas ab858e088c Merge remote-tracking branch 'upstream/master' 2012-04-25 12:13:48 +10:00
Brannon Jones 081799e678 Adding support for appending a dictionary/expando to DynamicParameters. 2012-04-18 12:11:39 -07:00
Brannon Jones 63062d96ae Adding support for commands with an existing/default/inherited transaction. 2012-04-18 10:58:07 -07:00
Brannon Jones c7dcf4f898 Merged with upstream. 2012-04-17 17:19:50 -07:00