Skip to content

Commit 7f503d0

Browse files
Fix property-ref on a component's property
Fixes #1824
1 parent 8a9f7ee commit 7f503d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/Cfg/Configuration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public string GetIdentifierPropertyName(string className)
221221
public IType GetReferencedPropertyType(string className, string propertyName)
222222
{
223223
PersistentClass pc = GetPersistentClass(className);
224-
Property prop = pc.GetProperty(propertyName);
224+
Property prop = pc.GetReferencedProperty(propertyName);
225225

226226
if (prop == null)
227227
{

0 commit comments

Comments
 (0)