Skip to content

Commit a49ddef

Browse files
hazzikmaca88
authored andcommitted
Fix typos
1 parent d277689 commit a49ddef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/NHibernate/Util/ExpressionsHelper.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ internal static bool TryGetMappedType(
115115
out string memberPath)
116116
{
117117
// In order to get the correct entity name from the expression we first have to find the constant expression that contains the
118-
// IEntityNameProvider instance, from which we can retrive the starting entity name. Once we have it, we have to traverse all
119-
// expressions that we had to travese in order to find the IEntityNameProvider instance, but in reverse order (bottom to top)
118+
// IEntityNameProvider instance, from which we can retrieve the starting entity name. Once we have it, we have to traverse all
119+
// expressions that we had to traverse in order to find the IEntityNameProvider instance, but in reverse order (bottom to top)
120120
// and keep tracking the entity name until we reach to top.
121121

122-
// Try to retrive the starting entity name with all members that were traversed in that process
122+
// Try to retrieve the starting entity name with all members that were traversed in that process
123123
var memberPaths = MemberMetadataExtractor.TryGetAllMemberMetadata(expression, out var entityName, out var convertType);
124124
if (memberPaths == null || !TryGetEntityPersister(entityName, null, sessionFactory, out var currentEntityPersister))
125125
{

0 commit comments

Comments
 (0)