Make Instruction and Recipe nullable for avoid data inconsistency
This commit is contained in:
@@ -13,8 +13,8 @@
|
|||||||
|
|
||||||
public byte[]? Data { get; set; }
|
public byte[]? Data { get; set; }
|
||||||
|
|
||||||
public virtual Recipe? Recipe { get; set; } = new ();
|
public virtual Recipe? Recipe { get; set; } = null;
|
||||||
|
|
||||||
public virtual Instruction Instruction { get; set; } = new ();
|
public virtual Instruction? Instruction { get; set; } = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user