Search Results for

    Show / Hide Table of Contents

    Class ProductRelation

    A relation from a product to another product.

    Inheritance
    object
    ProductRelation
    Implements
    IEquatable<ProductRelation>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Activout.Blue5
    Assembly: Activout.Blue5.dll
    Syntax
    public sealed record ProductRelation : IEquatable<ProductRelation>

    Constructors

    | Edit this page View Source

    ProductRelation(string, string?, string?, string, bool, RelationDirection)

    A relation from a product to another product.

    Declaration
    public ProductRelation(string Id, string? Name, string? Number, string ProductId, bool Reverse, RelationDirection Direction)
    Parameters
    Type Name Description
    string Id

    Relation definition id.

    string Name

    Relation name, if any.

    string Number

    Relation business key, if any.

    string ProductId

    Id of the related product.

    bool Reverse

    True when this is the reverse side of a two-way relation.

    RelationDirection Direction

    Whether the relation is one-way or two-way.

    Properties

    | Edit this page View Source

    Direction

    Whether the relation is one-way or two-way.

    Declaration
    public RelationDirection Direction { get; init; }
    Property Value
    Type Description
    RelationDirection
    | Edit this page View Source

    Id

    Relation definition id.

    Declaration
    public string Id { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Name

    Relation name, if any.

    Declaration
    public string? Name { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Number

    Relation business key, if any.

    Declaration
    public string? Number { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ProductId

    Id of the related product.

    Declaration
    public string ProductId { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Reverse

    True when this is the reverse side of a two-way relation.

    Declaration
    public bool Reverse { get; init; }
    Property Value
    Type Description
    bool

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX