怪物奇妙物语

宇宙无敌超级美少男的怪物奇妙物语

首页 新随笔 联系 管理
  823 随笔 :: 0 文章 :: 2 评论 :: 16万 阅读

2023年7月16日 #

摘要: # 设置uuid ```cs namespace EF6SQLiteTutorial.Models { public class People { public int Id { get; set; } // 设置uuid public Guid Uuid { get; set; } = Guid. 阅读全文
posted @ 2023-07-16 11:16 超级无敌美少男战士 阅读(23) 评论(0) 推荐(0) 编辑

摘要: # `EF6SQLiteTutorial/Program.cs` ```cs using EF6SQLiteTutorial.Data; using Microsoft.EntityFrameworkCore; var builder = WebApplication.CreateBuilder(a 阅读全文
posted @ 2023-07-16 10:25 超级无敌美少男战士 阅读(79) 评论(0) 推荐(0) 编辑

摘要: # Entity Framework Core的使用 如果您想要根据模型创建数据库表,可以使用Entity Framework Core的迁移功能。迁移允许您在模型更改时更新数据库架构,而无需手动创建或修改表。 要使用迁移,您需要执行以下步骤: 1. 安装 `Microsoft.EntityFram 阅读全文
posted @ 2023-07-16 10:21 超级无敌美少男战士 阅读(221) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示