Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 47b01da

Browse files
authored
Update StructuralTypeConfiguration.cs
1 parent 7a1e682 commit 47b01da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Community.Data.OData.Linq/Builder/StructuralTypeConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ public virtual ComplexPropertyConfiguration AddComplexProperty(PropertyInfo prop
385385

386386
if (propertyInfo.PropertyType == this.ClrType)
387387
{
388-
throw Error.Argument("propertyInfo", SRResources.RecursiveComplexTypesNotAllowed, this.ClrType.FullName, propertyInfo.Name);
388+
//throw Error.Argument("propertyInfo", SRResources.RecursiveComplexTypesNotAllowed, this.ClrType.FullName, propertyInfo.Name);
389389
}
390390

391391
this.ValidatePropertyNotAlreadyDefinedInBaseTypes(propertyInfo);

0 commit comments

Comments
 (0)