public JsonSchemaQueryControllerConfiguration(QueryControllerParameters parameters) { Storage = new FileStoreSchemaStorage(); Resolver = new SqlJsonObjectResolver(); ExpressionEngine = new SqlExpressionEngine(Resolver); Reader = new JsonStoreSchemaReader(Storage); ReaderParameters = new JsonStoreSchemaReaderParameters { SchemaFile = parameters.SchemaFilename }; }
public EntityFrameworkQueryControllerConfiguration(QueryControllerParameters parameters) { Storage = new FileStoreSchemaStorage(); Resolver = new SqlJsonObjectResolver(); ExpressionEngine = new SqlExpressionEngine(Resolver); Reader = new EntityFrameworkStoreSchemaReader(); ReaderParameters = new EntityFrameworkStoreSchemaReaderParameters { DbContextType = parameters.DbContextType }; }