From 25555cad185753fa277890d195f8981556e0b44a Mon Sep 17 00:00:00 2001 From: luosheng Date: Wed, 28 Jun 2023 16:38:00 +0800 Subject: [PATCH] Fix --- Samples/MachineJob/DatabaseWrite.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Samples/MachineJob/DatabaseWrite.cs b/Samples/MachineJob/DatabaseWrite.cs index e40fac3..35b6f46 100644 --- a/Samples/MachineJob/DatabaseWrite.cs +++ b/Samples/MachineJob/DatabaseWrite.cs @@ -1,6 +1,6 @@ using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; - +using System.ComponentModel.DataAnnotations.Schema; namespace MachineJob { @@ -23,6 +23,7 @@ namespace MachineJob } } + [Table(name: "databasewrites")] public class DatabaseWriteEntity { [Key]