Hi,
I have a code but get an error "Object does not match the target type" Prop.SetValue statement but type both are int 32.
Type a personal unique projectExecutive project type (TBR.Domain.Project project) {UniqueProjectType type = new UniqueProjectType (); (Prop. Name == "id") {} else if (prop.Name == "pfrequency"). PayFrequency = _tbrService.GetEmployee ((integer) project.EmployeeID) .PayFrequency; And prop.SetValue (type, prop.GetValue (project, zero), tap); } Return type; }
I think that's holding here:
< Code> Prop.GetValue (project, empty); Support is specific to specific project types while project is TBR.Domain.Project type Please. I think you should get all the properties of TBR.Domain.Project and look for that name.
Comments
Post a Comment