Skip to content

Commit a0a4dd2

Browse files
committed
Remove breaking changes
1 parent ba4e74e commit a0a4dd2

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/NHibernate/Persister/Collection/BasicCollectionPersister.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,12 @@ protected override int DoUpdateRows(object id, IPersistentCollection collection,
262262
}
263263
}
264264

265+
[Obsolete("Please use overload without rhs and rhsAlias parameters")]
266+
public override string SelectFragment(IJoinable rhs, string rhsAlias, string lhsAlias, string collectionSuffix, bool includeCollectionColumns, EntityLoadInfo entityInfo)
267+
{
268+
return SelectFragment(lhsAlias, collectionSuffix, includeCollectionColumns, entityInfo);
269+
}
270+
265271
public override string SelectFragment(string lhsAlias, string collectionSuffix, bool includeCollectionColumns, EntityLoadInfo entityInfo)
266272
{
267273
return includeCollectionColumns ? GetSelectFragment(lhsAlias, collectionSuffix).ToSqlStringFragment(false) : string.Empty;

src/NHibernate/Persister/Collection/OneToManyPersister.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,12 @@ protected override int DoUpdateRows(object id, IPersistentCollection collection,
294294
}
295295
}
296296

297+
[Obsolete("Please use overload without rhs and rhsAlias parameters")]
298+
public override string SelectFragment(IJoinable rhs, string rhsAlias, string lhsAlias, string collectionSuffix, bool includeCollectionColumns, EntityLoadInfo entityInfo)
299+
{
300+
return SelectFragment(lhsAlias, collectionSuffix, includeCollectionColumns, entityInfo);
301+
}
302+
297303
public override string SelectFragment(string lhsAlias, string collectionSuffix, bool includeCollectionColumns, EntityLoadInfo entityInfo)
298304
{
299305
var buf = new StringBuilder();

0 commit comments

Comments
 (0)