private static global::System.Linq.IQueryable __MyDocumentVersionApprovals_PreprocessQuery(global::LightSwitchApplication.ApplicationDataService d, object[] args)
 {
     global::System.Linq.IQueryable<global::LightSwitchApplication.DocumentVersionApproval> query = (global::System.Linq.IQueryable<global::LightSwitchApplication.DocumentVersionApproval>)args[0];
     d.MyDocumentVersionApprovals_PreprocessQuery(ref query);
     return query;
 }