<html> <head> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Native Query Concepts</title> <link rel="stylesheet" type="text/css" href="../../style.css"> </head> <body> <div class="CommonContent"> <div class="CommonContentArea"> <h1>Native Query Concepts</h1><script> //We attach this function to a browser object as a variable so that if multiple of these blocks are //present on the same page, then they will simply over-write eachother with the same function instead //of generating a naming collision. window.WikiCodeFormattingCopyToClipboard = function copyToClipboard(sID){ var sContent = document.getElementById(sID).innerText; if( window.clipboardData && clipboardData.setData ) { clipboardData.setData("Text", sContent); } else { alert("You must enable javascript access to your clipboard for this feature to work. Please referr to your browser documentation or Google search for instructions."); } } </script> <p>Database query is a language used to communicate with the database. For a long time databases stood the central and commanding place in software products: the applications were literally written to support the needs of a main central database. However, in the modern high-speed world of distribute computing the transfer and modification of the information plays increasingly important role and the databases more and more often take a place of a temporary storage or a point of exchange. </p> <p>This evolutionary change results in some practical modifications: more attention is paid to the business logic and tools that are used for its development, language structures are automatically produced and checked by development environments and string-based logic is getting outdated and not enough efficient. Database query language is expected to follow the features of an object-oriented language: type-safe, easy to refactor and test. String-based languages like SQL, OQL, JDOQL do not meet these requirements. To fill this gap and provide developers with sufficient database query tools a new concept was developed by W.Cook and C. Rosenberger which was given a name <a href="http://www.odbms.org/download/010.01 Cook Native Queries for Persistent Objects August 2005.pdf">Native Queries</a>. </p> <p>In the following paragraphs, we will review the concepts of Native Queries (NQ). We will use Pilot class for all examples suggested further:</p> <p><span name="cs_wiki_filter" csw_filters="cs"></p> <div class="FormattedSourceCode"><div class="fscHeader"><span class="fscFileName">Pilot.cs</span></div><div class="fscCode"><pre ID="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39"><div><!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --><span style="color: #008080;">01</span><img id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_0_67_Open_Image" src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_0_67_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_0_67_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_0_67_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_0_67_Closed_Image" src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_0_67_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_0_67_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_0_67_Open_Text').style.display='inline';"/><span id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_0_67_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">/**/</span><span id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_0_67_Open_Text"><span style="color: #008000;">/*</span><span style="color: #008000;"> Copyright (C) 2004 - 2007 db4objects Inc. </span><span style="color: #008000; text-decoration: underline;">http://www.db4o.com</span><span style="color: #008000;"> </span><span style="color: #008000;">*/</span></span><span style="color: #000000;"> </span><span style="color: #008080;">02</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">namespace</span><span style="color: #000000;"> Db4objects.Db4odoc.NQConcepts </span><span style="color: #008080;">03</span><span style="color: #000000;"><img id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_108_581_Open_Image" src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_108_581_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_108_581_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_108_581_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_108_581_Closed_Image" src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_108_581_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_108_581_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_108_581_Open_Text').style.display='inline';"/></span><span id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_108_581_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_108_581_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">04</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">class</span><span style="color: #000000;"> Pilot </span><span style="color: #008080;">05</span><span style="color: #000000;"><img id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_137_579_Open_Image" src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_137_579_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_137_579_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_137_579_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_137_579_Closed_Image" src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_137_579_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_137_579_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_137_579_Open_Text').style.display='inline';"/> </span><span id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_137_579_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_137_579_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">06</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">string</span><span style="color: #000000;"> _name; </span><span style="color: #008080;">07</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">int</span><span style="color: #000000;"> _points; </span><span style="color: #008080;">08</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">09</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> Pilot(</span><span style="color: #0000FF;">string</span><span style="color: #000000;"> name, </span><span style="color: #0000FF;">int</span><span style="color: #000000;"> points) </span><span style="color: #008080;">10</span><span style="color: #000000;"><img id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_245_312_Open_Image" src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_245_312_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_245_312_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_245_312_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_245_312_Closed_Image" src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_245_312_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_245_312_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_245_312_Open_Text').style.display='inline';"/> </span><span id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_245_312_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_245_312_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">11</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _name </span><span style="color: #000000;">=</span><span style="color: #000000;"> name; </span><span style="color: #008080;">12</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> _points </span><span style="color: #000000;">=</span><span style="color: #000000;"> points; </span><span style="color: #008080;">13</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">14</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">15</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">int</span><span style="color: #000000;"> Points </span><span style="color: #008080;">16</span><span style="color: #000000;"><img id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_356_443_Open_Image" src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_356_443_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_356_443_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_356_443_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_356_443_Closed_Image" src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_356_443_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_356_443_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_356_443_Open_Text').style.display='inline';"/> </span><span id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_356_443_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_356_443_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">17</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">get</span><span style="color: #000000;"> </span><span style="color: #008080;">18</span><span style="color: #000000;"><img id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_386_433_Open_Image" src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_386_433_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_386_433_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_386_433_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_386_433_Closed_Image" src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_386_433_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_386_433_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_386_433_Open_Text').style.display='inline';"/> </span><span id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_386_433_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_386_433_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">19</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">return</span><span style="color: #000000;"> _points; </span><span style="color: #008080;">20</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">21</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">22</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #008080;">23</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">string</span><span style="color: #000000;"> Name </span><span style="color: #008080;">24</span><span style="color: #000000;"><img id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_488_573_Open_Image" src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_488_573_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_488_573_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_488_573_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_488_573_Closed_Image" src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_488_573_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_488_573_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_488_573_Open_Text').style.display='inline';"/> </span><span id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_488_573_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_488_573_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">25</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">get</span><span style="color: #000000;"> </span><span style="color: #008080;">26</span><span style="color: #000000;"><img id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_518_563_Open_Image" src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_518_563_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_518_563_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_518_563_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_518_563_Closed_Image" src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_518_563_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_518_563_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_518_563_Open_Text').style.display='inline';"/> </span><span id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_518_563_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceBasic_ConceptsNative_Query_ConceptsnqconceptsCS.ZipsPilot.Cs_Pilot.Cs_1557_39_518_563_Open_Text"><span style="color: #000000;">{ </span><span style="color: #008080;">27</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/> </span><span style="color: #0000FF;">return</span><span style="color: #000000;"> _name; </span><span style="color: #008080;">28</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">29</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">30</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/> }</span></span><span style="color: #000000;"> </span><span style="color: #008080;">31</span><span style="color: #000000;"><img src="../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockEnd.gif" align="top"/>}</span></span></div></pre></div></div><p> </span></p><p><div class="childTopicList">More Reading:<ul> <li><p><a href="native_query_concepts/problems_of_string_based_query_languages.html" class="wikiLink">Problems Of String Based Query Languages</a></p></li> <li><p><a href="native_query_concepts/native_query_characteristics.html" class="wikiLink">Native Query Characteristics</a></p></li> <li><p><a href="native_query_concepts/native_query_implementation.html" class="wikiLink">Native Query Implementation</a></p></li> <li><p><a href="native_query_concepts/native_query_optimization.html" class="wikiLink">Native Query Optimization</a></p></li> <li><p><a href="native_query_concepts/code_inside.html" class="wikiLink">Code Inside</a></p></li> <li><p><a href="native_query_concepts/sorting_results.html" class="wikiLink">Sorting Results</a></p></li> </ul></div> </p></div> </div> <div id="footer"> This revision (2) was last Modified 2007-06-02T18:23:57 by Tetyana. </div> </body> </html>