Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Impl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16290/NHibernate/Impl
Modified Files:
QueryImpl.cs
Log Message:
Fixed problem with assigning a DynamicProxy entity to a parameter.
Index: QueryImpl.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Impl/QueryImpl.cs,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** QueryImpl.cs 31 Dec 2004 19:52:25 -0000 1.18
--- QueryImpl.cs 5 Jan 2005 02:47:05 -0000 1.19
***************
*** 570,574 ****
public IQuery SetParameter( string name, object val )
{
! SetParameter( name, val, GuessType( val.GetType() ) );
return this;
}
--- 570,574 ----
public IQuery SetParameter( string name, object val )
{
! SetParameter( name, val, GuessType( val ) );
return this;
}
***************
*** 582,586 ****
public IQuery SetParameter( int position, object val )
{
! SetParameter( position, val, GuessType( val.GetType() ) );
return this;
}
--- 582,586 ----
public IQuery SetParameter( int position, object val )
{
! SetParameter( position, val, GuessType( val ) );
return this;
}
|