You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
EntityFrameworkCore.Jet/test/EFCore.Jet.CustomBaseTests/GearsOfWarModel/Weapon.cs

23 lines
676 B
C#

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace EFCore.Jet.CustomBaseTests.GearsOfWarModel;
public class Weapon
{
// auto generated key (sequence) TODO: make nullable when issue #478 is fixed
public int Id { get; set; }
public string Name { get; set; }
public AmmunitionType? AmmunitionType { get; set; }
public bool IsAutomatic { get; set; }
// 1 - 1 self reference
public int? SynergyWithId { get; set; }
public virtual Weapon SynergyWith { get; set; }
public string OwnerFullName { get; set; }
public Gear Owner { get; set; }
}