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.
1 line
55 KiB
JavaScript
1 line
55 KiB
JavaScript
1 year ago
|
"use strict";(self.webpackChunkfurion=self.webpackChunkfurion||[]).push([[969],{1971:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>h,frontMatter:()=>t,metadata:()=>l,toc:()=>x});var o=r(5893),s=r(1151),i=r(510);const t={id:"dbcontext",title:"9.2 \u6570\u636e\u5e93\u4e0a\u4e0b\u6587",sidebar_label:"9.2 \u6570\u636e\u5e93\u4e0a\u4e0b\u6587"},c=void 0,l={id:"dbcontext",title:"9.2 \u6570\u636e\u5e93\u4e0a\u4e0b\u6587",description:"\ud83d\udcdd \u6a21\u5757\u66f4\u65b0\u65e5\u5fd7",source:"@site/docs/dbcontext.mdx",sourceDirName:".",slug:"/dbcontext",permalink:"/docs/dbcontext",draft:!1,unlisted:!1,editUrl:"https://gitee.com/dotnetchina/Furion/tree/v4/handbook/docs/dbcontext.mdx",tags:[],version:"current",lastUpdatedBy:"\u767e\u5c0f\u50e7",lastUpdatedAt:1700452315,formattedLastUpdatedAt:"Nov 20, 2023",frontMatter:{id:"dbcontext",title:"9.2 \u6570\u636e\u5e93\u4e0a\u4e0b\u6587",sidebar_label:"9.2 \u6570\u636e\u5e93\u4e0a\u4e0b\u6587"},sidebar:"docs",previous:{title:"9.1 \u5165\u95e8\u7b80\u8981 \u2728",permalink:"/docs/dbcontext-start"},next:{title:"9.3 \u6570\u636e\u5e93\u4e0a\u4e0b\u6587\u5b9a\u4f4d\u5668",permalink:"/docs/dbcontext-locator"}},d={},x=[{value:"9.2.1 \u6570\u636e\u5e93\u4e0a\u4e0b\u6587",id:"921-\u6570\u636e\u5e93\u4e0a\u4e0b\u6587",level:2},{value:"9.2.2 <code>AppDbContext</code>",id:"922-appdbcontext",level:2},{value:"9.2.3 <code>AppDbContext</code> \u548c <code>DbContext</code> \u533a\u522b",id:"923-appdbcontext-\u548c-dbcontext-\u533a\u522b",level:2},{value:"9.2.4 \u5982\u4f55\u5b9a\u4e49\u6570\u636e\u5e93\u4e0a\u4e0b\u6587",id:"924-\u5982\u4f55\u5b9a\u4e49\u6570\u636e\u5e93\u4e0a\u4e0b\u6587",level:2},{value:"9.2.4.1 \u521b\u5efa\u9ed8\u8ba4\u6570\u636e\u5e93\u4e0a\u4e0b\u6587",id:"9241-\u521b\u5efa\u9ed8\u8ba4\u6570\u636e\u5e93\u4e0a\u4e0b\u6587",level:3},{value:"9.2.4.2 \u521b\u5efa\u5176\u4ed6\u6570\u636e\u5e93\u4e0a\u4e0b\u6587",id:"9242-\u521b\u5efa\u5176\u4ed6\u6570\u636e\u5e93\u4e0a\u4e0b\u6587",level:3},{value:"9.2.5 \u914d\u7f6e\u8fde\u63a5\u5b57\u7b26\u4e32",id:"925-\u914d\u7f6e\u8fde\u63a5\u5b57\u7b26\u4e32",level:2},{value:"9.2.5.1 \u5728\u6ce8\u518c\u6570\u636e\u5e93\u670d\u52a1\u65f6\u914d\u7f6e",id:"9251-\u5728\u6ce8\u518c\u6570\u636e\u5e93\u670d\u52a1\u65f6\u914d\u7f6e",level:3},{value:"9.2.5.2 <code>[AppDbContext]</code> \u65b9\u5f0f\u914d\u7f6e",id:"9252-appdbcontext-\u65b9\u5f0f\u914d\u7f6e",level:3},{value:"9.2.5.3 <code>OnConfiguring</code> \u65b9\u5f0f\u914d\u7f6e",id:"9253-onconfiguring-\u65b9\u5f0f\u914d\u7f6e",level:3},{value:"9.2.5.4 \u5404\u7c7b\u6570\u636e\u5e93\u8fde\u63a5\u5b57\u7b26\u4e32\u914d\u7f6e\u793a\u4f8b",id:"9254-\u5404\u7c7b\u6570\u636e\u5e93\u8fde\u63a5\u5b57\u7b26\u4e32\u914d\u7f6e\u793a\u4f8b",level:3},{value:"9.2.6 \u6570\u636e\u5e93\u4e0a\u4e0b\u6587\u5b9a\u4e49\u4f4d\u7f6e",id:"926-\u6570\u636e\u5e93\u4e0a\u4e0b\u6587\u5b9a\u4e49\u4f4d\u7f6e",level:2},{value:"9.2.7 \u6570\u636e\u5e93\u4e0a\u4e0b\u6587\u6ce8\u518c",id:"927-\u6570\u636e\u5e93\u4e0a\u4e0b\u6587\u6ce8\u518c",level:2},{value:"9.2.8 \u81ea\u5b9a\u4e49\u9ad8\u7ea7\u6ce8\u518c",id:"928-\u81ea\u5b9a\u4e49\u9ad8\u7ea7\u6ce8\u518c",level:2},{value:"9.2.9 \u52a8\u6001\u6570\u636e\u5e93\u4e0a\u4e0b\u6587\u5bf9\u8c61",id:"929-\u52a8\u6001\u6570\u636e\u5e93\u4e0a\u4e0b\u6587\u5bf9\u8c61",level:2},{value:"9.2.10 \u5728\u540e\u53f0\u4efb\u52a1\u4e2d\u4f7f\u7528",id:"9210-\u5728\u540e\u53f0\u4efb\u52a1\u4e2d\u4f7f\u7528",level:2},{value:"9.2.11 <code>AppDbContext</code> \u5168\u5c40\u914d\u7f6e\u5c5e\u6027",id:"9211-appdbcontext-\u5168\u5c40\u914d\u7f6e\u5c5e\u6027",level:2},{value:"9.2.12 \u914d\u7f6e\u5b9e\u4f53 <code>\u61d2\u52a0\u8f7d</code>",id:"9212-\u914d\u7f6e\u5b9e\u4f53-\u61d2\u52a0\u8f7d",level:2},{value:"9.2.13 <code>Db</code> \u9759\u6001\u7c7b\u83b7\u53d6\u4e0a\u4e0b\u6587",id:"9213-db-\u9759\u6001\u7c7b\u83b7\u53d6\u4e0a\u4e0b\u6587",level:2},{value:"9.2.14 \u53cd\u9988\u4e0e\u5efa\u8bae",id:"9214-\u53cd\u9988\u4e0e\u5efa\u8bae",level:2}];function a(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul"
|