I got 3 tables: items (item_id, timestamp) items_terms (item_id, term_id) terms (term_id, term_name) I need to find 5 most recent terms (term_id, term_name) based on item timestamp. I was trying t
I\'m using Lucene.net to build a MyListOfIds As List(Of Integer) which I then pass on to my Linq service. I then search the database as follows
I have two tables and want to do the following. From the first table I extract all rows that fulfill a given condition. For all extracted rows I take a value from the first column. For every value I e
Using LINQ I would like to sort by the passed in int arrays index. So in the code below attribueIds is my int array. I\'m using the integers in that array for the where clause but I would like the re
A have a list: § 21 Item § 1 Item § 13 Item § 3 Item § 2 Item I need to order it like this: § 1 Item § 2 Item
I\'m a little stuck on what I\'m pretty sure is an easy solution. Here\'s the dilemma: I have two mysql tables:
PROBLEM SOLVED!!! The solution is Linq.Dynamic You do it like this: (from c in Context.AccountCharts where c.Account_FK == account && c.Year_FK == year select c).OrderBy(order);
let me say that i\'ve a table with some generic-data-holder columns (so it seems developer of the original code selected to use string type). These columns can hold all numerics, alphanumerics or a mi
In an EAV system, I have a mapping that looks like this: <class name=\"Record\"> <map name=\"Values\" table=\"RecordFieldValue\">
How can I sort this data numerically rather than lexicographically? 100_10A 100_10B 100_10C 100_11A 100_11B