We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0366de2 commit ff9eb1aCopy full SHA for ff9eb1a
1 file changed
tests/PhenX.EntityFrameworkCore.BulkInsert.Tests/DbContext/TestEntityWithGuidId.cs
@@ -0,0 +1,20 @@
1
+using System.ComponentModel.DataAnnotations;
2
+using System.ComponentModel.DataAnnotations.Schema;
3
+
4
+using Microsoft.EntityFrameworkCore;
5
6
+namespace PhenX.EntityFrameworkCore.BulkInsert.Tests.DbContext;
7
8
+[PrimaryKey(nameof(Id))]
9
+[Table("test_entity_guids")]
10
+public class TestEntityWithGuidId
11
+{
12
+ public Guid Id { get; set; }
13
14
+ [Column("name")]
15
+ [MaxLength(100)]
16
+ public string Name { get; set; } = string.Empty;
17
18
+ [Column("test_run")]
19
+ public Guid TestRun { get; set; }
20
+}
0 commit comments