Sophie

Sophie

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

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

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


<p>UpdateDepth configuration setting allows you to specify the level of objects' enclosure where update command will still be valid:</p>



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

<p>.NET: </p><p><code>configuration.UpdateDepth(depth)</code></p>

</span>

<p>This setting has a considerable impact on performance and can make the application very slow. It is recommended to keep the default configuration setting (UpdateDepth(0)) and specify UpdateDepth for selected classes, where cascaded update will be really useful:</p>



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

<p>.NET: </p><p><code>configuration.ObjectClass(typeof(Car)).UpdateDepth(3)</code> </p>

</span></div>
    </div>
    <div id="footer">
					This revision (8) was last Modified 2008-03-29T10:29:21 by Tetyana.
				</div>
  </body>
</html>