I have the PersonDetails table in the database whose fields are given below :
ID AutoGenerated field
PersonName Int Not null
FailureDetails XML not null
I have an xml file in my local drive D:\personFailureDetails.xml which needs to be saved in PersonDetails table along with other fields.
I am using entity framework to retieve and insert data to database.
Which is the best way to insert values into “PersonDetails” entity?
Which datatype is available to get the xml file to be stored in entity to be inserted into the “PersonDetails” table?