Tournament Docs Tournament Docs
Tournament Docs Tournament Docs

Search Results for

    Edit this page

    Class Tournament

    Represents a tournament in the Tournament Management Application.

    Inheritance
    object
    Tournament
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tournaments.Shared.Models
    Assembly: Tournaments.Shared.dll
    Syntax
    public class Tournament

    Properties

    | Edit this page View Source

    Name

    Gets or sets the unique name of the tournament.

    Declaration
    [Key]
    public required string Name { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ParentTournament

    Gets or sets the parent tournament.

    Declaration
    [ForeignKey("ParentTournamentName")]
    [JsonIgnore]
    public Tournament? ParentTournament { get; set; }
    Property Value
    Type Description
    Tournament
    | Edit this page View Source

    ParentTournamentName

    Gets or sets the name of the parent tournament, if any.

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

    Registrations

    Gets or sets the registrations for this tournament.

    Declaration
    [JsonIgnore]
    public ICollection<Registration> Registrations { get; set; }
    Property Value
    Type Description
    ICollection<Registration>
    | Edit this page View Source

    SubTournaments

    Gets or sets the sub-tournaments of this tournament.

    Declaration
    public ICollection<Tournament> SubTournaments { get; set; }
    Property Value
    Type Description
    ICollection<Tournament>