cwp47.htm

来自「Perst开源实时数据库」· HTM 代码 · 共 85 行

HTM
85
字号
<!-- saved from url=(0007)http:// -->
<HTML><HEAD><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><TITLE>Perst.Database.ExcludeFromIndex</TITLE><LINK REL=STYLESHEET HREF="../CommentReport.css" TYPE="text/css"></HEAD><BODY topmargin=0 rightmargin=0 leftmargin=0 style="background-image: url(../titletile.jpg); background-repeat:repeat-x; background-position: 0 0;" ><DIV CLASS="PageHeading">Perst.Database.ExcludeFromIndex Function</DIV><DIV CLASS="Description">
<p>
Exclude record from specified index. This method is needed to perform update of indexed
field (key). Before updating the record, it is necessary to exclude it from indices
which keys are affected. After updating the field, record should be reinserted in these indices
using includeInIndex method.</p><p>
If there is not table associated with class of this object, then 
database will search for table associated with superclass and so on...</p><p>
This method does nothing if there is no index for the specified field.
</p><P></DIV><IMG src="../GradLeft.jpg" width=7 height=378 alt="" border="0" style="position:absolute; left:10; top:18;z-Index:2"><IMG src="../GradTop.jpg" width=352 height=7 alt="" border="0" align="top" style="position:absolute; left:10; top:18; z-index:1"><DIV CLASS="Remarks"><SPAN CLASS="RemarkHdrX">Public bool ExcludeFromIndex (System.Type, Perst.IPersistent, string)</SPAN></DIV><TABLE CLASS="InfoTable" cellpadding=0 cellspacing=0><TR height=20><TD width=20>&nbsp;</TD><TD valign=top align=left width=9 bgcolor="#cccc66"><IMG SRC="../graycorner.jpg" align=top></TD><TD CLASS="TableLightLabel" >Type</TD><TD CLASS="TableLightLabel" >Name</TD><TD CLASS="TableLightLabel" >Description</TD><TD width=20>&nbsp;</TD></TR><TR height=20><TD width=20>&nbsp;</TD><TD CLASS="TableLightDesc">&nbsp;</TD><TD CLASS="TableLightDesc">System.Type</TD><TD CLASS="TableLightDesc">table</TD><TD CLASS="TableLightDesc">class corresponding to the table
</TD><TD width=20>&nbsp;</TD></TR><TR height=20><TD width=20>&nbsp;</TD><TD CLASS="TableLightDesc">&nbsp;</TD><TD CLASS="TableLightDesc"><A HREF="CWP5.HTM">IPersistent</A></TD><TD CLASS="TableLightDesc">record</TD><TD CLASS="TableLightDesc">object to be excluded from the specified index
</TD><TD width=20>&nbsp;</TD></TR><TR height=20><TD width=20>&nbsp;</TD><TD CLASS="TableLightDesc">&nbsp;</TD><TD CLASS="TableLightDesc">string</TD><TD CLASS="TableLightDesc">key</TD><TD CLASS="TableLightDesc">name of the indexed field
</TD><TD width=20>&nbsp;</TD></TR></TABLE><TABLE CLASS="InfoTable" cellpadding=0 cellspacing=0><TR height=20><TD width=20>&nbsp;</TD><TD valign=top align=left width=9 bgcolor="#cccc66"><IMG SRC="../graycorner.jpg" align=top></TD><TD CLASS="TableLightLabel" WIDTH=206>Return</TD><TD CLASS="TableLightLabel" >Description</TD><TD width=20>&nbsp;</TD></TR><TR height=20><TD width=20>&nbsp;</TD><TD CLASS="TableLightDesc">&nbsp;</TD><TD CLASS="TableLightDesc">bool</TD><TD CLASS="TableLightDesc"> <code>true</code> if record is excluded from index, <code>false</code> if 
there is no such index
<P></TD><TD width=20>&nbsp;</TD></TR></TABLE><DIV CLASS="RemarkHdr"><B>Other overloads:</B><BR></DIV><DIV CLASS="Remarks">Perst.Database.ExcludeFromIndex(IPersistent,e)</DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?