Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    EntityConfiguration<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 Source

    Configure(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.

    Theme

    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 Twenty