make doctype_id unique for regex_doctype

This commit is contained in:
Jonathan Jenne
2020-05-18 16:14:53 +02:00
parent 09d499e546
commit c754da5584
6 changed files with 60 additions and 51 deletions

View File

@@ -11140,6 +11140,7 @@ Partial Public Class MyDataset
Me.columnCHANGED_WHEN = New Global.System.Data.DataColumn("CHANGED_WHEN", GetType(Date), Nothing, Global.System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnCHANGED_WHEN)
Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnGUID}, true))
Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint2", New Global.System.Data.DataColumn() {Me.columnDOCTYPE_ID}, false))
Me.columnGUID.AutoIncrement = true
Me.columnGUID.AutoIncrementSeed = 1
Me.columnGUID.AllowDBNull = false
@@ -11147,6 +11148,7 @@ Partial Public Class MyDataset
Me.columnGUID.Unique = true
Me.columnREGEX.AllowDBNull = false
Me.columnREGEX.MaxLength = 500
Me.columnDOCTYPE_ID.Unique = true
Me.columnADDED_WHO.AllowDBNull = false
Me.columnADDED_WHO.MaxLength = 50
Me.columnCHANGED_WHO.MaxLength = 50