public TopQueryValidatorTest() { _validator = new TopQueryValidator(); _builder = new ODataConventionModelBuilder(); _builder.EntitySet<QueryCompositionCustomer>("Customer"); _model = _builder.GetEdmModel(); _context = new ODataQueryContext(_model, typeof(QueryCompositionCustomer)); }
public TopQueryValidatorTest() { _validator = new TopQueryValidator(); _builder = new ODataConventionModelBuilder(); _builder.EntitySet <QueryCompositionCustomer>("Customer"); _model = _builder.GetEdmModel(); _context = new ODataQueryContext(_model, typeof(QueryCompositionCustomer)); }
public TopQueryValidatorTest() { _validator = new TopQueryValidator(); _context = ValidationTestHelper.CreateCustomerContext(); }
public TopQueryValidatorTest() { _validator = new TopQueryValidator(); _context = ValidationTestHelper.CreateCustomerContext(); }