开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜