Innovt Platform
Search Results for

    Show / Hide Table of Contents

    Class Document

    Represents a document entity.

    Inheritance
    object
    ValueObject
    Document
    Inherited Members
    ValueObject.Id
    ValueObject.Equals(object)
    ValueObject.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Innovt.Domain.Documents
    Assembly: Innovt.Domain.dll
    Syntax
    public class Document : ValueObject

    Constructors

    | Edit this page View Source

    Document()

    Initializes a new instance of the Document class.

    Declaration
    public Document()
    | Edit this page View Source

    Document(string, int)

    Initializes a new instance of the Document class with the specified number and document type.

    Declaration
    public Document(string number, int documentTypeId)
    Parameters
    Type Name Description
    string number

    The document number.

    int documentTypeId

    The ID of the associated document type.

    Properties

    | Edit this page View Source

    DocumentType

    Gets or sets the document type associated with this document.

    Declaration
    public DocumentType DocumentType { get; set; }
    Property Value
    Type Description
    DocumentType
    | Edit this page View Source

    DocumentTypeId

    Gets or sets the ID of the document type associated with this document.

    Declaration
    public int DocumentTypeId { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Number

    Gets or sets the document number.

    Declaration
    public string Number { get; set; }
    Property Value
    Type Description
    string

    Extension Methods

    Extensions.IsNull(object)
    Extensions.ToStringOrDefault(object)
    SimpleMapper.MapTo<T1>(object)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX