Docs / MooDbContextOptions Reference

MooDbContextOptions Reference

Role#

MooDbContextOptions configures command timeout and strict auto-mapping behaviour.

Properties#

  • CommandTimeoutSeconds : default 30
  • StrictAutoMapping

Key points#

  • strict auto mapping affects MooDb automatic mapping only
  • it does not affect explicit custom mapper delegates
  • strict mode applies consistently across constructor mapping and property assignment