Hi,
I am in model first and I need to use Identity field to generate PK
This is my code
| using (var ctx = new Model14Container()) |
| { |
| var newElem = ctx.Entity12.Add(new Entity12()); |
| ctx.SaveChanges(); |
| var elem = ctx.Entity12.FirstOrDefault(); |
| } |
The Id is always 0. And I have a PK error the second time
I use Generate Oracle Via T4 (TPT).xaml (VS) and SSDLToOracle.tt (VS) in VS2013 with ODP 12c release3
The SQL code is generated without sequence
I tried with Devart and I had no problem
Thanks
Romain