Ejemplo n.º 1
0
        public void AddMapping <TSource, TDest>(MappingExpression <TSource, TDest> map, bool isRegistered)
        {
            var mapping = new FieldMap(map.ProfileType, GetFieldFromExpression(map.Source, isRegistered), GetFieldFromExpression(map.Destination, isRegistered), isRegistered);

            AddMapping(mapping, isRegistered);
        }
Ejemplo n.º 2
0
        public IMappingExpression <TSource, TDest> CreateMap <TSource, TDest>()
        {
            var expression = new MappingExpression <TSource, TDest>(this.GetType());

            return(expression);
        }
Ejemplo n.º 3
0
 public void AddMapping <TSource, TDest>(MappingExpression <TSource, TDest> map)
 {
     AddMapping(map, false);
 }