摘要: using System; using System.Collections; using System.Collections.Specialized; using System.Data; using System.Data.SqlClient; using System.Configurati 阅读全文
posted @ 2021-02-02 23:14 誓鼎 阅读(231) 评论(0) 推荐(0)
摘要: private、protected、public和internal的区别private是完全私有的,只有在类自己里面可以调用,在类的外部和子类都不能调用,子类也不能继承父类的private的属性和方法。protected虽然可以被外界看到,但外界却不能调用,只有自己及自己的子类可以调用(protec 阅读全文
posted @ 2021-02-02 22:12 誓鼎 阅读(434) 评论(0) 推荐(0)
摘要: using System; using System.Text; using System.Data; using System.Data.Common; namespace Data.Core { /// <summary> /// 关系数据库帮助类 /// </summary> public p 阅读全文
posted @ 2021-02-02 22:05 誓鼎 阅读(186) 评论(0) 推荐(0)
摘要: 1 表创建 CREATE TABLE [hr].[personal] ( [person_id] int IDENTITY(1,1) NOT NULL, [first_name] varchar(50) COLLATE Chinese_PRC_CI_AS NOT NULL, [last_name] 阅读全文
posted @ 2021-02-02 21:59 誓鼎 阅读(140) 评论(0) 推荐(0)