Marc Gravell
0475827c71
Normalize locations for DNX; just about everything moves and/or renames
2015-11-03 08:46:24 -08:00
Marc Gravell
5576a3ed04
The "SqlMapper.cs is too damned big" file split; also removes C#3 support and .NET 3.5 support (sorry, but legacy by too many years)
2015-11-01 11:49:57 +00:00
Nick Craver
bf6404f5d0
Merge #207 into latest master
2015-10-15 09:47:15 -07:00
Nick Craver
e3e4492057
Merge pull request #110 from garyhuntddn/master
...
Simple Func to allow provision of TypeMaps automatically
2015-10-15 09:25:21 -07:00
Nick Craver
bf7a46a5d0
Merge pull request #324 from gjsduarte/master
...
Added basic support for custom type maps in collection parameters
2015-10-15 08:52:52 -07:00
Marc Gravell
9c3c52f1a5
Merge branch 'defaultStringType' of https://github.com/kppullin/dapper-dot-net into kppullin-defaultStringType
...
Conflicts:
Dapper/SqlMapper.cs
2015-10-15 08:48:29 -07:00
Marc Gravell
c547543e49
Merge branch 'master' of https://github.com/sqmgh/dapper-dot-net into sqmgh-master
...
Conflicts:
Dapper NET40/SqlMapper.cs
2015-10-15 08:29:56 -07:00
Nick Craver
83b47e315b
Merge pull request #308 from NikolayGlynchak/master
...
Added the GridReader.Read method with Type [] types and …
2015-10-15 08:09:36 -07:00
Nick Craver
1fb6694fa1
Fix for TestCustomParams
2015-10-15 06:56:00 -07:00
Marc Gravell
4326e0c4d1
Merge pull request #347 from perliedman/fix-udttype-when-null
...
Only set UdtTypeName when value isn't DBNull
2015-10-12 01:09:24 +01:00
Marc Gravell
5b5dffdbbc
Merge pull request #337 from tangruixing/master
...
Update SqlMapper.cs
2015-10-12 01:08:57 +01:00
Nigrimmist
b2754e8e46
- pr fixes
2015-10-02 11:42:15 +03:00
Nigrimmist
7e8eab6a5d
- code improvements
2015-10-02 01:39:13 +03:00
perliedman
d60182eeaa
Only set UdtTypeName when value isn't DBNull
2015-10-01 09:22:30 +02:00
tangruixing
a5f0579478
Update SqlMapper.cs
...
fixed the "UdtTypeName property must be set for UDT parameters" error.
C# : .net Framework 4.5.1
Sql server 2012
2015-09-10 11:24:57 +08:00
Marc Gravell
855d3c1ad1
Merge pull request #284 from Irrational86/master
...
SqlMapper global/default CommandTimeout
2015-08-25 11:48:47 +01:00
Guilherme Duarte
4e2f7fb71d
Added basic support for customer type maps in collection parameters
...
Added LookupDbType on the first iteration of the PackListParameters
method
2015-08-05 11:59:56 +02:00
NikolayGlynchak
fad3579969
Added then GridReader.Read method with Type [] types and Func<object[], TResult> to map back to more than 7 objects.
2015-06-27 02:37:13 +03:00
johandanforth
a540d7b1d5
Fix #253 , use user defined TypeHandlers over internal implementations.
2015-06-20 14:01:47 +02:00
Marc Gravell
bb5a16ce7a
SO30435185; make it clearer if the caller is passing an array (etc) when they should be passing a single object
2015-05-26 09:03:54 +01:00
Jesse
c645cb5f87
Make use the SqlMapper.Settings.CommandTimeout property as the default value when the CommandDefinition commandTimeout property is not set.
2015-05-12 13:14:23 -04:00
Jesse
896cac1906
Added a static class, Settings, to the SqlMapper class. The Settings class will hold some "global" settings, which the SqlMapper will use.
2015-05-12 13:13:04 -04:00
Marc Gravell
24e55162f4
Fix problem with DynamicParameters.Get<T> being called before the parameters have been added
2015-05-11 08:08:23 +01:00
Marc Gravell
808c270810
Fix boolean literal replacement in IL-based IMPL; 1.41-beta5 release
2015-05-06 12:55:39 +01:00
Marc Gravell
f32d318f43
Merge branch 'CoreCLR'
...
Conflicts:
Dapper NET40/SqlMapper.cs
2015-05-05 13:42:43 +01:00
Marc Gravell
78b0f54d1a
Merge 205 from @BrianJolly (conflict: fixup nuspec)
2015-05-05 13:23:45 +01:00
Marc Gravell
fa06c306f0
Workaround for https://github.com/dotnet/corefx/issues/1613
2015-05-02 16:02:08 +01:00
Marc Gravell
dc6b077f2c
Found a few framework bugs (recorded), and fixed internal properties mapping
2015-05-02 14:36:50 +01:00
Marc Gravell
8d65caba73
Investigate failing test: Scale/Precision is broken SqlClient (issue 1612 logged)
2015-05-02 12:38:52 +01:00
Marc Gravell
ec6faf5476
Fixes for CoreCLR and DNX
2015-05-02 10:54:48 +01:00
Marc Gravell
a161cb5aca
CoreCLR build / 1.41-beta
2015-05-01 21:18:51 +01:00
Marc Gravell
1fc06af58c
1.41-alpha deploy
2015-04-29 22:37:37 +01:00
Marc Gravell
bce293a516
Clearer error message when accessing parameter values; ref #268
2015-04-15 11:26:48 +01:00
Marc Gravell
e64003a5a1
1.40 deploy
2015-04-03 09:32:36 +01:00
Marc Gravell
ac1c2c5289
(thanks @wickedsheep) Don't use GetValues() due to broken implementation in some providers (Mono: I'm looking at you); also add AsList()
2015-04-03 09:29:58 +01:00
Marc Gravell
40282d19cc
Precision and scale controls (fixes Issue #261 )
2015-03-30 13:59:26 +01:00
Marc Gravell
51192328e0
Package updates
2015-03-18 13:23:12 +00:00
Marc Gravell
4997b17650
GridReader should respect no-cache flags
2015-03-16 08:29:55 +00:00
Тукаев Александр Юрьевич
05e1182836
Fix #220
2014-12-16 10:09:43 +06:00
sqmgh
e0df951a13
Change List to IEnumerable
...
Not sure why I didn't do this to begin with
2014-12-05 08:31:48 -08:00
Joseph Daigle
adf39686cb
fix for https://github.com/StackExchange/dapper-dot-net/issues/203
...
check to see if enumerable is null before access
2014-11-20 13:28:09 -05:00
Brann
7c68166924
fixed SO27024806
2014-11-20 12:38:35 +01:00
ofirgeller
7aec5c0d36
Spell Checking
...
Just correcting some typos.
One thing that is a matter of opinion. I think recordset and featureset should not be used as a word so I changed it to => record set and feature set.
2014-11-16 15:05:52 +02:00
Marc Gravell
8df328f849
1.38 release
2014-10-30 15:07:38 +00:00
Marc Gravell
6333ed1614
Parameter reader should work for structs as well as classes; fixes issue #199
2014-10-30 13:41:17 +00:00
kevin-montrose
9846b9af59
whack at an explicit constructor switch
2014-10-28 14:08:10 -04:00
sqmgh
77052b833d
A List is not a DataTable
2014-10-22 11:16:54 -07:00
sqmgh
c933e9441e
Adding support for List<SqlDataRecord>
...
This lets you use List<SqlDataRecord> instead of DataTables for use in
TVPs.
2014-10-22 11:12:33 -07:00
Marc Gravell
8e33a56df1
1.37 release
2014-10-22 10:27:11 -06:00
Marc Gravell
95f5f9a2e0
re-use StringBuilder instances when possible
2014-10-22 10:20:23 -06:00