TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kumar Ravishankar
NA
437
7.9k
Have To Declare Property in different class
Mar 11 2018 11:57 PM
<TravelDetails xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserID>100002</UserID>
<ClientDetails>
<ClientType />
<ForeName />
<LastName />
<ClientAddress>
<CommunicationAddress>
<Address1 />
</CommunicationAddress>
<PermanentAddress>
<IsPermanentSameasCommAddr>true</IsPermanentSameasCommAddr>
<Address>
<Address1 />
</Address>
</PermanentAddress>
</ClientAddress>
</ClientDetails>
<InsuredDetail>
<Email>
[email protected]
</Email>
</InsuredDetail>
<SpouseDetails>
<FirstName />
<DOB />
<PassportNo />
<RelationshipwithInsuredID />
<NomineeName />
<NomineeRelationshipID />
</SpouseDetails>
<ChildDetailList>
<ChildDetails>
<ChildName />
</ChildDetails>
</ChildDetailList>
<UniversityDetails>
<UniversityName />
<UniversityCountryId />
<EmailId />
<Fax />
</UniversityDetails>
<CourseDetails>
<CourseDuration />
<TutionFeePerSem />
<NoOfSems />
</CourseDetails>
<HomeBurglaryAddress>
<IsSameAsCommAddr>false</IsSameAsCommAddr>
<Address>
<Address1 />
<SponsorDetails>
<SponsorName />
<IsSponserAddressSameasCommAddress>false</IsSponserAddressSameasCommAddress>
<SponserAddress>
<MobileNo />
</SponserAddress>
</SponsorDetails>
<DoctorDetails>
<IsDoctorDetails>false</IsDoctorDetails>
<Name />
<Address>
<Address1 />
</Address>
</DoctorDetails>
<Policy>
<BusinessType>1</BusinessType>
<AgentCode>Direct</AgentCode>
</Policy>
<RiskDetails>
<IsIndianCitizen>true</IsIndianCitizen>
<IsOverSeasCitizen>false</IsOverSeasCitizen>
</RiskDetails>
<LstTravelCoverDetails>
<LstTravelCovers>
<CoverageName />
</LstTravelCovers>
</LstTravelCoverDetails>
<ErrorMessages />
<SourceSystemID>100002</SourceSystemID>
</TravelDetails>
I have to declare above kind of properties in different class and assign value from form input and create XML like above, so how can I do this
Reply
Answers (
3
)
windows stopped working while communicate with "COM PORT"
Can I set an unlimited length for maxJsonLength in mvc c#