Example #1
0
 public Area(CodeValue areaCodeValue, CodeValue pinCodeValue)
 {
     Code    = areaCodeValue.Code;
     Name    = areaCodeValue.CodeValueDisplay;
     Pincode = pinCodeValue.CodeValueDisplay;
     City    = new City(CodeValues.GetCodeValue("City", areaCodeValue.ParentCode));
 }
Example #2
0
        public City(CodeValue cityCodeValue)
        {
            Code = cityCodeValue.Code;
            Name = cityCodeValue.CodeValueDisplay;

            State = new State(CodeValues.GetCodeValue("State", cityCodeValue.ParentCode));
        }
Example #3
0
 public State(CodeValue stateCodeValue)
 {
     Code    = stateCodeValue.Code;
     Name    = stateCodeValue.CodeValueDisplay;
     Country = new Country(CodeValues.GetCodeValue("country", stateCodeValue.ParentCode));
 }