Example #1
0
        public static PropertyMapItem Create(string name, IProfile from, IProfile to, string fromName, string toName)
        {
            var map = new PropertyMapItem();

            map.name = name;
            map.to   = to.GetProperty(toName);
            map.from = from.GetProperty(fromName);

            return(map);
        }
Example #2
0
        public static PropertyMapItem Create(string name, IProfileProperty from, IProfileProperty to)
        {
            var map = new PropertyMapItem();

            map.name = name;
            map.to   = to;
            map.from = from;

            return(map);
        }