update columns linq vigilant another linq object
i have twin linq objects have accurately same columns i means transform fields other. i initial emanate new vigilant information file, following i query database an existent vigilant same id. i means transform existent objects sum newly combined objects details.
so distant proceed i have doing list columns transform manually nonetheless can means maintain headaches.
oldcaller
.address = newcaller.address
.company = newcaller.company
.contact_hours = newcaller.contact_hours
.contact_name = newcaller.contact_name
.customer_id = newcaller.customer_id
.email_address = newcaller.email_address
.fax_number = newcaller.fax_number
.fax_type = newcaller.fax_type
.mobile = newcaller.mobile
.postcode = newcaller.postcode
.public_address = newcaller.public_address
.public_telephone = newcaller.public_telephone
.state = newcaller.state
.suburb = newcaller.suburb
.telephone = newcaller.telephone
finish with
i means proceed purify adult bit. does anyone know improved proceed i need.
Comments
Post a Comment