We are trying to implement a quick prototype to prove that something is possible with the Entity Framework ...
We have an Informix database that does not support transactions - is it possible to use the Entity Framework with this?
We have a working model and working providers, but it seems that we cannot execute a CRUD request without transactions, but we even tried to push them away ...
[Test] public void TestMethod1() { entities ent = new entities(); var a = ent.brands.Select(x => x); using (TransactionScope trans = new TransactionScope( TransactionScopeOption.Suppress)) { ent.brands.AddObject(new brand() { br_name = "New Test Brand" }); ent.SaveChanges(); } }
The error we get is below:
An error occurred while starting a transaction in the provider connection. See Internal Exception for more details.
I looked around and suggested using suppression, but it doesn't seem to work ... any ideas?
source share