Tournament Docs Tournament Docs
Tournament Docs Tournament Docs

Search Results for

    Edit this page

    Class Registration

    Represents the registration of a player in a tournament.

    Inheritance
    object
    Registration
    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 Registration

    Properties

    | Edit this page View Source

    Id

    Gets or sets the unique identifier for the registration.

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

    Player

    Gets or sets the player associated with the registration.

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

    PlayerGamertag

    Gets or sets the gamertag of the player.

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

    Tournament

    Gets or sets the tournament associated with the registration.

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

    TournamentName

    Gets or sets the name of the tournament.

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