You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.2 KiB
Plaintext
64 lines
1.2 KiB
Plaintext
2 years ago
|
{
|
||
|
"cells": [
|
||
|
{
|
||
|
"attachments": {},
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"EFCore7 学习与总结 \n",
|
||
|
"================="
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"attachments": {},
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"## 全局设置"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": null,
|
||
|
"metadata": {
|
||
|
"dotnet_interactive": {
|
||
|
"language": "csharp"
|
||
|
},
|
||
|
"polyglot_notebook": {
|
||
|
"kernelName": "csharp"
|
||
|
},
|
||
|
"vscode": {
|
||
|
"languageId": "polyglot-notebook"
|
||
|
}
|
||
|
},
|
||
|
"outputs": [],
|
||
|
"source": [
|
||
|
"//设置包源\n",
|
||
|
"#i \"https://api.nuget.org/v3/index.json\"\n",
|
||
|
"\n",
|
||
|
"//引用包\n",
|
||
|
"#r \"nuget: Microsoft.EntityFrameworkCore\"\n",
|
||
|
"#r \"nuget: Microsoft.EntityFrameworkCore.SqlServer,7.0.5\"\n",
|
||
|
"#r \"nuget: Microsoft.EntityFrameworkCore.InMemory\"\n",
|
||
|
"#r \"nuget: Microsoft.EntityFrameworkCore.Sqlite\""
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"attachments": {},
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"## DbContext"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"metadata": {
|
||
|
"language_info": {
|
||
|
"name": "python"
|
||
|
},
|
||
|
"orig_nbformat": 4
|
||
|
},
|
||
|
"nbformat": 4,
|
||
|
"nbformat_minor": 2
|
||
|
}
|