Search Results for

    Show / Hide Table of Contents

    Interface INotRequiredMultiRightRelationBuilder<TEntity, TRelation>

    This interface hosts relation methods for the right side of a relation.

    Inherited Members
    IMultiRightRelationBuilder<TEntity, TRelation>.WithMany(Expression<Func<TRelation, IList<TEntity>>>)
    INotRequiredSingleRightRelationBuilder<TEntity, TRelation>.WithOne()
    IRequiredSingleRightRelationBuilder<TEntity, TRelation>.WithOne(Expression<Func<TRelation, TEntity>>)
    Namespace: Venflow.Modeling.Definitions.Builder
    Assembly: Venflow.dll
    Syntax
    public interface INotRequiredMultiRightRelationBuilder<TEntity, TRelation> : IMultiRightRelationBuilder<TEntity, TRelation>, INotRequiredSingleRightRelationBuilder<TEntity, TRelation>, IRequiredSingleRightRelationBuilder<TEntity, TRelation> where TEntity : class, new()
        where TRelation : class
    Type Parameters
    Name Description
    TEntity
    TRelation

    Methods

    | Improve this Doc View Source

    WithMany()

    Configures this as a one-to-many relationship.

    Note that calling this method will explicitly configure this side of the relationship to use no navigation property, even if such a property exists on the entity type. If the navigation property is to be used, then it must be specified.

    Declaration
    IForeignKeyRelationBuilder<TEntity, TRelation> WithMany()
    Returns
    Type Description
    IForeignKeyRelationBuilder<TEntity, TRelation>

    An object that can be used to configure the relationship.

    Theme

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