How to add a clause that specify DBNull?
Dim oResult As EntityList(Of SomeProject.Something)
Dim oQuery As New EntityQuery(GetType(SomeProject.Something))
Dim oCol As New Collection
'oCol.Add(DBNull.Value) <----- here is the problem!
oCol.Add("**")
oCol.Add("")
oQuery.AddClause(SomeProject.Something.StringFieldThatCanBeNullEntityColumn, EQO.In, oCol) ' <---- Throw exception here
|
Thanks!
Edited by f3rland - 13-Sep-2007 at 6:57am