<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="hibernate-configuration" type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate"/>
    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
      <section name="PafEcf.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    </sectionGroup>
  </configSections>
  <hibernate-configuration  xmlns="urn:nhibernate-configuration-2.2" >
    <session-factory name="NHibernate.Test">
      <property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
      <property name="connection.driver_class">NHibernate.Driver.FirebirdClientDriver</property>
      <property name="connection.isolation">ReadCommitted</property>
      <property name="connection.connection_string">
        Server=localhost;
        Database=C:\T2Ti\Dados\PAFECF_C.FDB;
        Dialect=3;
        User=SYSDBA;Password=masterkey
      </property>
      <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property>
      <property name="show_sql">false</property>
      <property name="dialect">NHibernate.Dialect.FirebirdDialect</property>
      <property name="use_outer_join">true</property>
      <property name="command_timeout">444</property>
      <property name="query.substitutions">true 1, false 0, yes 1, no 0</property>
    </session-factory>
  </hibernate-configuration>
  
    <system.serviceModel>
        <bindings>
            <basicHttpBinding>
                <binding name="BasicHttpBinding_IServidor" />
            </basicHttpBinding>
        </bindings>
        <client>           
            <endpoint address="http://localhost:2666/Servidor.svc" binding="basicHttpBinding"
                bindingConfiguration="BasicHttpBinding_IServidor" contract="ServiceReference1.IServidor"
                name="BasicHttpBinding_IServidor" />
        </client>
    </system.serviceModel>
    <applicationSettings>
        <PafEcf.Properties.Settings>
            <setting name="PafEcf_ServidorReference_ServiceServidor" serializeAs="String">
                <value>http://localhost:2666/Servidor.svc</value>
            </setting>
        </PafEcf.Properties.Settings>
    </applicationSettings>
</configuration>
