mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
@@ -38,6 +38,13 @@ namespace Orchard.Data.Providers {
|
||||
|
||||
var config = Fluently.Configure();
|
||||
|
||||
// not working for me.. (BN)
|
||||
//parameters.Configurers.OfType<ISessionConfigurationEventsWithParameters>()
|
||||
// .Invoke(c => c.Parameters=parameters, Logger);
|
||||
|
||||
foreach (var c in parameters.Configurers.OfType<ISessionConfigurationEventsWithParameters>())
|
||||
c.Parameters = parameters;
|
||||
|
||||
parameters.Configurers.Invoke(c => c.Created(config, persistenceModel), Logger);
|
||||
|
||||
config = config.Database(database)
|
||||
|
||||
@@ -180,7 +180,11 @@
|
||||
<Compile Include="Data\AbstractSessionInterceptor.cs" />
|
||||
<Compile Include="Data\Bags\SArray.cs" />
|
||||
<Compile Include="Data\Conventions\UtcDateTimeConvention.cs" />
|
||||
<Compile Include="Data\DefaultSessionConfigurationEvents.cs" />
|
||||
<Compile Include="Data\DoNotMapAttribute.cs" />
|
||||
<Compile Include="Data\FetchRequest.cs" />
|
||||
<Compile Include="Data\SessionConfigurationEventsWithParameters.cs" />
|
||||
<Compile Include="Data\ISessionConfigurationEventsWithParameters.cs" />
|
||||
<Compile Include="Data\Migration\Interpreters\MySqlCommandInterpreter.cs" />
|
||||
<Compile Include="Data\Providers\MySqlStatementProvider.cs" />
|
||||
<Compile Include="Data\Providers\SqlCeStatementProvider.cs" />
|
||||
|
||||
Reference in New Issue
Block a user