I am testing LINQ in Orcas March CTP with Linq to SQL on Northwind.. I was trying to extend the generated Customer class to add an ObjectDataSource select with a sort parameter, thus: Code Snippet <DataObjectMethod(DataObjectMethodType.Select)> _ Public Shared Function SelectAll( _ ByVal startRow As Integer , _ ByVal maxRows As Integer , _ ByVal sortBy As String ) As List( Of Customer) 'datacontext Dim db As New NorthwindDataContext() 'get customers (fixed sort) Dim q = ( From c In db.Customers
Read More...