コード例 #1
0
 public Installation(long?id,
                     long externalId,
                     bool isAirly,
                     InstallationLocation location,
                     InstallationAddress address,
                     InstallationSponsor sponsor)
 {
     Id         = id;
     ExternalId = externalId;
     IsAirly    = isAirly;
     Location   = location;
     Address    = address;
     Sponsor    = sponsor;
 }
コード例 #2
0
 public static Installation Create(long externalId,
                                   bool isAirly,
                                   InstallationLocation location,
                                   InstallationAddress address,
                                   InstallationSponsor sponsor)
 => new Installation(null, externalId, isAirly, location, address, sponsor);