zoukankan      html  css  js  c++  java
  • NHibernate2.01的app.config

    <?xml version="1.0"?>
    <configuration>
      
    <configSections>
        
    <!--<section name="nhibernate" type="System.Configuration.NameValueSectionHandler, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />-->
        
    <section name="hibernate-configuration"
        type
    ="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" />
      
    </configSections>

      
    <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" >
        
    <session-factory>
          
    <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
          
    <property name="connection.connection_string">
            Password=sa;Persist Security Info=True;User ID=sa;Initial Catalog=NHibernate;Data Source=127.0.0.1
          
    </property>
          
    <property name="adonet.batch_size">10</property>
          
    <property name="show_sql">true</property>
          
    <property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property>
          
    <property name="use_outer_join">true</property>
          
    <property name="command_timeout">10</property>
          
    <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
          
    <mapping assembly="DomainModel"/>
        
    </session-factory>
      
    </hibernate-configuration>
    </configuration>
  • 相关阅读:
    win10 的MQTT + apache-apollo服务器使用
    网络协议 4
    nginx 命令
    win7安装两个jdk,1.7和1.8,下载、安装、配置环境变量,方便切换
    AC+DP练习
    BZOJ 1093 [ZJOI2007]最大半连通子图
    BestCoder Round #52 (div.1)
    洛谷1012 拼数
    洛谷1980 计数问题
    洛谷1424 小鱼的航程(改进版)
  • 原文地址:https://www.cnblogs.com/yeagen/p/1442526.html
Copyright © 2011-2022 走看看