Commit Graph

1603 Commits

Author SHA1 Message Date
Marc Gravell 0375e7c5b9 Merge pull request #100 from BlackjacketMack/master
Added support for ICustomQueryParameters to be members of a dictionary t...
2014-05-07 13:43:44 +01:00
Marc Gravell ae0b3962ca ConfigureAwait 2014-05-07 13:37:55 +01:00
Marc Gravell 03fc8deeec Merge branch 'HEAD' of https://github.com/SamSaffron/dapper-dot-net.git 2014-05-07 13:34:51 +01:00
Marc Gravell d34b6bbf36 Merge pull request #106 from aggieben/master
add ComputedAttribute to allow support for computed columns on Insert
2014-05-07 13:33:35 +01:00
Marc Gravell f3b0f1d9ed Merge branch 'HEAD' of https://github.com/SamSaffron/dapper-dot-net.git 2014-05-07 13:31:13 +01:00
Marc Gravell efd44601c9 Merge pull request #114 from tallesl/patch-1
Fixed broken link
2014-05-07 13:30:31 +01:00
Marc Gravell a8f0a31868 Cleanup packages 2014-05-07 13:28:09 +01:00
Marc Gravell bd33588ddb Update EF test to EF6 code-first (removed edmx) 2014-05-07 13:22:00 +01:00
Marc Gravell dbd5455f1a Async cleanup; implement missing async methods based on multiple pull requests, but introducing CommandDefinition to preserve binary compatibility while allowing new options 2014-05-07 12:41:59 +01:00
simonkang 4f239a8e8f Added method to use AnsiString as Default 2014-02-27 14:28:37 +09:00
Talles L 3d8057bf1a Fixed broken link 2014-02-19 16:13:50 -03:00
Simon Skov Boisen 65235cbb06 Remove unnecessary check for whether the type being deserialized is a ValueType 2014-01-16 15:39:29 +01:00
garyhuntddn e3de81109e provision of TypeMapProvider to allow lazy creation of type maps only when they are needed 2014-01-14 14:29:40 +00:00
Peter Gill 48c111acf9 Add SQLiteAdapter. Dapper.Contrib inserts now works with sqlite. 2013-12-20 19:59:01 -03:30
Mauro Cerutti ec57d85ece Fixed crash with DbString parameter list on Oracle 2013-12-17 14:33:37 +01:00
Benjamin Collins 67026a0dd7 add ComputedAttribute to allow support for computed columns on Insert 2013-12-07 23:41:42 -06:00
JJoe2 e53d85a0e2 Added ExecuteReader method
ExecuteReader returns an IDataReader that can be used to process the
results without Dapper's mapping - for example, to fill a DataTable or
DataSet
2013-11-07 17:52:40 +01:00
Young Pay 356c86219e ThrowDataException is not Complete 2013-11-05 18:15:48 +08:00
BlackjacketMack 611dfed0b0 Added support for ICustomQueryParameters to be members of a dictionary that can then be passed into a new DynamicParameters object.
Generally, working with an IDictionary<string,object> and DynamicParameters has worked well.  However, when one of the entries in the dictionary is an ICustomQueryParameter, it would blow up in the SqlMapper.LookupDbType method.  This allows parameters that are part of a dictionary to simply call 'AddParameter' passing in the command and name.
2013-10-27 18:17:58 -04:00
tms 4f1e5f9139 Make parameter filtering truly culture-insensitive 2013-10-24 13:10:14 -04:00
Marc Gravell 885a8d46cb Provide support for OleDB / anonymous sql parameters 2013-09-18 10:38:19 +01:00
Sam 8f017a25f3 Merge pull request #92 from danzel/origin_master
Dapper.Contrib - Fix broken properties cache.
2013-09-11 18:56:57 -07:00
Martin Jul 5d7d2318da Added DeleteAll method to easily delete all entities in a table 2013-08-27 13:22:57 +02:00
danzel 0f3cec9440 Fix broken properties cache. 2013-08-21 13:34:01 +12:00
Marc Gravell bc39863ee9 Support operator-based conversions 2013-08-14 11:59:48 +01:00
Marc Gravell 6802611b94 Fix double?/decimal? conversions (with test); added (currently failing; acknowledges current state) test re missing members 2013-08-14 11:22:55 +01:00
Caio Proiete 081682fd93 Add mapping for query fields containing underscores to properties with the same name without underscores
Example:
Database field "Customer_ID" is now mapped to class property/field "CustomerID" (case insensitive)
2013-07-18 21:01:26 -03:00
Sean Lynch a243986b07 Fix single file (SqlMapper.cs) link 2013-07-02 11:33:58 -04:00
Marc Gravell 4e187f013a Added example/test for http://stackoverflow.com/q/16796519/23354 2013-05-28 19:38:58 +01:00
Marc Gravell bdf56330b7 Deploy 1.13
Signed-off-by: Marc Gravell <marc.gravell@gmail.com>
1.13
2013-05-24 13:08:08 +01:00
Marc Gravell 7a5f419cb8 Fix: multimap shouldn't assume it owns the connection 2013-05-24 12:59:18 +01:00
Marc Gravell 61af54a5d0 (via lgsky) - multimap should auto-open/close as necessary 2013-05-24 12:10:55 +01:00
Marc Gravell 86476bc2a6 (courtesy @mrange) fix dictionary semantics of DapperRow 2013-05-24 11:52:22 +01:00
Marc Gravell eba9780e6a Removed unnecessary async/await in a few places 2013-05-23 16:06:56 +01:00
Marc Gravell 37329c8dd6 Async; manual merge of https://github.com/SamSaffron/dapper-dot-net/pull/49
- huge thanks to bkaid
2013-05-23 16:02:58 +01:00
Marc Gravell 9177586e1d Merge pull request #81 from fbdegroot/master
Added support for TVP in anonymous objects
2013-05-23 07:08:47 -07:00
Marc Gravell 0a949f736c Merge branch 'master' of https://github.com/SamSaffron/dapper-dot-net.git 2013-05-23 14:57:07 +01:00
Marc Gravell 1ca9c1a06d Merge pull request #69 from KorsG/master
DapperRow dynamic invocation fails in Visual basic - fix
2013-05-23 06:55:35 -07:00
Marc Gravell e414149faf Implement connection-string equivalence (similar to https://github.com/SamSaffron/dapper-dot-net/pull/80)
Fix Issue131
2013-05-23 14:52:11 +01:00
Marc Gravell 9ac9c4011b Nulls in dynamic 2013-05-23 14:13:44 +01:00
Fabian de Groot 6815c6f0cf Added support for TVP in anonymous objects 2013-05-02 14:57:55 +02:00
von edde1eb616 Support for "ignoring property" 2013-04-01 11:34:56 +08:00
Marc Gravell 36f51540ce http://code.google.com/p/dapper-dot-net/issues/detail?id=132 - EF change patches
@david.obando
2013-02-27 21:36:48 +00:00
Kevin Pullin 2c0e0d5201 Fixed typo
'exceptionThrow' -> 'exceptionThrown'
2012-12-14 20:41:50 -08:00
Kevin Pullin 5b4c4368e6 Commit DbString.DefaultStringDbType test 2012-12-14 20:35:21 -08:00
Kevin Pullin 7062416c63 Support a default value for DbString.IsAnsi
It is painful and easy to forget to set `DbString.IsAnsi = true` when
dealing with databases that mainly use char/varchar data types (as
opposed to nchar/nvarchar).

This patch allows a default value for `DbString.IsAnsi` to be configured
via the `DefaultStringDbType` static property.
2012-12-14 20:32:38 -08:00
Morten Korsgaard 413a76cb3a When adding dynamic properties, fieldName dictionary name not set 2012-12-12 21:43:04 +01:00
Morten Korsgaard 9f2cbef792 DapperRow dynamic invocation incompatible with Visual basic fix 2012-12-09 23:04:23 +01:00
Sam 6950c694b3 Merge pull request #66 from rayjezek/master
Rainbow: Ignore Id property when calling Table.Insert
2012-12-05 17:06:16 -08:00
Sam b3dc7d180d Merge pull request #68 from tms/rainbow-extensibility
Updated Table methods to better support multi-DB
2012-12-05 17:05:17 -08:00