主要參考這一篇
Databases in the Version Control System


接下來Ctrl+Alt+Shift+S
點擊DDL Mappings的Tab,再按加加


主要參考這一篇
Databases in the Version Control System
接下來Ctrl+Alt+Shift+S
點擊DDL Mappings的Tab,再按加加
參考文章:
How to full copy mysql table to different host/database with data and all keys?
注意如果是用SQL Server的話,Connection String一定要對…
Data Source是「localhost\instance」(那個localhost可以改成電腦名子或是一個圓點點 『.』」
主要參考這篇來達成
Basics of Dapper
.NET 7 Web API & Entity Framework Jumpstart | Udemy
udemy買的一堂課,一邊看一邊寫筆記。
一邊跟著實作(才不會無聊):
LunaGoodnight/DotnetRPG (github.com)
另外也可以參考微軟的文件
Create web APIs with ASP.NET Core
我猜應該很多東西雷同?
首先我們需要models,所以先開一個models資料夾….
之後要來controller了,首先讓它繼承ControllerBase,之後再加個
[ApiController] 這個attribute可以為我們的API增添一些功能。