forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDebugSessionFactory.cs
98 lines (83 loc) · 2.86 KB
/
DebugSessionFactory.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by AsyncGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Threading;
using log4net;
using NHibernate.Cache;
using NHibernate.Cfg;
using NHibernate.Connection;
using NHibernate.Context;
using NHibernate.Dialect.Function;
using NHibernate.Engine;
using NHibernate.Engine.Query;
using NHibernate.Event;
using NHibernate.Exceptions;
using NHibernate.Id;
using NHibernate.Impl;
using NHibernate.Metadata;
using NHibernate.Persister.Collection;
using NHibernate.Persister.Entity;
using NHibernate.Proxy;
using NHibernate.Stat;
using NHibernate.Transaction;
using NHibernate.Type;
namespace NHibernate.Test
{
using System.Threading.Tasks;
/// <content>
/// Contains generated async methods
/// </content>
public partial class DebugSessionFactory : ISessionFactoryImplementor
{
#region Session tracking
#endregion
#region Delegated calls without any changes
Task ISessionFactory.CloseAsync(CancellationToken cancellationToken)
{
return ActualFactory.CloseAsync(cancellationToken);
}
Task ISessionFactory.EvictAsync(System.Type persistentClass, CancellationToken cancellationToken)
{
return ActualFactory.EvictAsync(persistentClass, cancellationToken);
}
Task ISessionFactory.EvictAsync(System.Type persistentClass, object id, CancellationToken cancellationToken)
{
return ActualFactory.EvictAsync(persistentClass, id, cancellationToken);
}
Task ISessionFactory.EvictEntityAsync(string entityName, CancellationToken cancellationToken)
{
return ActualFactory.EvictEntityAsync(entityName, cancellationToken);
}
Task ISessionFactory.EvictEntityAsync(string entityName, object id, CancellationToken cancellationToken)
{
return ActualFactory.EvictEntityAsync(entityName, id, cancellationToken);
}
Task ISessionFactory.EvictCollectionAsync(string roleName, CancellationToken cancellationToken)
{
return ActualFactory.EvictCollectionAsync(roleName, cancellationToken);
}
Task ISessionFactory.EvictCollectionAsync(string roleName, object id, CancellationToken cancellationToken)
{
return ActualFactory.EvictCollectionAsync(roleName, id, cancellationToken);
}
Task ISessionFactory.EvictQueriesAsync(CancellationToken cancellationToken)
{
return ActualFactory.EvictQueriesAsync(cancellationToken);
}
Task ISessionFactory.EvictQueriesAsync(string cacheRegion, CancellationToken cancellationToken)
{
return ActualFactory.EvictQueriesAsync(cacheRegion, cancellationToken);
}
#endregion
}
}