ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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
تم إضافة السؤال من قبل علي محمد عدلي , Senior GIS & .Net Developer , Ministry of Municipal and rural affairs Saudi Arabia
تاريخ النشر: 2015/04/21
ibrahim alshayeb
من قبل ibrahim alshayeb , Software Engineering , TebCan

 Yes is  compatibility , give you the identity values after successfully

 

ABASAR AHMAd ABASAR
من قبل ABASAR AHMAd ABASAR , Technical Lead , Core Computing Management

It will give you the identity values after successfully insertion

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟