title: Convert Generic List of objects to SqlXml
body: <p>Please do not mark as duplicate without reading through as I have been googling this and searching on stackoverflow but I cant find exactly what I want.</p>
  
  <p>How do I convert a generic list of objects in c# into data type SqlXml.</p>
  
  <p>Note that I am not looking to convert into xml string output.</p>
  
  <p>I need this output type specifically so I can pass it in as SqlXml parameter to a stored procedure.</p>