Marc Gravell
8a875b8743
1.21 metadata
2014-05-08 14:34:58 +01:00
Marc Gravell
6d589f05f7
Metadata for 1.20 release
2014-05-08 12:36:37 +01:00
Marc Gravell
d68ec20e5a
Merge pull request #94 from mjul/master
...
Added DeleteAll method to easily delete all entities in a table
2014-05-07 14:48:52 +01:00
Marc Gravell
aec9a9d24f
Merge pull request #109 from majorsilence/sqlite-support
...
Add SQLiteAdapter
2014-05-07 13:46:23 +01:00
Peter Gill
48c111acf9
Add SQLiteAdapter. Dapper.Contrib inserts now works with sqlite.
2013-12-20 19:59:01 -03:30
Benjamin Collins
67026a0dd7
add ComputedAttribute to allow support for computed columns on Insert
2013-12-07 23:41:42 -06: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
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
Rick Bundren
7fd9b97355
Support for reserved words as columns
...
Insert failed when a word such as order was used as a column name.
Added [] around the column name.
Also modified the test for InsertGetUpdate(). The first Get is now a
User instead of IUser. There is some bug where using the interface
twice first on a null result and then on the real result causes the
reader to not be open when trying to map the type.
2012-11-15 11:20:12 -05:00
danzel
fad9e60598
Throw an exception when asked to Delete<MyType>(null) rather than trying to as in Npgsql it will delete the whole table.
2012-03-23 11:49:52 +13:00
David Chell
b991bf3fad
Fix bug in updating keys in object after insert
2012-03-12 11:45:34 +13:00
David Chell
71258e75b8
Updated SqlServerAdapter to write keys back to object after inserting it into the database.
2012-03-12 11:11:12 +13:00
David Chell
d57970fbc3
Removed POSTGRESQL define and added SqlAdapter dictionary to handle variances in DBMSs
2012-01-19 14:41:07 +13:00
David Chell
ee98aa539b
Merge branch 'master' of https://github.com/SamSaffron/dapper-dot-net
...
Conflicts:
Dapper.Contrib/SqlMapperExtensions.cs
2012-01-18 11:29:28 +13:00
Sam Saffron
c9160c13fb
Upped dapper to 1.8
...
Broke SqlBuilder to another assembly
Added Dapper.Rainbow (minimal ORM)
Changed nuget to distribute DLLs
2012-01-12 15:22:01 +11:00
unknown
4d1d028bff
Adding GroupBy and Having to SqlBuilder (contrib)
2012-01-10 14:12:48 -05:00
Sam Saffron
d9306233fb
concurrency fix, in case we allow for deleting of caches
2011-11-23 17:53:32 +11:00
Tim Stone
6f7078a764
Added trailing space to JOIN prefix to prevent JOIN<table> error in RawSql
2011-11-02 14:34:11 -04:00
kmontrose
a0b36c470f
Adding join and fixing a bug with chaining dynamic parameters.
2011-09-27 15:28:05 -04:00
kmontrose
a1d2efd50e
Contrib - SqlBuilder option to add just parameters, outside of a specific clause.
2011-09-20 15:37:55 -04:00
kmontrose
5fb0d1c3f0
Making it so SqlBuilder templates resolve properly even if no clauses have been added.
2011-09-19 20:33:55 -04:00
kmontrose
adf35ffc01
Adding select composition to SqlBuilder (Contrib).
2011-09-19 20:27:36 -04:00
David Chell
390ba5b45e
Made Postgresql specific insert handle entities with no primary keys.
2011-09-12 08:00:35 +12:00
David Chell
1a506e8e81
Fixed Insert not inserting when the object had no primary key.
2011-09-09 16:52:00 +12:00
David Chell
0d9705b416
Postgres insert implementation now only retrieves keys instead of the entire row.
...
Added [Write(true|false)] attributes to class properties, enables the presence of properties that don't get inserted/updated in the database.
2011-09-07 13:49:22 +12:00
sam.saffron@gmail.com
7392a4e322
merge
2011-09-07 09:26:13 +10:00
David Chell
5633d8795f
Reinstated support for Sql server using #define.
...
Signed-off-by: David Chell <david@qualitech.co.nz >
2011-09-07 10:11:36 +12:00
David Chell
64666d5cf5
Added postresql support for Insert to return primary key of inserted row.
2011-09-07 09:43:22 +12:00
Sam Saffron
c43fedcc45
sqlbuilder
2011-09-05 18:37:54 +10:00
Andrés Jara
ca46947807
Edited Dapper.Contrib/SqlMapperExtensions.cs via GitHub
2011-08-30 17:19:31 -05:00
Andrés Jara
04e11ea2a3
Edited Dapper.Contrib/SqlMapperExtensions.cs via GitHub
2011-08-30 17:19:31 -05:00
Sam Saffron
d35b72e3e2
the transaction is not really needed there ... it helps with nothing.
2011-06-28 15:56:05 +10:00
Sam Saffron
2ee3202f7f
the transaction is not really needed there ... it helps with nothing.
2011-06-28 15:56:05 +10:00
Sam Saffron
b60c0a53f5
depending on data annotations is a mistake, it is not in client profile
2011-06-28 13:07:42 +10:00
Sam Saffron
e743d345b4
depending on data annotations is a mistake, it is not in client profile
2011-06-28 13:07:42 +10:00
Sam Saffron
b6d10d4900
Dapper contrib nuget pack
2011-06-28 13:00:47 +10:00
Sam Saffron
053c2283c4
Dapper contrib nuget pack
2011-06-28 13:00:47 +10:00
Sam Saffron
df64cb2bbe
added nuspec file for dapper contrib
...
--HG--
rename : Dapper.Contrib/Extensions/SqlMapperExtensions.cs => Dapper.Contrib/SqlMapperExtensions.cs
2011-06-28 12:51:45 +10:00
Sam Saffron
ecec7d380d
added nuspec file for dapper contrib
...
--HG--
rename : Dapper.Contrib/Extensions/SqlMapperExtensions.cs => Dapper.Contrib/SqlMapperExtensions.cs
2011-06-28 12:51:45 +10:00
Sam Saffron
aa511707c5
dapper contrib refactor ... pull it all into one file for nuget goodness
2011-06-28 12:43:40 +10:00
Sam Saffron
821ba00b9f
dapper contrib refactor ... pull it all into one file for nuget goodness
2011-06-28 12:43:40 +10:00
johan@JOHAN-DELL-SSD.irm.se
11f393d59c
Added support for table name attribute on POCO class, should work with ANY attribute named "TableAttribute" that has a "Name" property for it's value (supplied one, and also tested with the Table-attribute in EntityFramework). Cleaned up ProxyGenerator for readability.
2011-05-23 23:47:02 +02:00
johan@JOHAN-DELL-SSD.irm.se
85edd4f43a
Added support for table name attribute on POCO class, should work with ANY attribute named "TableAttribute" that has a "Name" property for it's value (supplied one, and also tested with the Table-attribute in EntityFramework). Cleaned up ProxyGenerator for readability.
2011-05-23 23:47:02 +02:00
Sam Saffron
3f41112006
Merge in dapper contrib
...
Add perf test for dapper contrib
Optimise Get perf for dapper contrib
2011-05-23 12:44:57 +10:00
Sam Saffron
c9429bc93c
Merge in dapper contrib
...
Add perf test for dapper contrib
Optimise Get perf for dapper contrib
2011-05-23 12:44:57 +10:00
johan@JOHAN-DELL-SSD.irm.se
1a87102af7
fixed bug in tests, added support for non-tracked concrete class in Get(), emitting a concrete class which seems stupid, but works (due to the generic get method returning both interface and new class)
2011-05-22 13:06:42 +02:00
johan@JOHAN-DELL-SSD.irm.se
8448c41e7b
fixed bug in tests, added support for non-tracked concrete class in Get(), emitting a concrete class which seems stupid, but works (due to the generic get method returning both interface and new class)
2011-05-22 13:06:42 +02:00
johan@JOHAN-DELL-SSD.irm.se
f38d110380
Fixed bug on Get when there is no record found, cleaned up unused code
2011-05-21 23:58:53 +02:00
johan@JOHAN-DELL-SSD.irm.se
cc5c9cd337
Fixed bug on Get when there is no record found, cleaned up unused code
2011-05-21 23:58:53 +02:00