Releases: zzzprojects/Dapper-Plus
Releases · zzzprojects/Dapper-Plus
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.24
v1.0.23
v1.0.22
Download the library here
ADDED: IgnoreOnMergeInsert
ADDED: IgnoreOnMergeUpdate
IgnoreOnMergeInsert
Sets columns to ignore when merge method is performing the insert.
DapperPlusManager.Entity<Customer>()
.Table("Customer")
.KeepIdentity()
.IgnoreOnMergeInsert(x => x.ColumnToSkip);
IgnoreOnMergeUpdate
Sets columns to ignore when merge method is performing the update.
DapperPlusManager.Entity<Customer>()
.Table("Customer")
.KeepIdentity()
.IgnoreOnMergeUpdate(x => x.ColumnToSkip);
PRO Version unlocked for the current month (April)
v1.0.21
Download the library here
ADDED: KeepIdentity options
ADDED: Support to ExpandoObject + Mapping
ADDED: Support to unknown type (object)
KeepIdentity
Gets or sets if the source identity from the source should be keep.
DapperPlusManager.Entity<EntityWithIdentity>()
.Table("Customer")
.KeepIdentity()
ExpandoObject
You can now map entity to ExpandoObject
DapperPlusManager.Entity<ExpandoObject>()
.Table("Customer")
.Ignore("ColumnToSkip");
Unknow Type
If you don't know the type or it's created at runtime, you can map the entity to an object.
We highly recommend to use a Map Key.
DapperPlusManager.Entity<object>("Map_01")
.Table("Customer")
.KeepIdentity()
.Ignore("ColumnToSkip");
conn.BulkInsert("Map_01", list);
PRO Version unlocked for the current month (April)