title: get column names of a table from database in silverlight
body: <p>how do i get column names of a table from database in domain service of the silverlight     application and then use these in the listbox  for  client to select . 
  i looked through here  <a href="https://stackoverflow.com/questions/6512132/linq-query-to-get-column-headers-in-silverlight">LINQ Query to get Column Headers in Silverlight</a> but 't was little  confusing .</p>
  
  <p>As far as I know in Silverlight  u write domain service to reach the data in  the server side and silverlight creates the context in the client side and u use context there .So i assumed i need a  datacontext and i created one in the server side which reaches the same database and i  used that context in my method as the link above  but this time there was an exception like "System.ArgumentException was unhandled by user code" and " Message=Keyword not supported: 'metadata'." i cant use  System.Data.Linq inn the client side so i can use that method in  the client side neither</p>
  
  <p>i am writing this method  in the domain service inherited from LinqToEntitiesDomainService class.I am really stuck at this point.</p>
  
  <p>All answers will be appreciated.</p>