# C1.Data.ClientCacheBase.CreateScope

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Data_ClientCacheBase_CreateScope_" data-uid="C1.Data.ClientCacheBase.CreateScope*">CreateScope Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Data_ClientCacheBase_CreateScope_" data-uid="C1.Data.ClientCacheBase.CreateScope*"></a>
<h4 id="C1_Data_ClientCacheBase_CreateScope" data-uid="C1.Data.ClientCacheBase.CreateScope">CreateScope()</h4>
<div class="markdown level1 summary"><p>Creates a <a class="xref" href="C1.Data.ClientScope.html">ClientScope</a> that defines a scope of data access.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ClientScope CreateScope()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function CreateScope() As ClientScope</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Data.ClientScope.html">ClientScope</a></td>
      <td><p>A new <a class="xref" href="C1.Data.ClientScope.html">ClientScope</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Data_ClientCacheBase_CreateScope_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Usually, every form, window, or user control creates a <a class="xref" href="C1.Data.ClientScope.html">ClientScope</a> and uses it
to access entities.</p>
</div>
<h5 id="C1_Data_ClientCacheBase_CreateScope_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.Data.ClientScope.html">ClientScope</a></div>
</div>
</div>
