public FilterQueryValidatorTest() { _validator = new MyFilterValidator(); _builder = new ODataConventionModelBuilder(); _builder.EntitySet <QueryCompositionCustomer>("Customer"); _model = _builder.GetEdmModel(); _settings = new ODataValidationSettings(); _context = new ODataQueryContext(_model, typeof(QueryCompositionCustomer)); }
public FilterQueryValidatorTest() { _validator = new MyFilterValidator(); _builder = new ODataConventionModelBuilder(); _builder.EntitySet<QueryCompositionCustomer>("Customer"); _model = _builder.GetEdmModel(); _settings = new ODataValidationSettings(); _context = new ODataQueryContext(_model, typeof(QueryCompositionCustomer)); }
public FilterQueryValidatorTest() { _validator = new MyFilterValidator(); _context = ValidationTestHelper.CreateCustomerContext(); _productContext = ValidationTestHelper.CreateDerivedProductsContext(); }
public FilterQueryValidatorTest() { _validator = new MyFilterValidator(); _context = ValidationTestHelper.CreateCustomerContext(); _productContext = ValidationTestHelper.CreateProductContext(); }