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
82 KiB
JavaScript
1 line
82 KiB
JavaScript
12 months ago
|
"use strict";(self.webpackChunkfurion=self.webpackChunkfurion||[]).push([[5869],{4838:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>x,contentTitle:()=>o,default:()=>p,frontMatter:()=>a,metadata:()=>h,toc:()=>j});var r=i(5893),s=i(1151),l=i(510),d=i(4996),t=i(4866),c=i(5162);const a={id:"data-validation",title:"8. \u6570\u636e\u6821\u9a8c",sidebar_label:"8. \u6570\u636e\u6821\u9a8c"},o=void 0,h={id:"data-validation",title:"8. \u6570\u636e\u6821\u9a8c",description:"\ud83d\udcdd \u6a21\u5757\u66f4\u65b0\u65e5\u5fd7",source:"@site/docs/data-validation.mdx",sourceDirName:".",slug:"/data-validation",permalink:"/docs/data-validation",draft:!1,unlisted:!1,editUrl:"https://gitee.com/dotnetchina/Furion/tree/v4/handbook/docs/data-validation.mdx",tags:[],version:"current",lastUpdatedBy:"\u767e\u5c0f\u50e7",lastUpdatedAt:1693503874,formattedLastUpdatedAt:"Aug 31, 2023",frontMatter:{id:"data-validation",title:"8. \u6570\u636e\u6821\u9a8c",sidebar_label:"8. \u6570\u636e\u6821\u9a8c"},sidebar:"docs",previous:{title:"7. \u53cb\u597d\u5f02\u5e38\u5904\u7406",permalink:"/docs/friendly-exception"},next:{title:"9. \u6570\u636e\u5e93\u64cd\u4f5c\u6307\u5357\uff08EFCore\uff09",permalink:"/docs/category/efcore"}},x={},j=[{value:"8.1 \u5173\u4e8e\u6570\u636e\u6821\u9a8c",id:"81-\u5173\u4e8e\u6570\u636e\u6821\u9a8c",level:2},{value:"8.2 \u6570\u636e\u6821\u9a8c\u7684\u597d\u5904",id:"82-\u6570\u636e\u6821\u9a8c\u7684\u597d\u5904",level:2},{value:"8.3 \u6570\u636e\u6821\u9a8c\u65b9\u5f0f",id:"83-\u6570\u636e\u6821\u9a8c\u65b9\u5f0f",level:2},{value:"8.3.1 \u4f20\u7edf\u65b9\u5f0f",id:"831-\u4f20\u7edf\u65b9\u5f0f",level:3},{value:"8.3.2 <code>Mvc</code> \u7279\u6027\u65b9\u5f0f",id:"832-mvc-\u7279\u6027\u65b9\u5f0f",level:3},{value:"8.4 <code>DataValidation</code> \u9a8c\u8bc1 \ud83e\udd17",id:"84-datavalidation-\u9a8c\u8bc1-",level:2},{value:"8.4.1 <code>DataValidation</code> \u4f18\u70b9",id:"841-datavalidation-\u4f18\u70b9",level:3},{value:"8.5 <code>DataValidation</code> \u4f7f\u7528",id:"85-datavalidation-\u4f7f\u7528",level:2},{value:"8.5.1 \u6ce8\u518c\u9a8c\u8bc1\u670d\u52a1",id:"851-\u6ce8\u518c\u9a8c\u8bc1\u670d\u52a1",level:3},{value:"8.5.2 \u517c\u5bb9 <code>Mvc</code> \u7279\u6027\u9a8c\u8bc1",id:"852-\u517c\u5bb9-mvc-\u7279\u6027\u9a8c\u8bc1",level:3},{value:"8.5.3 \u517c\u5bb9 <code>Mvc</code> \u590d\u6742\u9a8c\u8bc1",id:"853-\u517c\u5bb9-mvc-\u590d\u6742\u9a8c\u8bc1",level:3},{value:"8.6 \u624b\u52a8\u9a8c\u8bc1",id:"86-\u624b\u52a8\u9a8c\u8bc1",level:2},{value:"8.6.1 \u9a8c\u8bc1\u6a21\u578b",id:"861-\u9a8c\u8bc1\u6a21\u578b",level:3},{value:"8.6.2 <code>TryValidate</code> \u548c <code>Validate</code>",id:"862-tryvalidate-\u548c-validate",level:3},{value:"8.6.3 <code>ValidationTypes</code> \u5e38\u89c1\u9a8c\u8bc1",id:"863-validationtypes-\u5e38\u89c1\u9a8c\u8bc1",level:3},{value:"8.6.4 <code>[DataValidation]</code> \u7279\u6027",id:"864-datavalidation-\u7279\u6027",level:3},{value:"8.6.5 <code>[ModelBinder]</code> \u7279\u6027",id:"865-modelbinder-\u7279\u6027",level:3},{value:"8.7 <code>[NonValidation]</code> \u8df3\u8fc7\u9a8c\u8bc1",id:"87-nonvalidation-\u8df3\u8fc7\u9a8c\u8bc1",level:2},{value:"8.8 \u9ad8\u7ea7\u81ea\u5b9a\u4e49\u64cd\u4f5c",id:"88-\u9ad8\u7ea7\u81ea\u5b9a\u4e49\u64cd\u4f5c",level:2},{value:"8.8.1 \u81ea\u5b9a\u4e49 <code>ValidationTypes</code> \u7c7b\u578b",id:"881-\u81ea\u5b9a\u4e49-validationtypes-\u7c7b\u578b",level:3},{value:"8.8.2 \u81ea\u5b9a\u4e49 <code>ValidationTypes</code> \u5931\u8d25\u6d88\u606f",id:"882-\u81ea\u5b9a\u4e49-validationtypes-\u5931\u8d25\u6d88\u606f",level:3},{value:"\u9519\u8bef\u6d88\u606f\u67e5\u627e\u4f18\u5148\u7ea7",id:"\u9519\u8bef\u6d88\u606f\u67e5\u627e\u4f18\u5148\u7ea7",level:4},{value:"8.9 \u6a21\u578b\u9a8c\u8bc1\u8303\u56f4",id:"89-\u6a21\u578b\u9a8c\u8bc1\u8303\u56f4",level:2},{value:"8.9.1 \u5168\u5c40\u9a8c\u8bc1",id:"891-\u5168\u5c40\u9a8c\u8bc1",level:3},{value:"8.9.2 <code>[NonValidation]</code> \u8df3\u8fc7\u9a8c\u8bc1",id:"892-nonvalidation-\u8df3\u8fc7\u9a8c\u8bc1",level:3},{value:"8.9.3 <code>[TypeFilter(typeof(DataValidationFilter))]</code> \u5c40\u90e8\u9a8c\u8bc1",
|