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
25 KiB
JavaScript
1 line
25 KiB
JavaScript
1 year ago
|
"use strict";(self.webpackChunkfurion=self.webpackChunkfurion||[]).push([[3533],{4279:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>o,default:()=>p,frontMatter:()=>a,metadata:()=>l,toc:()=>d});var r=t(5893),s=t(1151),i=t(510);const a={id:"dbcontext-entitytrigger",title:"9.26 \u5b9e\u4f53\u6570\u636e\u76d1\u542c\u5668",sidebar_label:"9.26 \u5b9e\u4f53\u6570\u636e\u76d1\u542c\u5668"},o=void 0,l={id:"dbcontext-entitytrigger",title:"9.26 \u5b9e\u4f53\u6570\u636e\u76d1\u542c\u5668",description:"\ud83d\udcdd \u6a21\u5757\u66f4\u65b0\u65e5\u5fd7",source:"@site/docs/dbcontext-entitytrigger.mdx",sourceDirName:".",slug:"/dbcontext-entitytrigger",permalink:"/docs/dbcontext-entitytrigger",draft:!1,unlisted:!1,editUrl:"https://gitee.com/dotnetchina/Furion/tree/v4/handbook/docs/dbcontext-entitytrigger.mdx",tags:[],version:"current",lastUpdatedBy:"MonkSoul",lastUpdatedAt:1682389320,formattedLastUpdatedAt:"Apr 25, 2023",frontMatter:{id:"dbcontext-entitytrigger",title:"9.26 \u5b9e\u4f53\u6570\u636e\u76d1\u542c\u5668",sidebar_label:"9.26 \u5b9e\u4f53\u6570\u636e\u76d1\u542c\u5668"},sidebar:"docs",previous:{title:"9.25 \u6570\u636e\u5e93\u64cd\u4f5c\u62e6\u622a\u5668",permalink:"/docs/dbcontext-Interceptor"},next:{title:"9.27 \u4e8b\u52a1\u548c\u5de5\u4f5c\u5355\u5143 (UnitOfWork)",permalink:"/docs/tran"}},c={},d=[{value:"9.26.1 \u5b9e\u4f53\u6570\u636e\u76d1\u542c\u5668",id:"9261-\u5b9e\u4f53\u6570\u636e\u76d1\u542c\u5668",level:2},{value:"9.26.2 \u6709\u4f55\u4f5c\u7528",id:"9262-\u6709\u4f55\u4f5c\u7528",level:2},{value:"9.26.3 \u5982\u4f55\u4f7f\u7528",id:"9263-\u5982\u4f55\u4f7f\u7528",level:2},{value:"9.26.3.1 \u542f\u7528\u6570\u636e\u76d1\u542c",id:"92631-\u542f\u7528\u6570\u636e\u76d1\u542c",level:3},{value:"9.26.3.2 \u76d1\u542c\u7279\u5b9a\u5b9e\u4f53\u6570\u636e",id:"92632-\u76d1\u542c\u7279\u5b9a\u5b9e\u4f53\u6570\u636e",level:3},{value:"9.26.4 <code>IEntityChangedListener</code> \u5b9a\u4e49",id:"9264-ientitychangedlistener-\u5b9a\u4e49",level:2},{value:"9.26.5 <code>[SuppressChangedListener]</code> \u8df3\u8fc7\u76d1\u542c",id:"9265-suppresschangedlistener-\u8df3\u8fc7\u76d1\u542c",level:2},{value:"9.26.6 \u53cd\u9988\u4e0e\u5efa\u8bae",id:"9266-\u53cd\u9988\u4e0e\u5efa\u8bae",level:2}];function h(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,s.a)(),...e.components},{Details:t}=n;return t||function(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t,{children:[(0,r.jsx)("summary",{children:"\ud83d\udcdd \u6a21\u5757\u66f4\u65b0\u65e5\u5fd7"}),(0,r.jsx)("div",{children:(0,r.jsx)("div",{children:(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"\u95ee\u9898\u4fee\u590d"})}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\xa0",(0,r.jsx)(i.Z,{children:"\u4fee\u590d"})," ",(0,r.jsx)(n.code,{children:"EFCore"})," \u5b9e\u4f53\u76d1\u542c\u5668 ",(0,r.jsx)(n.code,{children:"IEntityChangedListener"})," \u95ee\u9898 ",(0,r.jsx)("sup",{children:"4.8.1.7"})," ",(0,r.jsx)("sup",{children:"\u23f1\ufe0f2022.11.26"})," ",(0,r.jsx)(n.a,{href:"https://gitee.com/dotnetchina/Furion/issues/I61CTI",children:"#I61CTI"})]}),"\n"]}),"\n"]}),"\n"]})})})]}),"\n",(0,r.jsx)(n.h2,{id:"9261-\u5b9e\u4f53\u6570\u636e\u76d1\u542c\u5668",children:"9.26.1 \u5b9e\u4f53\u6570\u636e\u76d1\u542c\u5668"}),"\n",(0,r.jsxs)(n.p,{children:["\u5728\u6700\u65b0\u7684 ",(0,r.jsx)(n.code,{children:"Furion"})," \u7684 ",(0,r.jsx)(n.code,{children:"1.1.6+"})," \u7248\u672c\u4e2d\uff0c\u65b0\u589e\u4e86 ",(0,r.jsx)(n.code,{children:"IEntityChangedListener"})," \u5b9e\u4f53\u6570\u636e\u76d1\u542c\u63a5\u53e3\uff0c\u53ef\u4ee5\u76d1\u542c ",(0,r.jsx)(n.code,{children:"EFCore"})," \u4efb\u4f55\u5b9e\u4f53\u8868 ",(0,r.jsx)(n.code,{children:"\u589e\u5220\u6539"})," \u64cd\u4f5c\u3002"]}),"\n",(0,r.jsx)(n.h2,{id:"9262-\u6709\u4f55\u4f5c\u7528",children:"9.26.2 \u6709\
|