Un bug a la propriété d'être faux quand on lui associé une fonctionnalité
This commit is contained in:
parent
7fc471e00e
commit
cfc59c9bb2
1 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using Yavsc.Attributes.Validation;
|
using Yavsc.Attributes.Validation;
|
||||||
|
using Yavsc.Models.IT.Maintaining;
|
||||||
|
|
||||||
namespace Yavsc.Models.IT.Fixing
|
namespace Yavsc.Models.IT.Fixing
|
||||||
{
|
{
|
||||||
|
|
@ -9,7 +10,9 @@ namespace Yavsc.Models.IT.Fixing
|
||||||
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public long Id { get; set; }
|
public long Id { get; set; }
|
||||||
|
|
||||||
public long FeatureId { get; set; }
|
[ForeignKey("FeatureId")]
|
||||||
|
public virtual Feature False { get; set; }
|
||||||
|
public long? FeatureId { get; set; }
|
||||||
|
|
||||||
[YaStringLength(2048)]
|
[YaStringLength(2048)]
|
||||||
public string Description { get; set; }
|
public string Description { get; set; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue