public void SelectTestByString() { MemberAssignment[] assignments = new MemberAssignment[] { sourceParam.BindSelectedList <ObjectE, ObjectA, ObjectB>("ListOfB", ObjectB.FromObjectA, "ListOfA") }; ObjectE obj = listOfObjectD.Select(Expression.Lambda <Func <ObjectD, ObjectE> >( Expression.MemberInit(Expression.New(typeof(ObjectE)), assignments) , sourceParam).Compile()).FirstOrDefault(); Assert.IsNotNull(obj.ListOfB); Assert.AreEqual(2, obj.ListOfB.Count()); }