title: nhibernate VB.NET
body: <p>I've found examples for configurate NHibernate in command line but in C# and I need it in vb, but I don't find how to do it.
  So the question is how to write this in vb:</p>
  
  <pre><code>configuration.Proxy(proxy =&gt; proxy.ProxyFactoryFactory&lt;ProxyFactoryFactory&gt;());
  
  configuration.DataBaseIntegration(db =&gt;
  {
      db.Dialect&lt;MsSql2008Dialect&gt;();
      db.ConnectionString = Sql.db;
      db.BatchSize = 100;
      db.LogSqlInConsole = true;
  });
  </code></pre>
  
  <p>Note: I don't want to do it in XML.</p>