I have object "Stage Details", when I create new Entity this object, Then breeze automatically create primary key like as -1,-2,-3,-4 etc. And when this object is saved then I saw that the first object saved is last, That is the record -4 which was last record into my object list. I need sequentially save in breezejs.
I want to manage order on the server side. i am using EFContextProvider, i want to mange order before save changes. my code is
public SaveResult Save(JObject saveBundle)
{
//i want to manage order in this position
return _contextProvider.SaveChanges(saveBundle);
}
Is it possible? Thanks.