Skip to content

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

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.

In-memory functionality

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.

Clone this wiki locally