MarrDataMapper 3.34.0

Marr.DataMapper

Marr DataMapper is a Linq enabled Micro-ORM that allows you to project views into complex object graphs. Contributors: Rick Schott, vitidev, Keivan Beigi, Mark McDowall

There is a newer version of this package available.
See the version list below for details.
Install-Package MarrDataMapper -Version 3.34.0
dotnet add package MarrDataMapper --version 3.34.0
paket add MarrDataMapper --version 3.34.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

v3.34
- Added a new EagerLoadedJoin feature in the fluent mappings that creates a join relationship via the "JoinOne" or "JoinMany" methods in the FluentMappings class.
- Added a new overload the the IDataMapper Queryable<T> method that takes a QueryBuilder<T> as an argument.  This allows the user to build up the returned IQueryable<T> with some query defaults (such as the "Graph" levels to include in the resulting query).  

v3.33
- Improved IQueryable Where clause expression parser so that it can handle a chain of nested property calls to unwrap the resulting parameter value.  
Example: .Where<User>(u => u.UserName == User.Identity.Name)
- Added an UnsupportedException if user tries to include a function call in their Where expression.  The exception provides brief user-friendly instructions to replace the function call with the resulting value.
Example of an unsupported call: .Where<User>(u => u.UserName = GetCurrentUserName());

v3.30
- now implements IQueryable<T>.  (Previous versions implemented standard Linq methods, as well as some more customized methods (like .AndWhere), but did not actually implement IQueryable<T>.  The more powerful db.Query<T>() is still available for the most control.  db.Queryable<T>() will return the IQueryable<T> implementation.)
- Eager loaded and lazy loaded fields now honor the Graph query method: db.Query().Graph(...)
Summary: calling Query<T>() without .Graph(...) only loads the root level entities.  Adding .Graph() with no parameters will load all child relationships.  Adding .Graph(...) with one or more child entity lambda expressions will load only the explicitly specified child relationships.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
3.48.0 643 9/15/2015
3.47.0 400 4/19/2015
3.46.0 252 4/19/2015
3.45.0 249 4/19/2015
3.44.0 280 4/2/2015
3.43.0 276 3/22/2015
3.42.0 296 3/6/2015
3.41.0 262 3/4/2015
3.40.0 264 3/3/2015
3.39.0 269 3/2/2015
3.38.0 275 2/10/2015
3.37.0 275 2/9/2015
3.36.0 261 2/7/2015
3.35.0 252 2/7/2015
3.34.0 288 1/29/2015
3.33.0 261 1/26/2015
3.32.0 251 1/25/2015
3.31.0 256 1/25/2015
3.30.0 251 1/25/2015
3.22.0 275 1/20/2015
3.20.0 513 10/12/2013
3.19.0 344 5/22/2013
3.18.0 303 5/3/2013
3.17.4747.34302 353 12/31/2012
3.15.4493.35539 753 4/21/2012
3.14.4476.37307 373 4/4/2012
3.13.4394.2793 521 1/12/2012
3.12.4391.129 348 1/9/2012
3.11.4386.41359 352 1/5/2012
3.10.4385.23576 361 1/3/2012
3.10.4384.37495 342 1/3/2012
3.9.4212.33537 688 9/27/2011
3.9.4201.35525 433 7/4/2011
3.8.4183.745 451 6/15/2011
3.6.4165.15516 449 5/28/2011
3.4.4113.39059 575 4/7/2011
3.4.4099.36606 547 3/24/2011
3.3.4095.39144 549 3/20/2011
3.3.4094.18948 534 3/18/2011
3.3.4092.18182 684 3/16/2011
3.3.4085.33025 571 3/9/2011
3.3.4085.31481 537 3/9/2011
3.3.4084.18411 550 3/8/2011
3.3.4083.30500 535 3/7/2011
3.2.4083.23900 554 3/7/2011
3.2.4080.23422 564 3/4/2011
3.2.4080.1242 565 3/4/2011
3.1.4076.882 597 2/28/2011
3.1.4075.42598 580 2/28/2011
2.7.4064.42994 630 2/17/2011
2.6.0 673 2/14/2011
2.5.0 690 2/14/2011
2.4.0 674 2/14/2011
2.3.4059.22186 616 2/11/2011
Show less