02 2023 档案

摘要:数据库创建 创建数据表 create table ( 字段1 字段类型 not null , 字段2 字段类型 ) primary key() 删除数据表 drop table 表名 增加字段 alter table xxx add 列名 类型 修改字段类型或长度 alter table 表 alt 阅读全文
posted @ 2023-02-23 20:51 李家的张麻子 阅读(77) 评论(0) 推荐(0)
摘要:如何构建数据模型 新建项 ADO.NET 实体模型 设置链接 链接字符串需要选择“是,包含敏感数据 注意:EF的框架引用的表应该要存在主键,程序引用中要包含 using System.Data.Entity; using System.Data.Entity.Infrastructure; demo 阅读全文
posted @ 2023-02-12 10:43 李家的张麻子 阅读(953) 评论(0) 推荐(0)