DmlOptions.InsertNullBehaviour.Omit - Bug
Posted: Mon 20 Feb 2012 15:36
Hello,
i am using the current Version 6.70.
When using the following setting:
OracleEntityProviderConfig.Instance.DmlOptions.InsertNullBehaviour = InsertNullBehaviour.Omit;
it is not possible to insert an empty Entity, e.g.
MYEntity e = new MYEntity();
context.Add(e);
context.SaveChanges(); <- Error at this point
MYEntity is completely empty, i want to have an empty row in my database with null-values only (except the primary key).
I guess the insert does something like "Insert into myentity () values()" ?!
Greetings,
Species8372
i am using the current Version 6.70.
When using the following setting:
OracleEntityProviderConfig.Instance.DmlOptions.InsertNullBehaviour = InsertNullBehaviour.Omit;
it is not possible to insert an empty Entity, e.g.
MYEntity e = new MYEntity();
context.Add(e);
context.SaveChanges(); <- Error at this point
MYEntity is completely empty, i want to have an empty row in my database with null-values only (except the primary key).
I guess the insert does something like "Insert into myentity () values()" ?!
Greetings,
Species8372