problem: InsertNullBehaviour forces default values
Posted: Mon 29 Aug 2011 14:34
Hi,
we are trying to start using identity for our tables.
As described in help we set
InsertNullBehaviour = InsertNullBehaviour.InsertDefaultOrOmit;
the identity works, but for the fields where we've set a default value, the default value is stored no matter if we set a different value or leave it to null.
The moment we comment this line, the value that we set is saved to db, not the default one.
Has anyone had this issue?
we use build 202.
we are trying to start using identity for our tables.
As described in help we set
InsertNullBehaviour = InsertNullBehaviour.InsertDefaultOrOmit;
the identity works, but for the fields where we've set a default value, the default value is stored no matter if we set a different value or leave it to null.
The moment we comment this line, the value that we set is saved to db, not the default one.
Has anyone had this issue?
we use build 202.