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
7.5 KiB
JavaScript

12 months ago
"use strict";(self.webpackChunkfurion=self.webpackChunkfurion||[]).push([[7043],{5049:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>d,contentTitle:()=>t,default:()=>u,frontMatter:()=>o,metadata:()=>c,toc:()=>l});var i=n(5893),s=n(1151);const o={id:"reference",title:"2.7 \u624b\u52a8\u642d\u5efa\u5206\u5c42",sidebar_label:"2.7 \u624b\u52a8\u642d\u5efa\u5206\u5c42",description:"\u5b8c\u5168\u81ea\u5b9a\u4e49\u9879\u76ee\u5206\u5c42\u7ed3\u6784"},t=void 0,c={id:"reference",title:"2.7 \u624b\u52a8\u642d\u5efa\u5206\u5c42",description:"\u5b8c\u5168\u81ea\u5b9a\u4e49\u9879\u76ee\u5206\u5c42\u7ed3\u6784",source:"@site/docs/reference.mdx",sourceDirName:".",slug:"/reference",permalink:"/docs/reference",draft:!1,unlisted:!1,editUrl:"https://gitee.com/dotnetchina/Furion/tree/v4/handbook/docs/reference.mdx",tags:[],version:"current",lastUpdatedBy:"MonkSoul",lastUpdatedAt:1682387971,formattedLastUpdatedAt:"Apr 25, 2023",frontMatter:{id:"reference",title:"2.7 \u624b\u52a8\u642d\u5efa\u5206\u5c42",sidebar_label:"2.7 \u624b\u52a8\u642d\u5efa\u5206\u5c42",description:"\u5b8c\u5168\u81ea\u5b9a\u4e49\u9879\u76ee\u5206\u5c42\u7ed3\u6784"},sidebar:"docs",previous:{title:"2.6 \u5b98\u65b9\u811a\u624b\u67b6",permalink:"/docs/template"},next:{title:"2.8 \u795e\u5947\u7684 Inject",permalink:"/docs/inject"}},d={},l=[{value:"2.7.1 \u63a8\u8350\u5206\u5c42\u8bbe\u8ba1",id:"271-\u63a8\u8350\u5206\u5c42\u8bbe\u8ba1",level:2},{value:"2.7.2 \u96c6\u6210 <code>Furion</code> \u529f\u80fd",id:"272-\u96c6\u6210-furion-\u529f\u80fd",level:2},{value:"2.7.3 \u53cd\u9988\u4e0e\u5efa\u8bae",id:"273-\u53cd\u9988\u4e0e\u5efa\u8bae",level:2}];function a(e){const r={a:"a",admonition:"admonition",code:"code",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.admonition,{title:"\u63a8\u8350\u4f7f\u7528\u811a\u624b\u67b6",type:"tip",children:[(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.code,{children:"Furion"})," \u5b98\u65b9\u63d0\u4f9b\u4e86\u975e\u5e38\u7075\u6d3b\u65b9\u4fbf\u7684\u811a\u624b\u67b6\uff0c\u53ef\u4ee5\u5feb\u901f\u7684\u521b\u5efa\u591a\u5c42\u67b6\u6784\u9879\u76ee\u3002"]}),(0,i.jsxs)(r.p,{children:["\u63a8\u8350\u4f7f\u7528 \u300a",(0,i.jsx)(r.a,{href:"/docs/template",children:"2.6 \u5b98\u65b9\u811a\u624b\u67b6"}),"\u300b\u4ee3\u66ff\u672c\u7ae0\u8282\u529f\u80fd\u3002"]})]}),"\n",(0,i.jsx)(r.h2,{id:"271-\u63a8\u8350\u5206\u5c42\u8bbe\u8ba1",children:"2.7.1 \u63a8\u8350\u5206\u5c42\u8bbe\u8ba1"}),"\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.code,{children:"Furion"})," \u63a8\u8350\u91c7\u7528\u591a\u5c42\u9879\u76ee\u8bbe\u8ba1\u67b6\u6784\uff0c\u6bcf\u4e00\u4e2a\u9879\u76ee\u5c42\u7684\u4f9d\u8d56\u5206\u522b\u662f\uff1a"]}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:[(0,i.jsx)(r.code,{children:"YourName.Application"}),"\uff1a\u6dfb\u52a0 ",(0,i.jsx)(r.code,{children:"YourName.Core"})," \u5f15\u7528"]}),"\n",(0,i.jsxs)(r.li,{children:[(0,i.jsxs)(r.strong,{children:[(0,i.jsx)(r.code,{children:"YourName.Core"}),"\uff1a\u6dfb\u52a0 ",(0,i.jsx)(r.code,{children:"Furion"})," \u5f15\u7528"]}),"\uff0c",(0,i.jsxs)(r.strong,{children:["SqlSugar \u7248\u672c\u6dfb\u52a0 ",(0,i.jsx)(r.code,{children:"Furion.Pure"})]})," \ud83c\udf97"]}),"\n",(0,i.jsxs)(r.li,{children:[(0,i.jsx)(r.code,{children:"YourName.Database.Migrations"}),"\uff1a\u6dfb\u52a0 ",(0,i.jsx)(r.code,{children:"YourName.EntityFramework.Core"})," \u5f15\u7528"]}),"\n",(0,i.jsxs)(r.li,{children:[(0,i.jsx)(r.code,{children:"YourName.EntityFramework.Core"}),"\uff1a\u6dfb\u52a0 ",(0,i.jsx)(r.code,{children:"YourName.Core"})," \u5f15\u7528"]}),"\n",(0,i.jsxs)(r.li,{children:[(0,i.jsx)(r.code,{children:"YourName.Web.Core"}),"\uff1a\u6dfb\u52a0 ",(0,i.jsx)(r.code,{children:"YourName.Application"}),"\uff0c",(0,i.jsx)(r.code,{children:"YourName.Database.Migrations"})," \u5f15\u7528"]}),"\n",(0,i.jsx)(r.li,{children:(0,i.jsxs)(r.strong,{children:[(0,i.jsx)(r.code,{children:"YourName.Web.Entry"}),"\uff1a\u6dfb\u52a0 ",(0,i.jsx)(r.code,{children:"YourName.Web.Core"})," \u5f15\u7528 \u548c ",(0,i.jsx)(r.code,{childre