Skip to content

Commit d1ef4ed

Browse files
fredericDelaportehazzik
authored andcommitted
Regenerate async code for #2056 (#2263)
1 parent f1c88c2 commit d1ef4ed

8 files changed

+79
-14
lines changed

src/NHibernate/Async/Collection/AbstractPersistentCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public virtual Task ForceInitializationAsync(CancellationToken cancellationToken
9292
}
9393
return Task.CompletedTask;
9494
}
95-
95+
9696
/// <summary>
9797
/// Called before inserting rows, to ensure that any surrogate keys are fully generated
9898
/// </summary>

src/NHibernate/Async/Collection/Generic/PersistentGenericBag.cs

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,19 @@ public override Task<IEnumerable> GetDeletesAsync(ICollectionPersister persister
7575
return Task.FromException<IEnumerable>(ex);
7676
}
7777
}
78-
79-
// Since 5.3
78+
79+
//Since 5.3
80+
/// <summary>
81+
/// Get all "orphaned" elements
82+
/// </summary>
83+
/// <param name="snapshot">The snapshot of the collection.</param>
84+
/// <param name="entityName">The persistent class whose objects
85+
/// the collection is expected to contain.</param>
86+
/// <param name="cancellationToken">A cancellation token that can be used to cancel the work</param>
87+
/// <returns>
88+
/// An <see cref="ICollection"/> that contains all of the elements
89+
/// that have been orphaned.
90+
/// </returns>
8091
[Obsolete("This method has no more usages and will be removed in a future version")]
8192
public override Task<ICollection> GetOrphansAsync(object snapshot, string entityName, CancellationToken cancellationToken)
8293
{

src/NHibernate/Async/Collection/Generic/PersistentGenericIdentifierBag.cs

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,19 @@ public override async Task<object> ReadFromAsync(DbDataReader reader, ICollectio
155155
}
156156
return element;
157157
}
158-
159-
// Since 5.3
158+
159+
//Since 5.3
160+
/// <summary>
161+
/// Get all "orphaned" elements
162+
/// </summary>
163+
/// <param name="snapshot">The snapshot of the collection.</param>
164+
/// <param name="entityName">The persistent class whose objects
165+
/// the collection is expected to contain.</param>
166+
/// <param name="cancellationToken">A cancellation token that can be used to cancel the work</param>
167+
/// <returns>
168+
/// An <see cref="ICollection"/> that contains all of the elements
169+
/// that have been orphaned.
170+
/// </returns>
160171
[Obsolete("This method has no more usages and will be removed in a future version")]
161172
public override Task<ICollection> GetOrphansAsync(object snapshot, string entityName, CancellationToken cancellationToken)
162173
{

src/NHibernate/Async/Collection/Generic/PersistentGenericList.cs

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,19 @@ namespace NHibernate.Collection.Generic
2929
using System.Threading;
3030
public partial class PersistentGenericList<T> : AbstractPersistentCollection, IList<T>, IList, IQueryable<T>
3131
{
32-
33-
// Since 5.3
32+
33+
//Since 5.3
34+
/// <summary>
35+
/// Get all "orphaned" elements
36+
/// </summary>
37+
/// <param name="snapshot">The snapshot of the collection.</param>
38+
/// <param name="entityName">The persistent class whose objects
39+
/// the collection is expected to contain.</param>
40+
/// <param name="cancellationToken">A cancellation token that can be used to cancel the work</param>
41+
/// <returns>
42+
/// An <see cref="ICollection"/> that contains all of the elements
43+
/// that have been orphaned.
44+
/// </returns>
3445
[Obsolete("This method has no more usages and will be removed in a future version")]
3546
public override Task<ICollection> GetOrphansAsync(object snapshot, string entityName, CancellationToken cancellationToken)
3647
{

src/NHibernate/Async/Collection/Generic/PersistentGenericMap.cs

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,19 @@ namespace NHibernate.Collection.Generic
2929
using System.Threading;
3030
public partial class PersistentGenericMap<TKey, TValue> : AbstractPersistentCollection, IDictionary<TKey, TValue>, ICollection
3131
{
32-
33-
// Since 5.3
32+
33+
//Since 5.3
34+
/// <summary>
35+
/// Get all "orphaned" elements
36+
/// </summary>
37+
/// <param name="snapshot">The snapshot of the collection.</param>
38+
/// <param name="entityName">The persistent class whose objects
39+
/// the collection is expected to contain.</param>
40+
/// <param name="cancellationToken">A cancellation token that can be used to cancel the work</param>
41+
/// <returns>
42+
/// An <see cref="ICollection"/> that contains all of the elements
43+
/// that have been orphaned.
44+
/// </returns>
3445
[Obsolete("This method has no more usages and will be removed in a future version")]
3546
public override Task<ICollection> GetOrphansAsync(object snapshot, string entityName, CancellationToken cancellationToken)
3647
{

src/NHibernate/Async/Collection/Generic/PersistentGenericSet.cs

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,19 @@ namespace NHibernate.Collection.Generic
3030
using System.Threading;
3131
public partial class PersistentGenericSet<T> : AbstractPersistentCollection, ISet<T>, IQueryable<T>
3232
{
33-
34-
// Since 5.3
33+
34+
//Since 5.3
35+
/// <summary>
36+
/// Get all "orphaned" elements
37+
/// </summary>
38+
/// <param name="snapshot">The snapshot of the collection.</param>
39+
/// <param name="entityName">The persistent class whose objects
40+
/// the collection is expected to contain.</param>
41+
/// <param name="cancellationToken">A cancellation token that can be used to cancel the work</param>
42+
/// <returns>
43+
/// An <see cref="ICollection"/> that contains all of the elements
44+
/// that have been orphaned.
45+
/// </returns>
3546
[Obsolete("This method has no more usages and will be removed in a future version")]
3647
public override Task<ICollection> GetOrphansAsync(object snapshot, string entityName, CancellationToken cancellationToken)
3748
{

src/NHibernate/Async/Collection/PersistentArrayHolder.cs

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,19 @@ namespace NHibernate.Collection
2626
using System.Threading;
2727
public partial class PersistentArrayHolder : AbstractPersistentCollection, ICollection
2828
{
29-
30-
// Since 5.3
29+
30+
//Since 5.3
31+
/// <summary>
32+
/// Get all "orphaned" elements
33+
/// </summary>
34+
/// <param name="snapshot">The snapshot of the collection.</param>
35+
/// <param name="entityName">The persistent class whose objects
36+
/// the collection is expected to contain.</param>
37+
/// <param name="cancellationToken">A cancellation token that can be used to cancel the work</param>
38+
/// <returns>
39+
/// An <see cref="ICollection"/> that contains all of the elements
40+
/// that have been orphaned.
41+
/// </returns>
3142
[Obsolete("This method has no more usages and will be removed in a future version")]
3243
public override Task<ICollection> GetOrphansAsync(object snapshot, string entityName, CancellationToken cancellationToken)
3344
{

src/NHibernate/Async/Type/IType.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010

1111
using System.Collections;
12-
using System.Collections.Generic;
1312
using System.Data.Common;
1413
using NHibernate.Engine;
1514
using NHibernate.SqlTypes;

0 commit comments

Comments
 (0)