public Area(CodeValue areaCodeValue, CodeValue pinCodeValue) { Code = areaCodeValue.Code; Name = areaCodeValue.CodeValueDisplay; Pincode = pinCodeValue.CodeValueDisplay; City = new City(CodeValues.GetCodeValue("City", areaCodeValue.ParentCode)); }
public City(CodeValue cityCodeValue) { Code = cityCodeValue.Code; Name = cityCodeValue.CodeValueDisplay; State = new State(CodeValues.GetCodeValue("State", cityCodeValue.ParentCode)); }
public State(CodeValue stateCodeValue) { Code = stateCodeValue.Code; Name = stateCodeValue.CodeValueDisplay; Country = new Country(CodeValues.GetCodeValue("country", stateCodeValue.ParentCode)); }