From: Michael D. <mik...@us...> - 2004-10-26 18:21:29
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/NHSpecificTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28592/NHibernate.Test/NHSpecificTest Modified Files: ClassWithCompositeIdFixture.cs Log Message: modified to verify that access attribute does work correctly with composite-id Index: ClassWithCompositeIdFixture.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/NHSpecificTest/ClassWithCompositeIdFixture.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ClassWithCompositeIdFixture.cs 20 Sep 2004 17:46:00 -0000 1.5 --- ClassWithCompositeIdFixture.cs 26 Oct 2004 18:21:18 -0000 1.6 *************** *** 62,71 **** ITransaction t = s.BeginTransaction(); ! ClassWithCompositeId theClass = new ClassWithCompositeId(); ! theClass.Id = id; theClass.OneProperty = 5; ! ClassWithCompositeId theSecondClass = new ClassWithCompositeId(); ! theSecondClass.Id = secondId; theSecondClass.OneProperty = 10; --- 62,71 ---- ITransaction t = s.BeginTransaction(); ! ClassWithCompositeId theClass = new ClassWithCompositeId(id); ! //theClass.Id = id; theClass.OneProperty = 5; ! ClassWithCompositeId theSecondClass = new ClassWithCompositeId(secondId); ! //theSecondClass.Id = secondId; theSecondClass.OneProperty = 10; *************** *** 155,160 **** { CompositeId id = new CompositeId("stringKey", 3, firstDateTime); ! ClassWithCompositeId cId = new ClassWithCompositeId(); ! cId.Id = id; cId.OneProperty = 5; --- 155,160 ---- { CompositeId id = new CompositeId("stringKey", 3, firstDateTime); ! ClassWithCompositeId cId = new ClassWithCompositeId(id); ! //cId.Id = id; cId.OneProperty = 5; *************** *** 185,194 **** ITransaction t = s.BeginTransaction(); ! ClassWithCompositeId theClass = new ClassWithCompositeId(); ! theClass.Id = id; theClass.OneProperty = 5; ! ClassWithCompositeId theSecondClass = new ClassWithCompositeId(); ! theSecondClass.Id = secondId; theSecondClass.OneProperty = 10; --- 185,194 ---- ITransaction t = s.BeginTransaction(); ! ClassWithCompositeId theClass = new ClassWithCompositeId(id); ! //theClass.Id = id; theClass.OneProperty = 5; ! ClassWithCompositeId theSecondClass = new ClassWithCompositeId(secondId); ! //theSecondClass.Id = secondId; theSecondClass.OneProperty = 10; |