I have an entityDao that is inherbited by everyone of my objectDaos. I am using Dynamic Linq and trying to get some generic queries to work....I have the following code in my generic method in my EntityDao :...public abstract class EntityDao<Implementatio...
I have a generic object which uses a dictionary to store the properties:...class MyObject
{
Dictionary<string, object> Properties = new Dictionary<string, object>();
internal GetValue(string name) { return Properties[name]; }
internal SetValu...
I have a method for gridview sorting and paging which I am trying to make reusable for generic types but I am struggling to figure out how to make the entity context (MyContext) and table (tblReports) dynamic variables - can anyone help me out please?...p...
I am working on a mostly generic application with one Filter method:...IQueryable<T> Filter<T>(IQueryable<T> query, Filter filter) where T : IDataBaseEntity
...Here is the filter object being passed in:...{
Field: "Header.Title",
Operator: "contai...
I have an application where users input a large number of data fields and then wish to produce Excel spreadsheets from custom queries on the data. ...For single-table queries, I can return an ...IEnumerable<T>... and use the ...LoadFromCollection()... met...