Tag Archive: ORM

nhibernate2.3, fluent nhib, castle, sqlite, oracle, x64 (nope)

I struggled through the process if getting nhibernate3.2, fluent nhibernate latest, castle.core/widsor and sqlite bootstrapped into a new project. Here are my notes. If you want nhibernate3.2   Here are my notes about the process. The steps are in the next bullet list. The latest version, from source on github of fluent nhibernate supports nhibernate3.2 […]

Continue Reading

EFCodeFirst and providerInvariantName

If you don’t include the provider name in the connection string EF will throw an exception with the message: “Expecting non-empty string for ‘providerInvariantName’ parameter.”   FIX: Add:  providerName=”System.Data.SqlClient”  to your connection string….or whatever provider you are using. Wrong: <add name=”NameOfConnection” connectionString=”your_connection_string”/> Correct: <add name=”NameOfConnection” providerName=”System.Data.SqlClient” connectionString=”your_connection_string”/>   Thought: Seems really odd that EF does […]

Continue Reading