Trying to use DB_MainQuery
Hi Mike,
I am trying to use DB_MainQuery but keep getting back zero results for either of the following two segments of code:
or
Any ideas as the Swagger Ui does return the expected results the only difference I can see in the request logs to the Swagger UI is that all the properties are in the JSon for the code where as the Swagger UI only has the AccountNameStartsWith?
I am trying to use DB_MainQuery but keep getting back zero results for either of the following two segments of code:
- Code: Select all
DB_MainQuery qry = new DB_MainQuery() { AccountNameStartsWith = "Bits" };
ServiceStack.QueryResponse<DB_Main> DB_MainQueryResponse;
DB_MainQueryResponse = client.Get(qry);
or
- Code: Select all
DB_MainQuery qry = new DB_MainQuery();
ServiceStack.QueryResponse<DB_Main> DB_MainQueryResponse;
qry.AccountNameStartsWith = "Bits";
DB_MainQueryResponse = client.Get(qry);
Any ideas as the Swagger Ui does return the expected results the only difference I can see in the request logs to the Swagger UI is that all the properties are in the JSon for the code where as the Swagger UI only has the AccountNameStartsWith?