针对.net EF 事物 订单流水号的生成 (一) 的封装. 数据依然不变. using System; using System.Linq; using System.Transactions; namespace ConsoleApplication1 { class Program { static pengbgDBEntities db = new pengbgDBEntities(); static void Main(string[] args) { try { DAL dal =…
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Data.Common; namespace testEF事物 { class Program { static void Main(string[] args) {…