Acquire the ID of last inserted row using Entity Framework
Acquiring the ID of last inserted row (Primary and auto increment column) using Entity Framework is as follows:
Entities oEntities = new Entities();
tblSample ts = new tblSample();
ts.Description = "some Description Here!!!";
oEntities.InsertToSample(ts);
oEntities.SaveChanges();
lblMessage.Text = ts.SampleID;
9B7C60CFE6
ReplyDeletehacker arıyorum
hacker bul
tütün dünyası
hacker bul
hacker kirala
1040DFEDEC
ReplyDeleteBeğeni Satın Al
En İyi Takipçi
Instagram Takipçi Arttırma