-
Notifications
You must be signed in to change notification settings - Fork 0
OrmEntityExtensions
Craig Fowler edited this page Feb 25, 2020
·
4 revisions
If you are using both the NuGet packages CSF.Entities and CSF.ORM then the package CSF.ORM.Entities may be of interest. This package provides some convenience functionality related to using the ORM and Entities packages together.
The IEntityData
interface is essentially a combination of IQuery
and IPersister
, except that it is intended to be used specifically with entities which implement IEntity
.
There are also convenience methods on this interface to use IIdentity<T>
objects for getting/theorising entities.
There are also a few classes in the package CSF.ORM.Entities which provide enhancements to in-memory functionality, such as might be used in testing, for example.