Class EntityConfiguration<TEntity>
Allows configuration for an entity type. Inherit from this class and override the Configure(IEntityBuilder<TEntity>) method to configure the entity TEntity
.
Namespace: Venflow.Modeling.Definitions
Assembly: Venflow.dll
Syntax
public abstract class EntityConfiguration<TEntity> : object, IEntityConfiguration where TEntity : class, new()
Type Parameters
Name | Description |
---|---|
TEntity | The entity to be configured. |
Remarks
Classes which inherit from this one, have to be in the same assembly as the Database in order to be discoverable.
Methods
| Improve this Doc View SourceConfigure(IEntityBuilder<TEntity>)
Allows for configuration of the entity TEntity
.
Declaration
protected abstract void Configure(IEntityBuilder<TEntity> entityBuilder)
Parameters
Type | Name | Description |
---|---|---|
IEntityBuilder<TEntity> | entityBuilder | The builder used to configure the entity. |