I want to make the Middle Name of person optional. I have been using C#.net code first approach. For integer data type its easy just by using ? operator to make
?
string type is a reference type, therefore it is nullable by default. You can only use Nullable with value types.
string
Nullable
public struct Nullable where T : struct
Which means that whatever type is replaced for the generic parameter, it must be a value type.