ZooFlow: NotNull from Modules.Language
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user