Next bug with LinQ2mySQL support
Posted: Sat 31 Jan 2009 16:40
Hey
So, I have a few columns in my DataBase which are allowed to be Null
I picked one of the generated code out. - This looks like as follows:
The problem is, that when the code compare the value with the variable: _cyl_li then it will not come into the codeblock, because comparing NOTHING with a value has as result NOTHING and not False
Take a look
THX
So, I have a few columns in my DataBase which are allowed to be Null
I picked one of the generated code out. - This looks like as follows:
Code: Select all
_
Public Property cyl_li() As System.Nullable(Of Decimal)
Get
Return Me._cyl_li
End Get
Set
If ((Me._cyl_li = Value) _
= False) Then
Me.Oncyl_liChanging(Value)
Me.SendPropertyChanging()
Me._cyl_li = Value
Me.SendPropertyChanged("cyl_li")
Me.Oncyl_liChanged()
End If
End Set
End Property
Take a look
THX