Another thing I have discovered is my custom table has an archived column for "deleted" entries.
Ideally I'd love to be able to add a "WHERE" clause to filter out the archived items. Appreciate this is very specific (as per my other post) but thought I'd throw it out there for consideration.
Have tried setting a break point on the if statement but it isn't getting hit - very weird.
If I put a break point on the line of code within the ApplicationStarted method that gets hit, but I cannot step into the individual method - it simply steps out of the ApplicationStarted method.
Custom Query
Hey Tim
Another thing I have discovered is my custom table has an archived column for "deleted" entries.
Ideally I'd love to be able to add a "WHERE" clause to filter out the archived items. Appreciate this is very specific (as per my other post) but thought I'd throw it out there for consideration.
Cheers
Nigel
Comment author was deleted
Yeah that's possible :) you can use the event model to setup the where (you can look at the example project for inspiration)
https://github.com/TimGeyssens/UIOMatic/blob/master/src/Example/Startup.cs
ALso this post provides some details http://www.nibble.be/?p=493
Awesome - Monday's job at work all sorted...
Cheers
Hey Tim
Below is my code as per your example however it's not getting hit...
I set a break point in the ApplicationStarted method and that gets hit, but I cannot step into the query building method.
Any ideas ?
Cheers, Nigel
Comment author was deleted
ARe you sure about the tablename? Tried setting a breakpoint on the if?
Cheers, Tim
Comment author was deleted
Could you try the following, since if it's only limiting you want to do you only need to set the where https://github.com/TimGeyssens/UIOMatic/blob/master/src/Example/Startup.cs#L40
Hi Tim
Have tried setting a break point on the if statement but it isn't getting hit - very weird.
If I put a break point on the line of code within the ApplicationStarted method that gets hit, but I cannot step into the individual method - it simply steps out of the ApplicationStarted method.
Weird...
Nigel
is working on a reply...