Skip to content

Commit ff9eb1a

Browse files
Add missing file.
1 parent 0366de2 commit ff9eb1a

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)