Below is the my source xml. i want to write c# class for it and then deserialize it. so i can use c# object and save this to database. History- : i was doing json deserialize that works great but am running into issue in my xml 'LastChangeId' node can be part of this xml , sometime may not be there at all or sometime there are multiple nodes for it. this issue messing with my json parsing. and i have to switch back to xml. any help will appreciable.
<FundingSource >
<ClientAccountPaySourceId>16</ClientAccountPaySourceId>
<ClientAccountId>67</ClientAccountId>
<ClientAccountName>Default Account</ClientAccountName>
<PrimaryPartyId>62</PrimaryPartyId>
<PrimaryRoleId>1290</PrimaryRoleId>
<TenderTypeId>3</TenderTypeId>
<TenderTypeName>Credit Card</TenderTypeName>
<TenderInterfaceName>Credit Card</TenderInterfaceName>
<CreditCareTypeName>Visa</CreditCareTypeName>
<ChargeAccountMask>1111</ChargeAccountMask>
<ExpirationDate>04/20</ExpirationDate>
<BillingAccountName>Joe Montana</BillingAccountName>
<BillingStreet>1235 Main St</BillingStreet>
<BillingCity>Pleasanton</BillingCity>
<BillingPostalCode>94588</BillingPostalCode>
<BillingCountry>US</BillingCountry>
<BillingTelephone>1231234567</BillingTelephone>
<DisplayOrder>1</DisplayOrder>
<UseForRecurring>true</UseForRecurring>
<UseForNonRecurring>true</UseForNonRecurring>
<IsActive>true</IsActive>
<Invalid>false</Invalid>
<ChargeAccountToken>VC84632147254611111111</ChargeAccountToken>
<IsExternal>false</IsExternal>
<LastChangeId >
<ClientAccountPaySourceId>16</ClientAccountPaySourceId>
<TimeUtc>2016-02-02 01:04:16</TimeUtc>
<TimeLocal>2016-02-01 17:04:16</TimeLocal>
<UserName>Josh.Lyon</UserName>
<PartyId>20</PartyId>
<RoleId>1160</RoleId>
<BusinessUnitCode>2</BusinessUnitCode>
<EndpointKey>default</EndpointKey>
</LastChangeId>
</FundingSource>