<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="2" MadCap:lastHeight="120" MadCap:lastWidth="624" MadCap:disableMasterStylesheet="true" MadCap:tocPath="Advanced Features|Enhancement Tools" MadCap:InPreviewMode="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" MadCap:PathToHelpSystem="../../../../" MadCap:HelpSystemFileName="index.xml" MadCap:SearchType="Stem"> <head><title>Db4oTool </title> <script type="text/javascript">/* <![CDATA[ */ window.onload = function(){ var pathToFlash = $('html').attr('MadCap:PathToHelpSystem') + 'Content/Resources/Code/ZeroClipboard.swf'; ZeroClipboard.setMoviePath(pathToFlash); function bindToClipBord(element,content){ var clip = new ZeroClipboard.Client(); clip.setText(content); clip.glue(element); }; if(location.protocol==='file:'){ $('.copylink-marker').remove(); } else{ $('.copylink-marker').each(function(){ var text = $(this).parent().parent().children('.prettyprint').html(); $(this).hover(function(){ bindToClipBord(this,text); }, function(){}); }); } prettyPrint(); }; /* ]]> */</script> <link href="../../../SkinSupport/MadCap.css" rel="stylesheet" /> <link href="../../../Resources/Stylesheets/OnlineStyle.css" rel="stylesheet" /> <script src="../../../Resources/Code/prettify.js"> </script> <script src="../../../Resources/Code/lang-vb.js"> </script> <script src="../../../Resources/Code/jquery.min.js"> </script> <script src="../../../Resources/Code/ZeroClipboard.js"> </script> <script src="../../../SkinSupport/MadCapAll.js" type="text/javascript"> </script> </head> <body> <p class="MCWebHelpFramesetLink" style="display: none;"><a href="../../../../index_CSH.html#advanced_topics/enhancement_tools/enhancement_for_.net/db4otool.htm" style="">Open topic with navigation</a> </p> <div class="MCBreadcrumbsBox"><span class="MCBreadcrumbsPrefix">You are here: </span><a class="MCBreadcrumbsLink" href="../../../advanced_topics.htm">Advanced Features</a><span class="MCBreadcrumbsDivider"> > </span><a class="MCBreadcrumbsLink" href="../../enhancement_tools.htm">Enhancement Tools</a><span class="MCBreadcrumbsDivider"> > </span><span class="MCBreadcrumbs">Db4oTool </span> </div> <p> <script type="text/javascript">/*<![CDATA[*/document.write('<a href="' + location.href +'">'); document.write("Direct Link"); document.write('</a>');/*]]>*/</script> </p> <p> </p> <h1>Db4oTool</h1> <p>Db4oTool.exe utility is distributed together with db4o .NET version and can be used for native query optimization and transparent activation instrumentation.</p> <p>The main use-cases for Db4oTool are:</p> <ol> <li value="1"><a href="../../../basics/querying/native_queries/native_query_optimization/nq_build_time_optimisation.htm">Optimization of native queries</a> at build time. This will improve Native Query performance by cutting of query analyzing time during execution.</li> <li value="2"><a href="../../../basics/querying/native_queries/native_query_optimization/nq_optimization_on_cf2.0.htm">Optimizing delegate native query syntax on CF2.0</a>. This optimization can only be done by Db4oTool as CompactFramework 2.0 API does not expose any of the delegate metadata needed for the optimization process.</li> <li value="3"><a href="../../../basics/activation_concept/transparent_activation_framework.htm">Transparent Activation/Persistence</a> instrumentation. This will enable you to use transparent activation without modifying your classes or to use transparent activation on third-party classes.</li> </ol> <p>If you use Db4oTool for use-cases one and two you will be able to distribute your application without Db4objects.Db4o.NativeQueries.dll (the assembly where the Native Query runtime optimizer lives).</p> <p>See how the command line options of the Db4oTool. <a href="db4otool/db4otool_usage.htm" target="" title="" alt="" class="MCXref" xrefformat="See "{paratext}"">See "Db4oTool Usage"</a>. You can call the db4o tool also from Visual Studio. <a href="db4otool/including_db4otool_in_the_build.htm" target="" title="" alt="" class="MCXref" xrefformat="See "{paratext}"">See "Including Db4oTool In The Build"</a></p> <script type="text/javascript" src="../../../SkinSupport/MadCapBodyEnd.js"> </script> </body> </html>