📄 n层设计基础续.htm
字号:
</O:P></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-font-kerning: 8.0pt; mso-fareast-language: ZH-CN"> <O:P>
</O:P></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US style="LETTER-SPACING: 0.3pt"><!--[if gte vml 1]><V:SHAPE id=_x0000_i1026
style="WIDTH: 202.5pt; HEIGHT: 163.5pt" o:borderrightcolor="gray"
o:borderbottomcolor="gray" o:borderleftcolor="gray" o:bordertopcolor="gray"
o:ole="" type="#_x0000_t75"><V:IMAGEDATA o:title=""
src="file:///C:/temp/msoclip1/01/clip_image003.wmz" /><W:BORDERTOP type="single"
width="6" /><W:BORDERLEFT type="single" width="6" /><W:BORDERBOTTOM
type="single" width="6" /><W:BORDERRIGHT type="single" width="6" /></V:SHAPE><![endif]--><IMG height=220 src="N层设计基础续.files/STA-B82.gif"
width=272 v:shapes="_x0000_i1026"><!--[if gte mso 9]><xml> <o:OLEObject Type="Embed" ProgID="Word.Document.8" ShapeID="_x0000_i1026" DrawAspect="Content" ObjectID="_1043060779"> </o:OLEObject></xml><![endif]-->
<SPAN style="mso-font-kerning: 8.0pt"><O:P></O:P></SPAN></SPAN></P>
<P class=MsoNormal><I style="mso-bidi-font-style: normal"><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">图</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">2</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、基本模式</SPAN><SPAN
lang=EN-US
style="FONT-FAMILY: Monotype Sorts; LETTER-SPACING: 0.3pt; mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman; mso-char-type: symbol; mso-symbol-font-family: Monotype Sorts">¹</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的初步修正</SPAN></I><SPAN
lang=EN-US style="LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN"><O:P>
</O:P></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN"> <O:P>
</O:P></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN; mso-spacerun: yes">
</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">将原来的</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">Account</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">改名为</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">AccPersist</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">会更明显表示出其负责存取数据库的角色。将原来的</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">AccounX</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">改名为</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">Account</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">更明确对应到企业领域</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">(domain)</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">里的「帐户」概念</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">(concept)</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。</SPAN><SPAN
lang=EN-US style="LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN"><O:P>
</O:P></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN; mso-spacerun: yes">
</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">这样的名称改变,表示观点</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">(view)</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">有所改变。在原来的<SPAN
style="mso-font-kerning: 8.0pt">模式</SPAN></SPAN><SPAN lang=EN-US
style="FONT-FAMILY: Monotype Sorts; LETTER-SPACING: 0.3pt; mso-font-kerning: 8.0pt; mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman; mso-char-type: symbol; mso-symbol-font-family: Monotype Sorts">¹</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-font-kerning: 8.0pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">里,</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">将</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">persist</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">对象取名为</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">Account</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,就意味着以</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">persist</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">对象为重心。企业对象</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">(business
object) ----- AccountX</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">与</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">DB</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">表格只是担任辅佐</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">persist</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">对象,替</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">persist</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">对象保管其状态值</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">(state)</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">罢了。</SPAN><SPAN
lang=EN-US style="LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN"><O:P>
</O:P></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN; mso-spacerun: yes">
</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">现在将企业对象改名为</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">Account</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,就意味着以企业对象为重心,</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">persist</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">对象只是把企业对象的状态存入</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">DB</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">表格里而已。因此</SPAN><SPAN
lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">persist</SPAN><SPAN
style="FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">对象是反过来辅佐企业对象的。</SPAN><SPAN
lang=EN-US style="LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN"><O:P>
</O:P></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN"><SPAN
style="mso-spacerun: yes"> </SPAN><O:P></O:P></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US
style="LETTER-SPACING: 0.3pt; mso-fareast-language: ZH-CN"> <O:P>
</O:P></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 6pt"><B
style="mso-bidi-font-weight: normal"><I
style="mso-bidi-font-style: normal"><SPAN
style="FONT-SIZE: 18pt; FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-bidi-font-size: 10.0pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">进阶模式</SPAN></I></B><B
style="mso-bidi-font-weight: normal"><I
style="mso-bidi-font-style: normal"><SPAN lang=EN-US
style="FONT-SIZE: 18pt; FONT-FAMILY: Monotype Sorts; LETTER-SPACING: 0.3pt; mso-bidi-font-size: 10.0pt; mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman; mso-char-type: symbol; mso-symbol-font-family: Monotype Sorts">»</SPAN></I></B><SPAN
lang=EN-US
style="FONT-SIZE: 18pt; LETTER-SPACING: 0.3pt; mso-bidi-font-size: 10.0pt; mso-fareast-language: ZH-CN"><O:P>
</O:P></SPAN></P>
<P class=MsoNormal><U><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-bidi-font-size: 10.0pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">●同时使用多个</SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 12pt; LETTER-SPACING: 0.3pt; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: 宋体; mso-fareast-language: ZH-CN">stateful</SPAN><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; LETTER-SPACING: 0.3pt; mso-bidi-font-size: 10.0pt; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">对象</SPAN></U><SPAN
lang=EN-US
style="FONT-SIZE: 12pt; LETTER-SPACING: 0.3pt; mso-bidi-font-size: 10.0pt; mso-fareast-language: ZH-CN"><O:P>
</O:P></SPAN></P>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -