protected TransformationRepositoryInternal findMap <T>()
        {
            TransformationRepositoryInternal res = null;

            if (!allowedMappings.TryGetValue(typeof(T), out res))
            {
                return(null);
            }
            return(res);
        }
 public virtual ODataTransformationRepositoryFarm Add <VM, DTO, DTOext>()
     where DTOext : DTO
 {
     allowedMappings[typeof(VM)] = new TransformationRepositoryInternal <DTO, DTOext>();
     return(this);
 }
 public virtual TransformationRepositoryFarm Add <VM, DTO>()
 {
     allowedMappings[typeof(VM)] = new TransformationRepositoryInternal <DTO>();
     return(this);
 }