第二章 快速上手

本章小节

| 小节 | 内容 | |------|------| | [环境准备与依赖](setup-dependencies.md) | Cargo.toml 配置与 feature 选择 | | [定义第一个实体](first-entity.md) | `#[derive(EntityType)]` 与表映射 | | [DbContext 与 DI 注册](dbcontext-and-di.md) | `add_dbcontext`、类型映射与 `Arc<DbContext>` | | [第一个 CRUD 流程](first-crud.md) | 增删改查完整链路 |

下一步

从 [环境准备与依赖](setup-dependencies.md) 开始。