Should an Entity Framework savepoint have a unique name?
Not r开发者_如何学编程eally a problem, but curiosity. Should a savepoint name in EF be unique? Since I thought each of the names refers to a transaction for each client.
using ShortId;
string uniqueID = ShortId.Generate();
transaction.CreateSavePoint($"Save_{uniqueID}");
I've searched for this case before but haven't found anything.
Should a savepoint be unique?
精彩评论