public static void Update(ISessionFactory sessionFactory) { var factory = (ISessionFactoryImplementor) sessionFactory; var dialect = factory.Dialect; var connectionHelper = new SuppliedConnectionProviderConnectionHelper(factory.ConnectionProvider); factory.Dialect.Keywords.AddAll(GetReservedWords(dialect, connectionHelper)); }
public static void Update(ISessionFactory sessionFactory) { var factory = (ISessionFactoryImplementor)sessionFactory; var dialect = factory.Dialect; var connectionHelper = new SuppliedConnectionProviderConnectionHelper(factory.ConnectionProvider); factory.Dialect.Keywords.AddAll(GetReservedWords(dialect, connectionHelper)); }