Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 864d1c3c3cd8df4e3a2692faf8776e05 > files > 1169

db4o-doc-7.4-2.fc13.i686.rpm

<html>
  <head>
    <META http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>ObjectField Configuration</title>
    <link rel="stylesheet" type="text/css" href="../../../style.css">
  </head>
  <body>
    <div class="CommonContent">
      <div class="CommonContentArea">
        <h1>ObjectField Configuration</h1>

<p>ObjectField/IObjectField is an
interface providing configuration methods for class fields. ObjectField
instance can be obtained through:</p>



<span name="cs_wiki_filter" csw_filters="net">

<p>.NET:</p><p><code>IObjectField of =
Db4oFactory.Configure().ObjectClass(clazz).ObjectField("fieldName");</code></p>

</span>

<p><br></p>



<span name="cs_wiki_filter" csw_filters="net">

<p>.NET:</p><p><code>public void
CascadeOnActivate(bool flag);</code></p>

</span>

<p>sets cascaded activation behavior.
For more information see <a href="../../object_lifecycle/activation.html" class="wikiLink">Activation</a>.</p>

<p><br></p>



<span name="cs_wiki_filter" csw_filters="net">

<p>.NET:</p><p><code>public void
CascadeOnDelete(bool flag);</code></p>

</span>

<p>sets cascaded delete behavior. For
more information see <a href="../../object_lifecycle/delete_behavior.html" class="wikiLink">Delete Behavior</a>.</p>

<p><br></p>



<span name="cs_wiki_filter" csw_filters="net">

<p>.NET:</p><p><code>public void
CascadeOnUpdate(bool flag);</code></p>

</span>

<p>sets cascaded update behavior. For
more information see <a href="../../object_lifecycle/update_depth.html" class="wikiLink">Update Depth</a>.</p>

<p><br></p>



<span name="cs_wiki_filter" csw_filters="net">

<p>.NET:</p><p><code>public void Indexed(bool
flag);</code></p>

</span>

<p>turns indexing on or off. For more
information see <a href="../indexing.html" class="wikiLink">Indexing</a>.</p>

<p><br></p>



<span name="cs_wiki_filter" csw_filters="net">

<p>.NET:</p><p><code>public void Rename(string
newName);</code></p>

</span>

<p>renames a field of a stored class.
For more information see
<a href="../../implementation_strategies/refactoring_and_schema_evolution.html" class="wikiLink">Refactoring and Schema Evolution</a>.</p>

<p><br></p>



<span name="cs_wiki_filter" csw_filters="net">

<p>.NET:</p><p><code>public void QueryEvaluation
(bool flag);</code></p>

</span>

<p>toggles query evaluation.</p>

<p>All fields are evaluated by default.
Use this method to turn query evaluation off for specific fields.&nbsp;&nbsp;&nbsp; </p>

</div>
    </div>
    <div id="footer">
					This revision (5) was last Modified 2007-06-04T18:09:17 by Tetyana.
				</div>
  </body>
</html>