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
14 KiB
JavaScript
1 line
14 KiB
JavaScript
1 year ago
|
"use strict";(self.webpackChunkfurion=self.webpackChunkfurion||[]).push([[5809],{9447:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>h,frontMatter:()=>i,metadata:()=>d,toc:()=>l});var r=n(5893),s=n(1151);const i={id:"dbcontext-batch",title:"9.10 \u6279\u91cf\u64cd\u4f5c",sidebar_label:"9.10 \u6279\u91cf\u64cd\u4f5c"},o=void 0,d={id:"dbcontext-batch",title:"9.10 \u6279\u91cf\u64cd\u4f5c",description:"9.10.1 \u5173\u4e8e\u6279\u91cf\u64cd\u4f5c",source:"@site/docs/dbcontext-batch.mdx",sourceDirName:".",slug:"/dbcontext-batch",permalink:"/docs/dbcontext-batch",draft:!1,unlisted:!1,editUrl:"https://gitee.com/dotnetchina/Furion/tree/v4/handbook/docs/dbcontext-batch.mdx",tags:[],version:"current",lastUpdatedBy:"MonkSoul",lastUpdatedAt:1682389320,formattedLastUpdatedAt:"Apr 25, 2023",frontMatter:{id:"dbcontext-batch",title:"9.10 \u6279\u91cf\u64cd\u4f5c",sidebar_label:"9.10 \u6279\u91cf\u64cd\u4f5c"},sidebar:"docs",previous:{title:"9.9 \u5220\u9664\u64cd\u4f5c",permalink:"/docs/dbcontext-delete"},next:{title:"9.11 \u67e5\u8be2\u64cd\u4f5c",permalink:"/docs/dbcontext-query"}},c={},l=[{value:"9.10.1 \u5173\u4e8e\u6279\u91cf\u64cd\u4f5c",id:"9101-\u5173\u4e8e\u6279\u91cf\u64cd\u4f5c",level:2},{value:"9.10.2 <code>Zack.EFCore.Batch</code> \u4f7f\u7528",id:"9102-zackefcorebatch-\u4f7f\u7528",level:2},{value:"9.10.2.1 \u5b89\u88c5\u5bf9\u5e94\u7684\u6570\u636e\u5e93 <code>NuGet</code> \u5305",id:"91021-\u5b89\u88c5\u5bf9\u5e94\u7684\u6570\u636e\u5e93-nuget-\u5305",level:3},{value:"9.10.2.2 \u6ce8\u518c\u5e76\u914d\u7f6e\u670d\u52a1",id:"91022-\u6ce8\u518c\u5e76\u914d\u7f6e\u670d\u52a1",level:3},{value:"9.10.2.3 \u57fa\u672c\u4f7f\u7528",id:"91023-\u57fa\u672c\u4f7f\u7528",level:3},{value:"9.10.3 <code>EFCore.BulkExtensions</code> \u4f7f\u7528",id:"9103-efcorebulkextensions-\u4f7f\u7528",level:2},{value:"9.10.3.1 \u5e38\u89c1\u6279\u91cf\u64cd\u4f5c",id:"91031-\u5e38\u89c1\u6279\u91cf\u64cd\u4f5c",level:3},{value:"9.10.3.2 \u67e5\u8be2\u540e\u6279\u91cf\u64cd\u4f5c",id:"91032-\u67e5\u8be2\u540e\u6279\u91cf\u64cd\u4f5c",level:3},{value:"9.10.3.3 \u6279\u91cf\u64cd\u4f5c\u6027\u80fd",id:"91033-\u6279\u91cf\u64cd\u4f5c\u6027\u80fd",level:3},{value:"9.10.4 <code>EFCore 7</code> \u5185\u7f6e\u6279\u91cf\u64cd\u4f5c",id:"9104-efcore-7-\u5185\u7f6e\u6279\u91cf\u64cd\u4f5c",level:2},{value:"9.10.5 \u53cd\u9988\u4e0e\u5efa\u8bae",id:"9105-\u53cd\u9988\u4e0e\u5efa\u8bae",level:2}];function a(e){const t={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",mdxAdmonitionTitle:"mdxAdmonitionTitle",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h2,{id:"9101-\u5173\u4e8e\u6279\u91cf\u64cd\u4f5c",children:"9.10.1 \u5173\u4e8e\u6279\u91cf\u64cd\u4f5c"}),"\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.code,{children:"Furion"})," \u6846\u67b6\u4e2d\uff0c\u9ed8\u8ba4\u53ea\u63d0\u4f9b\u5c0f\u6570\u636e\uff08100 \u6761 \u4ee5\u5185\uff09\u6279\u91cf\u6570\u636e\u64cd\u4f5c\uff0c\u5982\u679c\u9700\u8981\u66f4\u5927\u7684\u6570\u636e\u6279\u91cf\u5904\u7406\uff0c\u63a8\u8350\u4f7f\u7528\u7b2c\u4e09\u65b9\u5305 ",(0,r.jsx)(t.a,{href:"https://github.com/yangzhongke/Zack.EFCore.Batch",children:"Zack.EFCore.Batch"}),"\uff0c\u652f\u6301\u548c ",(0,r.jsx)(t.code,{children:"Furion"})," \u65e0\u7f1d\u8854\u63a5\u3002"]}),"\n",(0,r.jsxs)(t.h2,{id:"9102-zackefcorebatch-\u4f7f\u7528",children:["9.10.2 ",(0,r.jsx)(t.code,{children:"Zack.EFCore.Batch"})," \u4f7f\u7528"]}),"\n",(0,r.jsxs)(t.admonition,{type:"important",children:[(0,r.jsxs)(t.mdxAdmonitionTitle,{children:[(0,r.jsx)(t.code,{children:"EFCore"})," \u62e6\u622a\u5668\u8bf4\u660e"]}),(0,r.jsxs)(t.p,{children:["\u4f7f\u7528\u8be5\u7b2c\u4e09\u65b9\u62d3\u5c55\u5e93\u53ef\u80fd\u4e0d\u4f1a\u89e6\u53d1 ",(0,r.jsx)(t.code,{children:"EFCore"})," \u7684\u62e6\u622a\u5668\uff0c\u5982 ",(0,r.jsx)(t.code,{children:"DbCommandInterceptor"}),"\uff0c",(0,r.jsx)(t.code,{children:"SaveChangesInterceptor"}),"\u3002"]})]}),"\n",(0,r.jsxs)(t.h3,{id:"910
|