Im getting a paged datasource from a fairly complex linq query. My problem is that is takes twice as long to execute since I need to get the total row count before paging is applied in order to calcul
I have a problem :(I have a many-many table between two tables(1&2), via a mapping table(3): (1)Trees / (2开发者_开发知识库)Insects
I have a strange bug when using LINQ2SQL. I try to bind a repeater with this code : OrthEvalFormulaire o = oRepository.GetTable开发者_如何学运维().FirstOrDefault(x => x.IdOrthEvalFormulaire == IdO
I\'m learning Linq-to-Sql, and I\'m encountering the scenario where I\'m trying to build a dynamic query with sorting, filtering, and paging.
List<ServicePacksDTO> allServicePacks = new List<ServicePacksDTO>(); using (var db = new DataContext())
I have this: var result = (from t in MyDC where t.UserID == 6 orderby t.UpdateTime select t.ID).Las开发者_如何学Pythont();
I have a wcf service that takes in an IRepository IRepository irepo; public SomeService(IRepository repo)
I\'m using WPF and Xaml I\'m creating a new row into a table. That table has a foreign key relationship. When the user types in the FK field I wan\'t others to update based on the relations. This I d
How can I populate a texbox with a date retireved from SQL server?I 开发者_如何学Goget the message
I know that while iterating on an IQueryable variable, a request is sent to the database, but if the data is updated in the database new data is not shown during the iteration until Refresh is not开发