0
나는 nuget에 NHibernate에 대한 MySQL의 디스펜서를 발견하지만 난 내 hibernate.cfg.xml로 구성MySQL의 자 NHibernate는 고점
나는 nuget에 NHibernate에 대한 MySQL의 디스펜서를 발견하지만 난 내 hibernate.cfg.xml로 구성MySQL의 자 NHibernate는 고점
사용자가 설정해야하는 속성을 호출 "adonet.factory_class"입니다이 점을 주입하는 방법을 모르겠어요. 중 하나를 사용하여 다음
:<property name="adonet.factory_class">assembly-qualified-name</property>
또는
configuration.SetProperty(
Environment.BatchStrategy,
typeof(MySqlClientBatchingBatcherFactory).AssemblyQualifiedName);
또는
를 분배 자 자체 (https://github.com/Andorbal/NHibernate.MySQLBatcher)의 추가 정보에서 언급 한 바와 같이config.DataBaseIntegration(db =>
db.Batcher<MySqlClientBatchingBatcherFactory>());