Search
 
followpp.png
ValueInjecter lets you define your own convention-based matching algorithms (ValueInjections) in order to match up (inject) source values to destination values.

step by step explanation
flattening
unflattening
Deep Cloning
Useful injections
Automatic mapping tests for EF4 Code First Entities
Data access layer (ORM) with the Value Injecter
for testing
max performance with the SmartConventionInjection

Mapping IDataReader to object

Automapper Simulation with the ValueInjecter Download Test Project

if there is any questions please do ask on stackoverflow tag valueinjecter

http://prodinner.codeplex.com/ uses ValueInjecter for mapping ViewModels to Entities and for mapping tests

ValueInjecter used to map ViewModels to and from Entities in the live demo for http://awesome.codeplex.com

ASP.net Awesome (Web-Forms) has been released,  see it on the new website: www.aspnetawesome.com

basic usage:

using Omu.ValueInjecter;

myObject.InjectFrom(anyOtherObject);

//inject from multiple sources
a.InjectFrom(b,c,d,e);

//inject using your own injection
a.InjectFrom<MyInjection>(b);

ValueInjecter samples (available in the downloads):

asp.net-mvc application

mvc.png

winforms flattening/unflattening

winflat.png

asp.net webforms

webforms.png

silverlight

silver.png

wpf

wpf.png

Data Access

dal.png
Last edited Wed at 12:01 AM by o, version 96
Updating...
© 2006-2012 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2012.1.11.18365