Click here to Skip to main content
14,638,900 members
Rate this:
Please Sign up or sign in to vote.
See more:
HI I have one Class UsersVo where I declare variables and their setter and getter methods using Refactor property...Recently I ADDED two variables to that class..But after creating object to that class I am not getting the variables that I added in the help list..All the Previous variables am getting in the list..please help to sort it out..Also help me the steps to create setter and getter methods in Value Object class..
public class UsersVO
{
 //Doctors Profile
    int _DoctorId;
    string _Firstname;
    string _Middlename;
    string _Lastname;
    int _MainSpecialityID;
    string _MainSpeciality;
}
 public string Firstname
    {
        get
        {
            return _Firstname;
        }
        set
        {
            _Firstname = value;
        }
    }
    public string Middlename
    {
        get
        {
            return _Middlename;
        }
        set
        {
            _Middlename = value;
        }
    }
Posted

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Hi Radhika,

You need to rebuild the project which has UsersVO class individualy.

If this is not resolving your problem then re add the reference of that project into main project.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100