<p>I have generated linq to sql entites but cannot figure out how to assign null to a nullable column. whenever i try to assign null to it it says "there is no implicit type conversion between int and ". BTW the type of the field is int? and the database column is also nullable.</p>

It seems as though the column isn't really nullable. Check the properties of the column and see that it really is marked as nullable. If it isn't, check your database model and try to recreate the
LINQ to SQL
model if it's nullable in the database.
Mind that you can't simply mark it as nullable in the
LINQ to SQL
model and not in the database, since these kinds of discrepancies may cause your
LINQ to SQL
model to stop working.
Post edit update:
I can see that the field type is
```
int?
```
which is the same as
```
Nullable<int>
```
so there shouldn't be a problem to set it to null. However, when getting the integer value, you should use the
```
Value
```
property of the
```
int?
```
. Is that the problem?