Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Tool/hbm2ddl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28750/src/NHibernate/Tool/hbm2ddl
Modified Files:
SchemaExport.cs
Log Message:
Fixed props.Add() to props[] because key value might be repeated.
Index: SchemaExport.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Tool/hbm2ddl/SchemaExport.cs,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** SchemaExport.cs 18 Jun 2004 14:00:20 -0000 1.9
--- SchemaExport.cs 11 Jul 2004 21:00:10 -0000 1.10
***************
*** 92,96 ****
foreach(DictionaryEntry de in dialect.DefaultProperties)
{
! props.Add( de.Key, de.Value );
}
--- 92,96 ----
foreach(DictionaryEntry de in dialect.DefaultProperties)
{
! props[de.Key] = de.Value ;
}
***************
*** 99,103 ****
foreach(DictionaryEntry de in connectionProperties)
{
! props.Add( de.Key, de.Value );
}
}
--- 99,103 ----
foreach(DictionaryEntry de in connectionProperties)
{
! props[de.Key] = de.Value;
}
}
|