File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed
src/Storage/Vertex.Storage.Linq2db/Entities Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -6,17 +6,16 @@ namespace Vertex.Storage.Linq2db.Entities
66 [ Table ]
77 public class EventEntity < TPrimaryKey >
88 {
9- [ Column ]
10- [ Column ( DataType = DataType . VarChar , Length = 200 ) ]
9+ [ Column ( Length = 200 , CanBeNull = false ) ]
1110 public TPrimaryKey ActorId { get ; set ; }
1211
13- [ Column ( DataType = DataType . VarChar , Length = 200 ) ]
12+ [ Column ( DataType = DataType . VarChar , CanBeNull = false , Length = 200 ) ]
1413 public string Name { get ; set ; }
1514
1615 [ Column ( DataType = DataType . Text ) ]
1716 public string Data { get ; set ; }
1817
19- [ Column ( DataType = DataType . VarChar , Length = 200 ) ]
18+ [ Column ( DataType = DataType . VarChar , CanBeNull = false , Length = 200 ) ]
2019 public string FlowId { get ; set ; }
2120
2221 [ Column ]
Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ namespace Vertex.Storage.Linq2db.Entities
77 public class SnapshotEntity < TPrimaryKey >
88 {
99 [ PrimaryKey ]
10- [ Column ]
11- [ Column ( DataType = DataType . VarChar , Length = 200 ) ]
10+ [ Column ( Length = 200 , CanBeNull = false ) ]
1211 public TPrimaryKey Id { get ; set ; }
1312
1413 [ Column ( DataType = DataType . Text ) ]
Original file line number Diff line number Diff line change 1- using LinqToDB ;
2- using LinqToDB . Mapping ;
1+ using LinqToDB . Mapping ;
32
43namespace Vertex . Storage . Linq2db . Entities
54{
65 [ Table ]
76 public class SubSnapshotEntity < TPrimaryKey >
87 {
98 [ PrimaryKey ]
10- [ Column ]
11- [ Column ( DataType = DataType . VarChar , Length = 200 ) ]
9+ [ Column ( Length = 200 , CanBeNull = false ) ]
1210 public TPrimaryKey Id { get ; set ; }
1311
1412 [ Column ]
You can’t perform that action at this time.
0 commit comments