Search Results for

    Show / Hide Table of Contents

    Class EventFile

    Represents the association between an event and a file, including upload metadata.

    Inheritance
    object
    EventFile
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OEMS.Core.Domain.Klassen
    Assembly: OEMS.Core.dll
    Syntax
    public class EventFile

    Properties

    Description

    Gets or sets an optional description for the uploaded file.

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

    A text description providing context or details about the file's purpose.

    Event

    Gets or sets the navigation property to the associated event.

    Declaration
    [ForeignKey("EventId")]
    public virtual Event Event { get; set; }
    Property Value
    Type Description
    Event

    The event entity to which the file is attached.

    EventId

    Gets or sets the identifier of the associated event.

    Declaration
    [Required]
    public Guid EventId { get; set; }
    Property Value
    Type Description
    Guid

    The GUID of the event to which the file is attached.

    File

    Gets or sets the navigation property to the associated file.

    Declaration
    [ForeignKey("FileId")]
    public virtual File File { get; set; }
    Property Value
    Type Description
    File

    The file entity that is linked to the event.

    FileId

    Gets or sets the identifier of the associated file.

    Declaration
    [Required]
    public Guid FileId { get; set; }
    Property Value
    Type Description
    Guid

    The GUID of the file linked to the event.

    Id

    Gets or sets the unique identifier for the event-file association.

    Declaration
    [Key]
    public Guid Id { get; set; }
    Property Value
    Type Description
    Guid

    A GUID that uniquely identifies this event-file relationship.

    UploadDate

    Gets or sets the date and time when the file was uploaded.

    Declaration
    [Required]
    public DateTime UploadDate { get; set; }
    Property Value
    Type Description
    DateTime

    The timestamp indicating when the file was uploaded to the event.

    Uploader

    Gets or sets the navigation property to the user who uploaded the file.

    Declaration
    [ForeignKey("UploaderId")]
    public virtual User Uploader { get; set; }
    Property Value
    Type Description
    User

    The user entity representing who uploaded the file.

    UploaderId

    Gets or sets the identifier of the user who uploaded the file.

    Declaration
    [Required]
    public Guid UploaderId { get; set; }
    Property Value
    Type Description
    Guid

    The GUID of the user responsible for uploading the file to the event.

    In this article
    Back to top Generated by DocFX