HighwayFramework / Highway.Data

The fastest and smoothest way to great architecture
http://hwyfwk.com
MIT License
73 stars 30 forks source link

Feature/readonly support #126

Closed ericburcham closed 2 years ago

ericburcham commented 2 years ago

The idea here is to make read-only versions of the primary interfaces and concretions in Highway.Data and Highway.Data.EntityFramework. The purpose of this is to provide safe operations for some common scenarios:

  1. Reading from a read-only copy to offload locks / etc... from a read/write transactional DB.
  2. Cached reads (in downstream types) that are by nature detached and should be read-only.