File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/NHibernate/Cfg/Loquacious Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public string RegionsPrefix
28
28
set { cfg . SetProperty ( Environment . CacheRegionPrefix , value ) ; }
29
29
}
30
30
31
- public byte DefaultExpiration
31
+ public int DefaultExpiration
32
32
{
33
33
set { cfg . SetProperty ( Environment . CacheDefaultExpiration , value . ToString ( ) ) ; }
34
34
}
@@ -89,7 +89,7 @@ public ICacheConfiguration UsingMinimalPuts()
89
89
return this ;
90
90
}
91
91
92
- public IFluentSessionFactoryConfiguration WithDefaultExpiration ( byte seconds )
92
+ public IFluentSessionFactoryConfiguration WithDefaultExpiration ( int seconds )
93
93
{
94
94
fc . Configuration . SetProperty ( Environment . CacheDefaultExpiration , seconds . ToString ( ) ) ;
95
95
return fc ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ public interface ICacheConfiguration
6
6
ICacheConfiguration Through < TProvider > ( ) where TProvider : ICacheProvider ;
7
7
ICacheConfiguration PrefixingRegionsWith ( string regionPrefix ) ;
8
8
ICacheConfiguration UsingMinimalPuts ( ) ;
9
- IFluentSessionFactoryConfiguration WithDefaultExpiration ( byte seconds ) ;
9
+ IFluentSessionFactoryConfiguration WithDefaultExpiration ( int seconds ) ;
10
10
IQueryCacheConfiguration Queries { get ; }
11
11
}
12
12
@@ -15,7 +15,7 @@ public interface ICacheConfigurationProperties
15
15
bool UseMinimalPuts { set ; }
16
16
bool UseQueryCache { set ; }
17
17
string RegionsPrefix { set ; }
18
- byte DefaultExpiration { set ; }
18
+ int DefaultExpiration { set ; }
19
19
void Provider < TProvider > ( ) where TProvider : ICacheProvider ;
20
20
void QueryCache < TFactory > ( ) where TFactory : IQueryCache ;
21
21
}
You can’t perform that action at this time.
0 commit comments