This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
hi,
i try to write a dynamic statement. it looks like this:
string[,] searchlist = new string[100,100]; if (cbbWorkflowState.SelectedItem != null) { searchlist.SetValue(new string[2] { cbbWorkflowState.SelectedItem.ToString(), "Status" }, index); index++; }
this is a array, in every entry is a second array with first entry the search string, with wich i try to filter the database entries and second is the entity property.
after that i try to write a dynamic where-statement: using (ModelUnitOfWork uow = Service.DatabaseService.CreateUnitOfWork()) { count++; } }
gut i get an exception: the where-method has some invalid arguments.
how can i solve this problem? |
|