Exemple #1
0
 public IType GetIdentifierOrUniqueKeyType(ISessionFactoryImplementor factory)
 {
     if (uniqueKeyPropertyName == null)
     {
         return(factory.GetIdentifierType(associatedClass));
     }
     else
     {
         return(factory.GetPersister(associatedClass).GetPropertyType(uniqueKeyPropertyName));
     }
 }