Skip to content

Instantly share code, notes, and snippets.

@jholt456
Created November 22, 2011 23:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jholt456/1387443 to your computer and use it in GitHub Desktop.
Save jholt456/1387443 to your computer and use it in GitHub Desktop.
Configuring OpenAccess ORM for dynamic data
DefaultModel.RegisterContext(new OpenAccessDataModelProvider(new EntitiesModel() /*the name of your OpenAccess Context*/,
() => new EntitiesModel() /*the name of your OpenAccess Context*/),
new ContextConfiguration { ScaffoldAllTables = false });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment