Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Cfg
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30275/NHibernate/Cfg
Modified Files:
Binder.cs
Log Message:
This alias-dialect thing is pfhhhh.
Index: Binder.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Cfg/Binder.cs,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Binder.cs 12 Apr 2004 05:43:26 -0000 1.13
--- Binder.cs 15 Apr 2004 11:51:42 -0000 1.14
***************
*** 103,107 ****
model.Key.Type = model.Identifier.Type;
! model.CreatePrimaryKey();
ForeignKey fk = mytable.CreateForeignKey( model.Key.ConstraintColumns );
fk.ReferencedClass = model.Superclass.PersistentClazz;
--- 103,107 ----
model.Key.Type = model.Identifier.Type;
! model.CreatePrimaryKey(dialect);
ForeignKey fk = mytable.CreateForeignKey( model.Key.ConstraintColumns );
fk.ReferencedClass = model.Superclass.PersistentClazz;
***************
*** 146,150 ****
//POLYMORPHISM
! XmlAttribute polyNode = node.Attributes["poylmorphism"];
model.IsExplicitPolymorphism = (polyNode!=null) && polyNode.Value.Equals("explicit");
--- 146,150 ----
//POLYMORPHISM
! XmlAttribute polyNode = node.Attributes["polymorphism"];
model.IsExplicitPolymorphism = (polyNode!=null) && polyNode.Value.Equals("explicit");
***************
*** 224,228 ****
}
! model.CreatePrimaryKey();
PropertiesFromXML(node, model, mappings);
--- 224,228 ----
}
! model.CreatePrimaryKey(dialect);
PropertiesFromXML(node, model, mappings);
|