Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Entity framework compatibility with oracle databases :

considering this segment of code :

Employee emp=new Employee{ name="EmpName",position="develoeper"};

Entities db=new Entities();

db.Employees.Add(emp);

db.SaveChanges();

int id=emp.Id;

//what's the value of id when using oracle database ??? is this value different when using sql server ?? how to work around this problem ??

user-image
Question added by علي محمد عدلي , Senior GIS Solution Engineer , Saudi Post-SPL
Date Posted: 2015/04/21
ibrahim alshayeb
by ibrahim alshayeb , Software Engineering , TebCan

 Yes is  compatibility , give you the identity values after successfully

 

ABASAR AHMAd ABASAR
by ABASAR AHMAd ABASAR , Technical Lead , Core Computing Management

It will give you the identity values after successfully insertion

More Questions Like This