# C1.Data.Entities.EntityClientCache.CreateScope

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Data_Entities_EntityClientCache_CreateScope_" data-uid="C1.Data.Entities.EntityClientCache.CreateScope*">CreateScope Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Data_Entities_EntityClientCache_CreateScope_" data-uid="C1.Data.Entities.EntityClientCache.CreateScope*"></a>
<h4 id="C1_Data_Entities_EntityClientCache_CreateScope" data-uid="C1.Data.Entities.EntityClientCache.CreateScope">CreateScope()</h4>
<div class="markdown level1 summary"><p>Creates an <a class="xref" href="C1.Data.Entities.EntityClientScope.html">Entity Framework-specific client scope</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public EntityClientScope CreateScope()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function CreateScope() As EntityClientScope</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.Entities.EntityClientScope.html">EntityClientScope</a></td>
      <td><p>A new <a class="xref" href="C1.Data.Entities.EntityClientScope.html">client scope</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Data_Entities_EntityClientCache_CreateScope_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Usually, each window, form, or user control creates a <a class="xref" href="C1.Data.ClientScope.html">ClientScope</a> and uses it
to access entities.</p>
</div>
</div>
