Skip to content

Instantly share code, notes, and snippets.

@vcavalcante
Created September 19, 2017 19:38
Show Gist options
  • Select an option

  • Save vcavalcante/4caa80babe799c2e76365c6d43af276f to your computer and use it in GitHub Desktop.

Select an option

Save vcavalcante/4caa80babe799c2e76365c6d43af276f to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="hibernate-configuration" type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" />
</configSections>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
<session-factory>
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="connection.connection_string">Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=NHTeste;Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=True;ApplicationIntent=ReadWrite;MultiSubnetFailover=False</property>
<property name="dialect">NHibernate.Dialect.MsSql2012Dialect</property>
<mapping assembly="NHTeste"/>
</session-factory>
</hibernate-configuration>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment