Top "Nullable" questions

The nullable tag is for issues relating to nullable members or types.

How to make a 'struct' Nullable by definition?

struct AccountInfo { String Username; String Password; } now if I want to have a Nullable instance I should write: Nullable<…

c# struct nullable
Compare nullable types in Linq to Sql

I have a Category entity which has a Nullable ParentId field. When the method below is executing and the categoryId …

c# linq-to-sql nullable
Set value to null in WPF binding

please take a look at the following line <TextBox Text="{Binding Price}"/> This Price property from above is …

wpf nullable binding .net-3.5 string
Why should I specify @Column( nullable = false )?

I have an entity annotated with @Entity. If I am responsible for creating the CREATE TABLE scripts why should I …

java jpa jpa-2.0 nullable
Find type of nullable properties via reflection

I examine the properties of an object via reflection and continue processing the data type of each property. Here is …

c# .net reflection nullable
How to compare nullable types?

I have a few places where I need to compare 2 (nullable) values, to see if they're the same. I think …

c# extension-methods nullable
C# code won't compile. No implicit conversion between null and int

Possible Duplicate: Nullable types and the ternary operator: why is `? 10 : null` forbidden? Why doesn't this work? Seems like valid code. …

c# string null nullable
SparkSQL: How to deal with null values in user defined function?

Given Table 1 with one column "x" of type String. I want to create Table 2 with a column "y" that is …

scala apache-spark apache-spark-sql user-defined-functions nullable
C# DBNull and nullable Types - cleanest form of conversion

I have a DataTable, which has a number of columns. Some of those columns are nullable. DataTable dt; // Value set. …

c# datatable types nullable
Query to check whether a column is nullable

Query to check whether a column is nullable (null values are allowed in the column or not). It should preferably …

sql-server sql-server-2008 nullable