File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/NHibernate.Test/Legacy Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4826,12 +4826,12 @@ public void AutoFlush()
4826
4826
{
4827
4827
foo . Bytes = GetBytes ( "osama" ) ;
4828
4828
Assert . AreEqual ( 1 ,
4829
- s . CreateQuery ( "from foo in class NHibernate.DomainModel.Foo where 111 in foo.Bytes.elements" ) . List ( )
4830
- . Count , "autoflush collection update" ) ;
4829
+ s . CreateQuery ( "from foo in class NHibernate.DomainModel.Foo where 111 in elements( foo.Bytes)" )
4830
+ . List ( ) . Count , "autoflush collection update" ) ;
4831
4831
foo . Bytes [ 0 ] = 69 ;
4832
4832
Assert . AreEqual ( 1 ,
4833
- s . CreateQuery ( "from foo in class NHibernate.DomainModel.Foo where 69 in foo.Bytes.elements" ) . List ( ) .
4834
- Count , "autoflush collection update" ) ;
4833
+ s . CreateQuery ( "from foo in class NHibernate.DomainModel.Foo where 69 in elements( foo.Bytes)" )
4834
+ . List ( ) . Count , "autoflush collection update" ) ;
4835
4835
}
4836
4836
4837
4837
s . Delete ( foo ) ;
You can’t perform that action at this time.
0 commit comments