c# Programming Glossary: fluently.configure
Using Multiple databases in Fluent Nhibernate, System.TypeInitializationException was unhandled http://stackoverflow.com/questions/11225101/using-multiple-databases-in-fluent-nhibernate-system-typeinitializationexceptio dataBases.Count foreach var dataBase in dataBases config Fluently.Configure .Database MsSqlConfiguration.MsSql2008.ConnectionString dataBase.Value..
NHibernate.Spatial and Sql 2008 Geography type - How to configure http://stackoverflow.com/questions/1495169/nhibernate-spatial-and-sql-2008-geography-type-how-to-configure so I have configuration code like var configuration Fluently.Configure .Database Sql2008Configuration.MsSql2008.ConnectionString c..
What ORM for .net should I use? http://stackoverflow.com/questions/1691575/what-orm-for-net-should-i-use I use public ISessionFactory CreateSessionFactory return Fluently.Configure .Database MsSqlConfiguration.MsSql2008 .ConnectionString c..
Override for fluent NHibernate for long text strings nvarchar(MAX) not nvarchar(255) http://stackoverflow.com/questions/2343105/override-for-fluent-nhibernate-for-long-text-strings-nvarcharmax-not-nvarchar can be added to an automap configuration like this Fluently.Configure .Mappings m m.AutoMappings.Add AutoMap.AssemblyOf Foo .Conventions.Add..
Ensure NHibernate SessionFactory is only created once http://stackoverflow.com/questions/2362195/ensure-nhibernate-sessionfactory-is-only-created-once ISession OpenSession if _sessionFactory null var cfg Fluently.Configure . Database SQLiteConfiguration.Standard.ShowSql .UsingFile.. lock factorylock if _sessionFactory null var cfg Fluently.Configure . Database SQLiteConfiguration.Standard.ShowSql .UsingFile..
NHibernate, and odd “Session is Closed!” errors http://stackoverflow.com/questions/2572015/nhibernate-and-odd-session-is-closed-errors GetSessionFactory if sessionFactory null sessionFactory Fluently.Configure .Database MsSqlConfiguration.MsSql2005.ConnectionString p.. to use the web session context class sessionFactory Fluently.Configure .Database MsSqlConfiguration.MsSql2005.ConnectionString p p.FromConnectionStringWithKey..
Fluent NHibernate cannot load MySql.Data from GAC in debug mode of a test http://stackoverflow.com/questions/7060850/fluent-nhibernate-cannot-load-mysql-data-from-gac-in-debug-mode-of-a-test new Configuration cfg.Configure FluentConfiguration config Fluently.Configure cfg .Mappings m m.FluentMappings.AddFromAssemblyOf InputMapping..
|