Unanswered How to save XML as data rows

  • Friday, July 06, 2007 7:27 AM
     
     
    How could I use LINQ to save given XML into a database represented by a DataContext. The object would be of type defined in the DBML files (using the LINQ to SQL designer).
    e.g. given point{x=23,y=24,degrees{degree{12},degree{13},degree{14}}} in XML and two tables Points and Degrees with a master-detail relationship,  how would I save the above XML as data rows in the two tables?