Skip to content

Commit 1092c33

Browse files
committed
Update generated documentation for version 1.5.9
1 parent 174bec5 commit 1092c33

320 files changed

Lines changed: 14366 additions & 6210 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

core/composable.html

Lines changed: 23 additions & 24 deletions
Large diffs are not rendered by default.

core/crud.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,11 @@ <h3><a name="What-to-do-if-your-creation-fails-systematically-every-time" class=
454454
<span onmouseout="hideTip(event, 'fs17', 308)" onmouseover="showTip(event, 'fs17', 308)" class="id">ctx</span><span class="pn">.</span><span onmouseout="hideTip(event, 'fs48', 309)" onmouseover="showTip(event, 'fs48', 309)" class="id">SubmitUpdates</span><span class="pn">(</span><span class="pn">)</span>
455455
</code></pre>
456456
<p>SetColumn takes an object, giving you more control over the type serialization.</p>
457+
<h3><a name="Identifying-columns-dynamically" class="anchor" href="#Identifying-columns-dynamically">Identifying columns dynamically</a></h3>
458+
<pre class="fssnip highlighted"><code lang="fsharp"><span class="k">let</span> <span onmouseout="hideTip(event, 'fs122', 310)" onmouseover="showTip(event, 'fs122', 310)" class="fn">setIfExists</span> <span class="pn">(</span><span onmouseout="hideTip(event, 'fs123', 311)" onmouseover="showTip(event, 'fs123', 311)" class="fn">columnName</span><span class="pn">)</span> <span class="o">=</span>
459+
<span class="k">if</span> <span onmouseout="hideTip(event, 'fs49', 312)" onmouseover="showTip(event, 'fs49', 312)" class="id">emp</span><span class="pn">.</span><span onmouseout="hideTip(event, 'fs124', 313)" onmouseover="showTip(event, 'fs124', 313)" class="id">HasColumn</span><span class="pn">(</span><span onmouseout="hideTip(event, 'fs123', 314)" onmouseover="showTip(event, 'fs123', 314)" class="fn">columnName</span><span class="pn">,</span> <span onmouseout="hideTip(event, 'fs125', 315)" onmouseover="showTip(event, 'fs125', 315)" class="en">StringComparison</span><span class="pn">.</span><span onmouseout="hideTip(event, 'fs126', 316)" onmouseover="showTip(event, 'fs126', 316)" class="id">InvariantCultureIgnoreCase</span><span class="pn">)</span> <span class="k">then</span>
460+
<span onmouseout="hideTip(event, 'fs49', 317)" onmouseover="showTip(event, 'fs49', 317)" class="id">emp</span><span class="pn">.</span><span onmouseout="hideTip(event, 'fs121', 318)" onmouseover="showTip(event, 'fs121', 318)" class="id">SetColumn</span><span class="pn">(</span><span onmouseout="hideTip(event, 'fs123', 319)" onmouseover="showTip(event, 'fs123', 319)" class="fn">columnName</span><span class="pn">,</span> <span class="s">&quot;testValue&quot;</span><span class="pn">)</span>
461+
</code></pre>
457462

458463
<div class="fsdocs-tip" id="fs1">Multiple items<br />type LiteralAttribute =
459464
inherit Attribute
@@ -693,6 +698,18 @@ <h3><a name="What-to-do-if-your-creation-fails-systematically-every-time" class=
693698
<div class="fsdocs-tip" id="fs119">val append: source1: &#39;T seq -&gt; source2: &#39;T seq -&gt; &#39;T seq</div>
694699
<div class="fsdocs-tip" id="fs120">property SqlDataProvider&lt;...&gt;.dataContext.main.EmployeesEntity.BirthDate: DateTime with get, set<br /><em>&lt;summary&gt;BirthDate: datetime&lt;/summary&gt;</em></div>
695700
<div class="fsdocs-tip" id="fs121">member Common.SqlEntity.SetColumn: key: string * value: &#39;t -&gt; unit</div>
701+
<div class="fsdocs-tip" id="fs122">val setIfExists: columnName: string -&gt; unit</div>
702+
<div class="fsdocs-tip" id="fs123">val columnName: string</div>
703+
<div class="fsdocs-tip" id="fs124">member Common.SqlEntity.HasColumn: key: string * ?comparison: StringComparison -&gt; bool</div>
704+
<div class="fsdocs-tip" id="fs125">[&lt;Struct&gt;]
705+
type StringComparison =
706+
| CurrentCulture = 0
707+
| CurrentCultureIgnoreCase = 1
708+
| InvariantCulture = 2
709+
| InvariantCultureIgnoreCase = 3
710+
| Ordinal = 4
711+
| OrdinalIgnoreCase = 5<br /><em>&lt;summary&gt;Specifies the culture, case, and sort rules to be used by certain overloads of the &lt;see cref=&quot;M:System.String.Compare(System.String,System.String)&quot; /&gt; and &lt;see cref=&quot;M:System.String.Equals(System.Object)&quot; /&gt; methods.&lt;/summary&gt;</em></div>
712+
<div class="fsdocs-tip" id="fs126">field StringComparison.InvariantCultureIgnoreCase: StringComparison = 3</div>
696713

697714
</div>
698715
</main>
@@ -724,6 +741,11 @@ <h3><a name="What-to-do-if-your-creation-fails-systematically-every-time" class=
724741
What to do if your creation fails systematically every time
725742
</a>
726743
</li>
744+
<li class="level-3">
745+
<a href="#Identifying-columns-dynamically">
746+
Identifying columns dynamically
747+
</a>
748+
</li>
727749
</ul>
728750
</aside>
729751
<dialog>

core/mappers.html

Lines changed: 47 additions & 25 deletions
Large diffs are not rendered by default.

core/querying.html

Lines changed: 88 additions & 84 deletions
Large diffs are not rendered by default.

core/sqlite.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ <h1><a name="CRUD" class="anchor" href="#CRUD">CRUD</a></h1>
316316
<p>When you do insert operation, after .SubmitUpdates call you can get inserted rowid like this:</p>
317317
<pre class="fssnip highlighted"><code lang="fsharp"><span class="k">let</span> <span onmouseout="hideTip(event, 'fs27', 36)" onmouseover="showTip(event, 'fs27', 36)" class="id">myCustomer</span> <span class="o">=</span> <span onmouseout="hideTip(event, 'fs17', 37)" onmouseover="showTip(event, 'fs17', 37)" class="id">ctx</span><span class="pn">.</span><span onmouseout="hideTip(event, 'fs20', 38)" onmouseover="showTip(event, 'fs20', 38)" class="prop">Main</span><span class="pn">.</span><span onmouseout="hideTip(event, 'fs21', 39)" onmouseover="showTip(event, 'fs21', 39)" class="prop">Customers</span><span class="pn">.</span><span class="id">``Create(CompanyName)``</span><span class="pn">(</span><span class="s">&quot;MyCompany&quot;</span><span class="pn">)</span>
318318
<span onmouseout="hideTip(event, 'fs17', 40)" onmouseover="showTip(event, 'fs17', 40)" class="id">ctx</span><span class="pn">.</span><span onmouseout="hideTip(event, 'fs28', 41)" onmouseover="showTip(event, 'fs28', 41)" class="id">SubmitUpdates</span><span class="pn">(</span><span class="pn">)</span>
319-
<span class="k">let</span> <span onmouseout="hideTip(event, 'fs29', 42)" onmouseover="showTip(event, 'fs29', 42)" class="id">rowid</span> <span class="o">=</span> <span onmouseout="hideTip(event, 'fs27', 43)" onmouseover="showTip(event, 'fs27', 43)" class="id">myCustomer</span><span class="pn">.</span><span onmouseout="hideTip(event, 'fs30', 44)" onmouseover="showTip(event, 'fs30', 44)" class="id">GetColumn</span><span class="pn">(</span><span class="s">&quot;rowid&quot;</span><span class="pn">)</span> <span class="pn">:</span> <span onmouseout="hideTip(event, 'fs31', 45)" onmouseover="showTip(event, 'fs31', 45)" class="vt">int</span>
319+
<span class="k">let</span> <span onmouseout="hideTip(event, 'fs29', 42)" onmouseover="showTip(event, 'fs29', 42)" class="id">rowid</span> <span class="o">=</span> <span onmouseout="hideTip(event, 'fs27', 43)" onmouseover="showTip(event, 'fs27', 43)" class="id">myCustomer</span><span class="pn">.</span><span class="id">GetColumn</span><span class="pn">(</span><span class="s">&quot;rowid&quot;</span><span class="pn">)</span> <span class="pn">:</span> <span onmouseout="hideTip(event, 'fs30', 44)" onmouseover="showTip(event, 'fs30', 44)" class="vt">int</span>
320320
</code></pre>
321321

322322
<div class="fsdocs-tip" id="fs1">namespace System</div>
@@ -394,8 +394,7 @@ <h1><a name="CRUD" class="anchor" href="#CRUD">CRUD</a></h1>
394394
<div class="fsdocs-tip" id="fs27">val myCustomer: SqlDataProvider&lt;...&gt;.dataContext.main.CustomersEntity</div>
395395
<div class="fsdocs-tip" id="fs28">SqlDataProvider&lt;...&gt;.dataContext.SubmitUpdates() : Unit<br /><em>&lt;summary&gt;Save changes to data-source. May throws errors: To deal with non-saved items use GetUpdates() and ClearUpdates().&lt;/summary&gt;</em></div>
396396
<div class="fsdocs-tip" id="fs29">val rowid: int</div>
397-
<div class="fsdocs-tip" id="fs30">member Common.SqlEntity.GetColumn: key: string -&gt; &#39;T</div>
398-
<div class="fsdocs-tip" id="fs31">Multiple items<br />val int: value: &#39;T -&gt; int (requires member op_Explicit)<br /><br />--------------------<br />type int = int32<br /><br />--------------------<br />type int&lt;&#39;Measure&gt; =
397+
<div class="fsdocs-tip" id="fs30">Multiple items<br />val int: value: &#39;T -&gt; int (requires member op_Explicit)<br /><br />--------------------<br />type int = int32<br /><br />--------------------<br />type int&lt;&#39;Measure&gt; =
399398
int</div>
400399

401400
</div>

index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)