Search Results for

    Show / Hide Table of Contents

    Interface INotRequiredSingleRightRelationBuilder<TEntity, TRelation>

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

    Inherited Members
    IRequiredSingleRightRelationBuilder<TEntity, TRelation>.WithOne(Expression<Func<TRelation, TEntity>>)
    Namespace: Venflow.Modeling.Definitions.Builder
    Assembly: Venflow.dll
    Syntax
    public interface 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

    WithOne()

    Configures this as a one-to-one 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> WithOne()
    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