Add results from a LinqtoSQL query to ObservableCollection RRS feed

  • Question

  • Client Server Application Using WCF

    I currenlt have a WCF Service that returns the results from a LINQTOSQL query to a client:

            Dim dc As New DataClasses1DataContext()
            Dim test = (From p In dc.Documents Select p)
            Return test.ToList

    I have created an observablecollection on the client with exaclty the same column names and datatypes

    How would i go about adding this list (test) to the observablecollection?


    Friday, April 17, 2009 1:45 PM