Click here to Skip to main content
16,018,114 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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..
C#
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

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900