Skip to content

Instantly share code, notes, and snippets.

@mxriverlynn
Created May 13, 2009 19:38
Show Gist options
  • Save mxriverlynn/111238 to your computer and use it in GitHub Desktop.
Save mxriverlynn/111238 to your computer and use it in GitHub Desktop.
FluentConfiguration fluentConfig = Fluently.Configure()
.Database(SQLiteConfiguration.Standard.ConnectionString(c => c.Is("conn string")))
.Mappings(m => m.FluentMappings
.ConventionDiscovery.Add(DefaultLazy.AlwaysFalse())
.AddFromAssemblyOf<UserMap>()
);
Configuration configuration = fluentConfig.BuildConfiguration();
return configuration;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment