Skip to content

Commit 503f6d2

Browse files
committed
Fixed proxy comments
1 parent dfae76d commit 503f6d2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/NHibernate/Bytecode/IBytecodeEnhancementMetadata.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public interface IBytecodeEnhancementMetadata
3232
LazyPropertiesMetadata LazyPropertiesMetadata { get; }
3333

3434
/// <summary>
35-
/// Has the information about all properties mapped as proxy="no-proxy"
35+
/// Has the information about all properties mapped as lazy="no-proxy"
3636
/// </summary>
3737
UnwrapProxyPropertiesMetadata UnwrapProxyPropertiesMetadata { get; }
3838

src/NHibernate/Bytecode/UnwrapProxyPropertiesMetadata.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
namespace NHibernate.Bytecode
88
{
99
/// <summary>
10-
/// Information about all properties mapped as proxy="no-proxy" for an entity
10+
/// Information about all properties mapped as lazy="no-proxy" for an entity
1111
/// </summary>
1212
public class UnwrapProxyPropertiesMetadata
1313
{
@@ -53,7 +53,7 @@ public int GetUnwrapProxyPropertyIndex(string propertyName)
5353
if (!_unwrapProxyPropertyDescriptors.TryGetValue(propertyName, out var descriptor))
5454
{
5555
throw new InvalidOperationException(
56-
$"Property {propertyName} is not mapped as proxy=\"no-proxy\" on entity {EntityName}");
56+
$"Property {propertyName} is not mapped as lazy=\"no-proxy\" on entity {EntityName}");
5757
}
5858

5959
return descriptor.PropertyIndex;

src/NHibernate/Bytecode/UnwrapProxyPropertyDescriptor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace NHibernate.Bytecode
99
{
1010
/// <summary>
11-
/// Descriptor for a property which is mapped as proxy="no-proxy"
11+
/// Descriptor for a property which is mapped as lazy="no-proxy"
1212
/// </summary>
1313
public class UnwrapProxyPropertyDescriptor
1414
{

0 commit comments

Comments
 (0)