tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
RevInfoTestMerge.cs
Go to the documentation of this file.
1using System;
2using System.ComponentModel.DataAnnotations;
3
5{
9 public sealed class RevInfoTestMerge
10 {
14 public long Id { get; set; }
15
19 [Required]
20 public TestMerge TestMerge { get; set; }
21
25 [Required]
27
31 [Obsolete("For use by EFCore only", true)]
33 {
34 TestMerge = null!;
35 RevisionInformation = null!;
36 }
37
43 public RevInfoTestMerge(TestMerge testMerge, RevisionInformation revisionInformation)
44 {
45 TestMerge = testMerge ?? throw new ArgumentNullException(nameof(testMerge));
46 RevisionInformation = revisionInformation ?? throw new ArgumentNullException(nameof(revisionInformation));
47 }
48 }
49}
Many to many relationship for Models.RevisionInformation and Models.TestMerge.
RevInfoTestMerge(TestMerge testMerge, RevisionInformation revisionInformation)
Initializes a new instance of the RevInfoTestMerge class.
RevInfoTestMerge()
Initializes a new instance of the RevInfoTestMerge class.