RepoWrapper
RepoWrapper copied to clipboard
It translates NULLs into `= null` as if it were any other value, which doesn't return anything from your query because SQL doesn't properly understand `= null`. I fixed this...
I found another problem, you're using item.QueryOperator instead of property value, as shown below: if (!string.IsNullOrEmpty(item.LinkingOperator) && i > 0) { builder.Append(string.Format("{0} {1} {2} @{1} ", item.LinkingOperator, item.PropertyName, item.QueryOperator)); }...
I was trying to use the WalkTree method, but it was getting an error: propertyValue.Value is not defined. I already fixed it. I just built a new method to retrive...
I used your DynamicQery generator in real life scenario. I made couple changes. Are you planning to make it ready for real life scenario?