ZooFlow: NotNull from Modules.Language

This commit is contained in:
Jonathan Jenne
2021-04-26 11:35:09 +02:00
parent 7b68b622ff
commit 2202f90914
6 changed files with 6 additions and 14 deletions

View File

@@ -2,6 +2,7 @@
Imports DevExpress.XtraEditors
Imports DevExpress.XtraLayout
Imports DevExpress.XtraTab
Imports DigitalData.Modules.Language.Utils
Public Class ClassDetailPages
Public Items As New Dictionary(Of String, DetailPage)
@@ -62,7 +63,7 @@ Public Class ClassDetailPages
Dim oNullable As Boolean = oColumn.AllowDBNull
If oNullable = False And NotNull(oControl.EditValue, String.Empty) = String.Empty Then
If oNullable = False And NotNull(oControl.EditValue.ToString, String.Empty) = String.Empty Then
Throw New NoNullAllowedException()
End If
End If

View File

@@ -4,6 +4,7 @@ Imports DevExpress.XtraEditors.Repository
Imports DevExpress.XtraGrid.Columns
Imports DevExpress.XtraGrid.Views.Grid
Imports DigitalData.Modules.Logging
Imports DigitalData.Modules.Language.Utils
Imports DigitalData.GUIs.ZooFlow.Administration.ClassConstants
Imports DevExpress.XtraGrid