Fluent NHibernateをSQLiteと組み合わせて使用してバッチサポートを有効にしようとした人はいますか?私は試した
Fluently.Configure()
.Database(SQLiteConfiguration.Standard
.UsingFile(CreateOrGetDataFile()).AdoNetBatchSize(128))
.Mappings(
m => m.FluentMappings.AddFromAssembly(Assembly.Load("Sauron.Core"))
.Conventions.Add(PrimaryKey.Name.Is(p => "Id"), ForeignKey.EndsWith("Id")))
.BuildSessionFactory();
しかし、動作しませんでした。
また、ISessionとIStatelessSessionでバッチサイズを設定しようとしましたが、バッチ処理が無効になっているという例外が発生しました。