|
| 1 | +<!DOCTYPE html> |
| 2 | +<html> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <title>Constructor MongoOptionsExtension | MongoDB EF Core Provider API Reference </title> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 7 | + <meta name="title" content="Constructor MongoOptionsExtension | MongoDB EF Core Provider API Reference "> |
| 8 | + |
| 9 | + |
| 10 | + <link rel="icon" href="../favicon.ico"> |
| 11 | + <link rel="stylesheet" href="../public/docfx.min.css"> |
| 12 | + <link rel="stylesheet" href="../public/main.css"> |
| 13 | + <meta name="docfx:navrel" content=""> |
| 14 | + <meta name="docfx:tocrel" content="toc.html"> |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + <meta name="docfx:docurl" content="https://github.com/sanych-sun/mongo-efcore-provider/new/main/apiSpec/new?filename=Microsoft_EntityFrameworkCore_MongoOptionsExtension__ctor_.md&value=---%0Auid%3A%20Microsoft.EntityFrameworkCore.MongoOptionsExtension.%23ctor*%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A"> |
| 20 | + <meta name="loc:inThisArticle" content="In this article"> |
| 21 | + <meta name="loc:searchResultsCount" content="{count} results for "{query}""> |
| 22 | + <meta name="loc:searchNoResults" content="No results for "{query}""> |
| 23 | + <meta name="loc:tocFilter" content="Filter by title"> |
| 24 | + <meta name="loc:nextArticle" content="Next"> |
| 25 | + <meta name="loc:prevArticle" content="Previous"> |
| 26 | + <meta name="loc:themeLight" content="Light"> |
| 27 | + <meta name="loc:themeDark" content="Dark"> |
| 28 | + <meta name="loc:themeAuto" content="Auto"> |
| 29 | + <meta name="loc:changeTheme" content="Change theme"> |
| 30 | + <meta name="loc:copy" content="Copy"> |
| 31 | + <meta name="loc:downloadPdf" content="Download PDF"> |
| 32 | + |
| 33 | + <script type="module" src="./../public/docfx.min.js"></script> |
| 34 | + |
| 35 | + <script> |
| 36 | + const theme = localStorage.getItem('theme') || 'auto' |
| 37 | + document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) |
| 38 | + </script> |
| 39 | + |
| 40 | + </head> |
| 41 | + |
| 42 | + <body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference"> |
| 43 | + <header class="bg-body border-bottom"> |
| 44 | + <nav id="autocollapse" class="navbar navbar-expand-md" role="navigation"> |
| 45 | + <div class="container-xxl flex-nowrap"> |
| 46 | + <a class="navbar-brand" href="../index.html"> |
| 47 | + <img id="logo" class="svg" src="../images/mongodb-logo.svg" alt=""> |
| 48 | + |
| 49 | + </a> |
| 50 | + <button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation"> |
| 51 | + <i class="bi bi-three-dots"></i> |
| 52 | + </button> |
| 53 | + <div class="collapse navbar-collapse" id="navpanel"> |
| 54 | + <div id="navbar"> |
| 55 | + </div> |
| 56 | + </div> |
| 57 | + </div> |
| 58 | + </nav> |
| 59 | + </header> |
| 60 | + |
| 61 | + <main class="container-xxl"> |
| 62 | + <div class="toc-offcanvas"> |
| 63 | + <div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel"> |
| 64 | + <div class="offcanvas-header"> |
| 65 | + <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5> |
| 66 | + <button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button> |
| 67 | + </div> |
| 68 | + <div class="offcanvas-body"> |
| 69 | + <nav class="toc" id="toc"></nav> |
| 70 | + </div> |
| 71 | + </div> |
| 72 | + </div> |
| 73 | + |
| 74 | + <div class="content"> |
| 75 | + <div class="actionbar"> |
| 76 | + <button class="btn btn-lg border-0 d-md-none" style="margin-top: -.65em; margin-left: -.8em" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents"> |
| 77 | + <i class="bi bi-list"></i> |
| 78 | + </button> |
| 79 | + |
| 80 | + <nav id="breadcrumb"></nav> |
| 81 | + </div> |
| 82 | + |
| 83 | + <article data-uid="Microsoft.EntityFrameworkCore.MongoOptionsExtension.#ctor*"> |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | +<h1 id="Microsoft_EntityFrameworkCore_MongoOptionsExtension__ctor_" data-uid="Microsoft.EntityFrameworkCore.MongoOptionsExtension.#ctor*" class="text-break"> |
| 90 | +Constructor MongoOptionsExtension <a class="header-action link-secondary" title="View source" href="https://github.com/sanych-sun/mongo-efcore-provider/blob/main/src/MongoDB.EntityFrameworkCore/Infrastructure/MongoOptionsExtension.cs/#L45"><i class="bi bi-code-slash"></i></a> |
| 91 | +</h1> |
| 92 | + |
| 93 | +<div class="facts text-secondary"> |
| 94 | + <dl><dt>Namespace</dt><dd><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft">Microsoft</a>.<a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore">EntityFrameworkCore</a></dd></dl> |
| 95 | + <dl><dt>Assembly</dt><dd>MongoDB.EntityFrameworkCore.dll</dd></dl> |
| 96 | +</div> |
| 97 | + |
| 98 | +<div class="markdown summary"></div> |
| 99 | +<div class="markdown conceptual"></div> |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | +<a id="Microsoft_EntityFrameworkCore_MongoOptionsExtension__ctor_" data-uid="Microsoft.EntityFrameworkCore.MongoOptionsExtension.#ctor*"></a> |
| 117 | + |
| 118 | +<h3 id="Microsoft_EntityFrameworkCore_MongoOptionsExtension__ctor" data-uid="Microsoft.EntityFrameworkCore.MongoOptionsExtension.#ctor"> |
| 119 | + MongoOptionsExtension() |
| 120 | + <a class="header-action link-secondary" title="View source" href="https://github.com/sanych-sun/mongo-efcore-provider/blob/main/src/MongoDB.EntityFrameworkCore/Infrastructure/MongoOptionsExtension.cs/#L45"><i class="bi bi-code-slash"></i></a> |
| 121 | +</h3> |
| 122 | + |
| 123 | +<div class="markdown level1 summary"><p>Creates a <a class="xref" href="Microsoft.EntityFrameworkCore.MongoOptionsExtension.html">MongoOptionsExtension</a>.</p> |
| 124 | +</div> |
| 125 | +<div class="markdown level1 conceptual"></div> |
| 126 | + |
| 127 | +<div class="codewrapper"> |
| 128 | + <pre><code class="lang-csharp hljs">public MongoOptionsExtension()</code></pre> |
| 129 | +</div> |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | +<a id="Microsoft_EntityFrameworkCore_MongoOptionsExtension__ctor_" data-uid="Microsoft.EntityFrameworkCore.MongoOptionsExtension.#ctor*"></a> |
| 144 | + |
| 145 | +<h3 id="Microsoft_EntityFrameworkCore_MongoOptionsExtension__ctor_Microsoft_EntityFrameworkCore_MongoOptionsExtension_" data-uid="Microsoft.EntityFrameworkCore.MongoOptionsExtension.#ctor(Microsoft.EntityFrameworkCore.MongoOptionsExtension)"> |
| 146 | + MongoOptionsExtension(MongoOptionsExtension) |
| 147 | + <a class="header-action link-secondary" title="View source" href="https://github.com/sanych-sun/mongo-efcore-provider/blob/main/src/MongoDB.EntityFrameworkCore/Infrastructure/MongoOptionsExtension.cs/#L52"><i class="bi bi-code-slash"></i></a> |
| 148 | +</h3> |
| 149 | + |
| 150 | +<div class="markdown level1 summary"><p>Creates a <a class="xref" href="Microsoft.EntityFrameworkCore.MongoOptionsExtension.html">MongoOptionsExtension</a> by copying from an existing instance.</p> |
| 151 | +</div> |
| 152 | +<div class="markdown level1 conceptual"></div> |
| 153 | + |
| 154 | +<div class="codewrapper"> |
| 155 | + <pre><code class="lang-csharp hljs">protected MongoOptionsExtension(MongoOptionsExtension copyFrom)</code></pre> |
| 156 | +</div> |
| 157 | + |
| 158 | +<h4 class="section">Parameters</h4> |
| 159 | +<dl class="parameters"> |
| 160 | + <dt><code>copyFrom</code> <a class="xref" href="Microsoft.EntityFrameworkCore.MongoOptionsExtension.html">MongoOptionsExtension</a></dt> |
| 161 | + <dd></dd> |
| 162 | +</dl> |
| 163 | + |
| 164 | + |
| 165 | + |
| 166 | + |
| 167 | + |
| 168 | + |
| 169 | + |
| 170 | + |
| 171 | + |
| 172 | + |
| 173 | + |
| 174 | + |
| 175 | +</article> |
| 176 | + |
| 177 | + |
| 178 | + |
| 179 | + </div> |
| 180 | + |
| 181 | + <div class="affix"> |
| 182 | + <nav id="affix"></nav> |
| 183 | + </div> |
| 184 | + </main> |
| 185 | + |
| 186 | + |
| 187 | + <footer class="border-top text-secondary"> |
| 188 | + <div class="container-xxl"> |
| 189 | + <div class="flex-fill"> |
| 190 | + © 2023 MongoDB, Inc. |
| 191 | + </div> |
| 192 | + </div> |
| 193 | + </footer> |
| 194 | + </body> |
| 195 | +</html> |
0 commit comments