public static QpDataContext CreateWithStaticMapping(ContentAccess contentAccess, DbConnection connection) { var schemaProvider = new StaticSchemaProvider(); var configurator = new MappingConfigurator(contentAccess, schemaProvider); return(Create(configurator, connection)); }
private IMappingResolver GetDefaultMappingResolver() { var schema = new StaticSchemaProvider(); return(new MappingResolver(schema.GetSchema())); }