Skip to content
jefking edited this page Oct 20, 2014 · 3 revisions

Namespace

using King.Mapper;
var a = new ModelA()
{
	PropertyA = "The-Value-Of-Property-A"
};

var b = a.Map<ModelB>();
var isTrue = a.PropertyA == b.PropertyA;

IDictionary Mapping

var a = dic.Map<ModelB>();
var isTrue = a.PropertyA == dic["PropertyA"];

Clone this wiki locally