摘要:
1.在数据库中新建两张测试表创建用户表use eftestgoif exists(select * from sysobjects where name='UserInfo')drop table UserInfocreate table UserInfo( ID int identity(1,1... 阅读全文
摘要:
这几天在了解ef,看了几天云里雾里(我太菜了),但在vs2010中使用ef时我觉得有些东西还是很有意思的。自己便想到分装一个逻辑层的数据验证类1.自定义特性 [AttributeUsage(AttributeTargets.Property)] public class CheckAttri... 阅读全文
摘要:
--SQL Server 2008 定时作业的制定--1.打开【SQL Server Management Studio】,在【对象资源管理器】列表中选择【SQL Server 代理】;--2.鼠标右击【SQL Server 代理】,选择【启动(S)】,如已启动,可以省略此步骤; --3.展开【SQ... 阅读全文