This class library provides the basic interfaces and classes necessary to support a storage-agnostic data layer with observable data items.
The main interfaces are IDataItem and IDataStore, with the latter providing the contract for CRUD operations on the former. DataItem is a basic implementation of IDataItem which provides functions to raise the ValueChanged event in derived classes.
The Attributes namespace provides ORM-agnostic attributes for marking up instances of IDataItem for IDataStore instances to use for data store initialization and CRUD operations.
spydersoft.datalayer.core.entityframework is an implementation of IDataStore which utilizes EntityFramework.Core for CRUD operations on a SQL database. Ideas for additional implementations include implementations for SQLite, couchDB, MongoDB, or even basic file-based JSON or XML storage.
Please see the full project documentation.
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Matt Gerega - geregam@gmail.com
Project Link: https://github.com/spyder007/pi-monitoring