Exemplo n.º 1
0
        public static DAL.TypeReference GetTypeReference(DTO.NewFolder1.TypeReference typereferencedto)
        {
            if (typereferencedto == null)
            {
                return(null);
            }
            DAL.TypeReference type = new DAL.TypeReference()
            {
                RefId   = typereferencedto.RefId,
                refname = typereferencedto.refname,

                Reference = NewFolder1.Reference.GetListReferenceDAL(typereferencedto.Reference as List <Reference>),
            };
            return(type);
        }
Exemplo n.º 2
0
        public static TypeReference GetTypeReference(DAL.TypeReference t)
        {
            if (t == null)
            {
                return(null);
            }
            TypeReference dto = new TypeReference()
            {
                RefId     = t.RefId,
                refname   = t.refname,
                Reference = NewFolder1.Reference.GetListReferenceDTO(t.Reference as List <DAL.Reference>),
            };

            return(dto);
        }