R
Rodrigo Juarez
Hi
I have the next xml config file and I need to read and write key values, for
example, change the value of hibernate.connection.connection_string
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="nhibernate"
type="System.Configuration.NameValueSectionHandler, System,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
</configSections>
<connectionStrings>
<add name="TiempoNet.Presupuesto.My.MySettings.PresupuestoConnectionString"
connectionString="Data Source=localhost\tiempo;Initial
Catalog=presupuesto;Persist Security Info=True;User ID=sa;Password=reloj"
providerName="System.Data.SqlClient" />
</connectionStrings>
<nhibernate>
<add key="hibernate.connection.provider"
value="NHibernate.Connection.DriverConnectionProvider"/>
<add key="hibernate.dialect" value="NHibernate.Dialect.MsSql2000Dialect"/>
<add key="hibernate.connection.driver_class"
value="NHibernate.Driver.SqlClientDriver"/>
<add key="hibernate.connection.connection_string"
value="Server=localhost\tiempo;initial catalog=presupuesto;User
Id=sa;password=reloj"/>
</nhibernate>
</configuration>
TIA
Rodrigo Juarez
I have the next xml config file and I need to read and write key values, for
example, change the value of hibernate.connection.connection_string
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="nhibernate"
type="System.Configuration.NameValueSectionHandler, System,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
</configSections>
<connectionStrings>
<add name="TiempoNet.Presupuesto.My.MySettings.PresupuestoConnectionString"
connectionString="Data Source=localhost\tiempo;Initial
Catalog=presupuesto;Persist Security Info=True;User ID=sa;Password=reloj"
providerName="System.Data.SqlClient" />
</connectionStrings>
<nhibernate>
<add key="hibernate.connection.provider"
value="NHibernate.Connection.DriverConnectionProvider"/>
<add key="hibernate.dialect" value="NHibernate.Dialect.MsSql2000Dialect"/>
<add key="hibernate.connection.driver_class"
value="NHibernate.Driver.SqlClientDriver"/>
<add key="hibernate.connection.connection_string"
value="Server=localhost\tiempo;initial catalog=presupuesto;User
Id=sa;password=reloj"/>
</nhibernate>
</configuration>
TIA
Rodrigo Juarez