Skip to content

Instantly share code, notes, and snippets.

@gistlyn
Last active January 1, 2024 14:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gistlyn/991db51e44674ad01d3d318b24cf0934 to your computer and use it in GitHub Desktop.
Save gistlyn/991db51e44674ad01d3d318b24cf0934 to your computer and use it in GitHub Desktop.
Interactive Tour of OrmLite

is a fast, simple, typed code-first ORM for .NET supporting most popular RDBMS's. For this interactive tour we'll use OrmLite's cross-platform In Memory SQLite database which can be referenced in Gistlyn by copying the packages.config NuGet generates after it installs it with:

> Install-Package ServiceStack.OrmLite.Sqlite

A copy of packages.config and test data.cs most examples use is available in:

Tip: quickly browse source code by navigating tabs with Ctrl + Left and Right arrow keys and use Ctrl + Enter to run Gists - see ? for more shortcuts

For a quick 1-page dive into OrmLite, checkout:

Try out features

See each section for more in-depth examples of OrmLite's features:


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment