Hi
here is the start of my code. I loop trhough every field int the entity and store the values acording to datatype (At least thats what I want)
One of the columns in my table is an int but also nullable.
foreach (EntityField2 field in (EntityFields2)entDeviation.Fields)
{
Type type = field.DataType.UnderlyingSystemType;
more code.......
type is still Nullable,
"System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"
Nullable<int> i = 0;
Type t = i.GetType().UnderlyingSystemType;
Seems to work if i has value, but in this case, field is null (Since its a new Enity)
Any Ideas?
This is driving me crazy. I thought my code was working,but.....