ORM one global instance?

Home Forums kbmMW ORM one global instance?

Viewing 1 reply thread
  • Author
    Posts
    • #53451
      mrluigi2017
      Participant

      Hi,

      Do I need one global ORM instance or should I create one on each service? The ORM multitier demo has only one, but it uses a SQLite database so it might not work for database which can have more connections.

      Thanks in advance!

       

      Luigi

    • #53454
      kimbomadsen
      Keymaster

      You only need one ORM per connection pool you are using.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.