Last active
July 4, 2021 09:31
-
-
Save gistlyn/2a150df139af0d8599c7181ac4488a00 to your computer and use it in GitHub Desktop.
autoquery-just-apphost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Connect your database | |
container.AddSingleton<IDbConnectionFactory>(c => new OrmLiteConnectionFactory( | |
MapProjectPath("~/northwind.sqlite"), SqliteDialect.Provider)); | |
// Add the AutoQuery Plugin | |
Plugins.Add(new AutoQueryFeature { | |
MaxLimit = 1000 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment