Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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 ajoutée par علي محمد عدلي , Senior GIS & .Net Developer , Ministry of Municipal and rural affairs Saudi Arabia
Date de publication: 2015/04/21
ibrahim alshayeb
par ibrahim alshayeb , Software Engineering , TebCan

 Yes is  compatibility , give you the identity values after successfully

 

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

It will give you the identity values after successfully insertion

More Questions Like This