public OrderByQueryValidatorTest()
 {
     _validator = new OrderByQueryValidator();
     _builder   = new ODataConventionModelBuilder();
     _builder.EntitySet <QueryCompositionCustomer>("Customer");
     _model   = _builder.GetEdmModel();
     _context = new ODataQueryContext(_model, typeof(QueryCompositionCustomer));
 }
 public OrderByQueryValidatorTest()
 {
     _validator = new OrderByQueryValidator();
     _builder = new ODataConventionModelBuilder();
     _builder.EntitySet<QueryCompositionCustomer>("Customer");
     _model = _builder.GetEdmModel();
     _context = new ODataQueryContext(_model, typeof(QueryCompositionCustomer));
 }
Exemple #3
0
 public OrderByQueryValidatorTest()
 {
     _validator = new OrderByQueryValidator();
     _context   = ValidationTestHelper.CreateCustomerContext();
 }
 public OrderByQueryValidatorTest()
 {
     _validator = new OrderByQueryValidator();
     _context = ValidationTestHelper.CreateCustomerContext();
 }