Library Search
结果页

Code First CRUD——学生数据库

在 元器件 / 技术栈 / 知识库 中找到 16 个匹配结果。

返回文档库
技术栈

技术栈

8 个
查看全部
CodeIgniter ## CodeIgniter 4 入门教程:CRUD 新闻应用 ### 1. 背景 CodeIgniter 以轻量和速度著称。本教程带你构建完整的新闻 CRUD 应用,掌握 CI4 的 MVC 模式、模型、查询构建器和表单。 ### 2. 前置概念 | 概念 | 说明 | |------|------| | **Model** | CodeIgniter\Model,内置 CRUD 方法… 3% C# ```html <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <title>Alpine.js Demo</title> <style> body { font-family: system-ui; max-width: 600px; margin: 50px auto; background: #… 2% Pytest ``` test_math_utils.py::test_divide_normal PASSED test_math_utils.py::test_divide_by_zero PASSED test_math_utils.py::test_is_prime[1-False] PASSED test_math_utils.py::test_is_prime[2-True] PASSED test… 2% Grafana ```json { "dashboard": { "title": "主机监控总览", "tags": ["prometheus", "node"], "timezone": "browser", "panels": [ { "title": "CPU 使用率", "type": "timeseries",… 2% LightGBM ``` 正样本比例: 35.62% Training until validation scores don't improve for 20 rounds [50] valid_0's auc: 0.8234 [100] valid_0's auc: 0.8456 Early stopping, best iteration is [87] 测试准确率: 0.7823 最佳迭代轮次: 87 最… 2% FastAPI : Optional[timedelta] = None): to_encode = data.copy() expire = datetime.now(timezone.utc) + (expires_delta or timedelta(minutes=15)) to_encode.update({"exp": expire}) return jwt.encod… 1% jQuery ="display:none;"> jQuery 让动画变得极其简单:<code>.fadeIn()</code>、 <code>.slideDown()</code>、<code>.animate()</code>。 </p> </div> <script> // ===== 入口:DOM 就绪后执行 ===== $(function () { // ===… 1% Entity Framework ## 目标 使用 EF Core + SQLite 构建一个学生管理系统,演示 Code First、迁移、CRUD 全流程。 ## 完整代码 ### 1. 数据模型 Models/Student.cs ```csharp namespace StudentDb.Models; public class Student { public int Id { get; set; }… 1%
知识库

知识库

8 个
Code First CRUD——学生数据库 ## 目标 使用 EF Core + SQLite 构建一个学生管理系统,演示 Code First、迁移、CRUD 全流程。 ## 完整代码 ### 1. 数据模型 Models/Student.cs ```csharp namespace StudentDb.Models; public class Student { public int Id { get; set; }… 3% 入门篇 - CRUD 新闻应用 ## CodeIgniter 4 入门教程:CRUD 新闻应用 ### 1. 背景 CodeIgniter 以轻量和速度著称。本教程带你构建完整的新闻 CRUD 应用,掌握 CI4 的 MVC 模式、模型、查询构建器和表单。 ### 2. 前置概念 | 概念 | 说明 | |------|------| | **Model** | CodeIgniter\Model,内置 CRUD 方法… 3% 入门篇 - Gii CRUD 实战 **a) 生成 Model** - 点击 "Model Generator" - Table Name: `product` - Model Class: `Product` - 点击 Generate **b) 生成 CRUD** - 点击 "CRUD Generator" - Model Class: `app\models\Product` - Controller Class: `app… 2% Express RESTful API — 图书管理 CRUD # Express RESTful API — 图书管理 CRUD ## 目标 15 分钟搭建完整的 RESTful API,包含 GET/POST/PUT/DELETE 操作,数据存内存(毕设可替换为数据库)。 ## 完整代码 ```javascript // app.js const express = require('express'); const app = express();… 2% 主循环 ``` Project/ ├── Core/ │ ├── Inc/ │ │ └── module_4g.h │ └── Src/ │ ├── main.c │ ├── module_4g.c │ └── stm32f1xx_it.c ← HAL_UART_RxCpltCallback 在此 ├── Drivers/ │ └── ST… 2% STM32 代码例程 _UART_Init(); // 启动编码器模式 HAL_TIM_Encoder_Start(&htim2, TIM_CHANNEL_ALL); printf("STM32 EC11 Encoder Demo Ready\r\n"); int32_t lastCount = 0; while (1) { // 读取编码器计数值(TIM2->CNT会自动根据方向增… 2% ST-LINK V2 使用与配置代码例程 ```xml <?xml version="1.0" encoding="UTF-8"?> <!-- STM32CubeIDE Debug Configuration (.launch) --> <launchConfiguration type="com.st.stm32cube.ide.mcu.debug.launch.launchConfigurationType"> <string… 2% Prometheus 数据源 + 主机监控 Dashboard ```json { "dashboard": { "title": "主机监控总览", "tags": ["prometheus", "node"], "timezone": "browser", "panels": [ { "title": "CPU 使用率", "type": "timeseries",… 2%