Perhaps I am missing/forgetting something as its been a while since I have used AutoQuery. I was trying to add explicit fields on an Autoquery DTO e.g.
public class SearchCustomers
: QueryDb<vCustomerSearch>
{
public string NameContains { get; set; }
public string AddressContains { get; set; }
public string Address2Contains { get; set; }
public string CityContains { get; set; }
public string StateContains { get; set; }
public string ZipContains { get; set; }
}
This works fine if done on the client side as a partial and add these, but when defined on the server side and I generate types on the client, I get it back without the explicitly set properties.
public class SearchCustomer : QueryDb<vCustomerSearch>, IReturn<QueryResponse<vCustomerSearch>>
{ }
Yes I realized in my hasty implementation that I neglected an explicit namespace, once I corrected my bad practices NativeTypes generated the expected output.