随笔分类 -  EF

摘要:针对.net EF 事物 订单流水号的生成 (一) 的封装。 数据依然不变。 阅读全文
posted @ 2016-03-09 14:46 pengbg 阅读(1143) 评论(1) 推荐(0)
摘要:首先需要 添加 System.Transactions 程序集 数据表: create table SalesOrder ( ID int identity(1,1) primary key not null, OrderNo nvarchar(50) not null, OrderDate dat 阅读全文
posted @ 2016-03-09 10:48 pengbg 阅读(1825) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.Entity;using System.Data.Entity.Infrastructure;usi... 阅读全文
posted @ 2015-06-04 14:27 pengbg 阅读(450) 评论(2) 推荐(0)