Skip to content

Commit 8b5ef60

Browse files
author
Azure Pipelines
committed
Publish GitHub Pages
1 parent 4b749c5 commit 8b5ef60

26 files changed

+731
-95461
lines changed

api/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
<article class="content wrap" id="_content" data-uid="">
8080
<h1 id="fluentmigrator-api">FluentMigrator API</h1>
8181

82-
<p>The most important part of the API is the <a class="xref" href="v3.x/FluentMigrator.Runner.IMigrationRunner.html">migration runner</a>.</p>
82+
<p>The most important part of the API is the <a href="xref:FluentMigrator.Runner.IMigrationRunner">migration runner</a>.</p>
8383
<h1 id="getting-started">Getting started</h1>
8484
<p>The starting point for every beginner of FluentMigrator is the <a class="xref" href="../articles/quickstart.html">Quickstart tutorial</a>.</p>
8585
</article>

api/toc.html

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

api/v2.x/index.html

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<link rel="stylesheet" href="../../styles/docfx.css">
1616
<link rel="stylesheet" href="../../styles/main.css">
1717
<meta property="docfx:navrel" content="">
18-
<meta property="docfx:tocrel" content="toc.html">
18+
<meta property="docfx:tocrel" content="">
1919

2020
<meta property="docfx:rel" content="../../">
2121

@@ -67,14 +67,7 @@
6767
</div>
6868
</div>
6969
<div role="main" class="container body-content hide-when-search">
70-
71-
<div class="sidenav hide-when-search">
72-
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
73-
<div class="sidetoggle collapse" id="sidetoggle">
74-
<div id="sidetoc"></div>
75-
</div>
76-
</div>
77-
<div class="article row grid-right">
70+
<div class="article row grid">
7871
<div class="col-md-10">
7972
<article class="content wrap" id="_content" data-uid="">
8073
<h1 id="api-for-version-2x">API for version 2.x</h1>

api/v3.x/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
<article class="content wrap" id="_content" data-uid="">
8080
<h1 id="fluentmigrator-api">FluentMigrator API</h1>
8181

82-
<p>The most important part of the API is the <a class="xref" href="FluentMigrator.Runner.IMigrationRunner.html">migration runner</a>.</p>
82+
<p>The most important part of the API is the <a href="xref:FluentMigrator.Runner.IMigrationRunner">migration runner</a>.</p>
8383
<h1 id="getting-started">Getting started</h1>
8484
<p>The starting point for every beginner of FluentMigrator is the <a class="xref" href="../../articles/quickstart.html">Quickstart tutorial</a>.</p>
8585
</article>

articles/fluent-interface.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ <h2 id="insert-data-as-an-non-unicode-string">Insert data as an non-Unicode stri
145145
<p>If you want to insert a string as non-Unicode (ANSI) then use the NonUnicodeString class:</p>
146146
<pre><code class="lang-cs">Insert.IntoTable(&quot;TestTable&quot;).Row(new { Name = new NonUnicodeString(&quot;ansi string&quot;) });
147147
</code></pre>
148-
<h2 id="allrows-attribute">AllRows Attribute</h2>
149-
<p>A common task is to add a non-nullable column without a default value. One way this can be achieved is with the 'AllRows' attribute, via these three steps:</p>
148+
<h2 id="allrows-method"><code>AllRows()</code> Method</h2>
149+
<p>A common task is to add a non-nullable column without a default value. One way this can be achieved is with the 'AllRows' method, via these three steps:</p>
150150
<ol>
151151
<li>Add new nullable column.</li>
152152
</ol>
@@ -156,7 +156,7 @@ <h2 id="allrows-attribute">AllRows Attribute</h2>
156156
.Nullable();
157157
</code></pre>
158158
<ol start="2">
159-
<li>Update all rows to an initial value using the AllRows attribute.</li>
159+
<li>Update all rows to an initial value using the AllRows method.</li>
160160
</ol>
161161
<pre><code class="lang-cs">Update.Table(&quot;Bar&quot;)
162162
.Set(new { SomeDate = DateTime.Today })
@@ -170,7 +170,8 @@ <h2 id="allrows-attribute">AllRows Attribute</h2>
170170
.AsDateTime()
171171
.NotNullable();
172172
</code></pre>
173-
<p>As of version 1.3.0, this can be done with a single statement using the SetExistingRowsTo method.</p>
173+
<h3 id="setexistingrowsto-alternative-to-allrows"><code>SetExistingRowsTo</code> alternative to AllRows()`</h3>
174+
<p>As of version 1.3.0, this can be done with a single statement using the <code>SetExistingRowsTo</code> method.</p>
174175
<pre><code class="lang-cs">Alter.Table(&quot;Bar&quot;)
175176
.AddColumn(&quot;SomeDate&quot;)
176177
.AsDateTime()

articles/glossary.html

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -91,34 +91,42 @@ <h5>Note</h5>
9191
<p>A migration must have:</p>
9292
<ul>
9393
<li><code>public</code> visibility</li>
94-
<li><a class="xref" href="../api/v3.x/FluentMigrator.IMigration.html">IMigration</a> as implemented interface (The <a class="xref" href="../api/v3.x/FluentMigrator.Migration.html">Migration class</a> already implements it)</li>
95-
<li><a class="xref" href="../api/v3.x/FluentMigrator.MaintenanceAttribute.html">MaintenanceAttribute</a></li>
94+
<li><a href="xref:FluentMigrator.IMigration">IMigration</a> as implemented interface (The <a href="xref:FluentMigrator.Migration">Migration class</a> already implements it)</li>
95+
<li><a href="xref:FluentMigrator.MaintenanceAttribute">MaintenanceAttribute</a></li>
9696
</ul>
9797
</div>
98+
<h2 id="migration-stages">Migration Stages</h2>
99+
<ol>
100+
<li><code>BeforeAll</code>: Migration will be run before all standard migrations.</li>
101+
<li><code>BeforeEach</code>: Migration will be run before each standard migration.</li>
102+
<li><code>AfterEach</code>: Migration will be run after each standard migration.</li>
103+
<li><code>BeforeProfiles</code>: Migration will be run after all standard migrations, but before profiles.</li>
104+
<li><code>AfterAll</code>: Migration will be run after all standard migrations and profiles.</li>
105+
</ol>
98106
<h1 id="migration">Migration</h1>
99107
<p>A migration is a database modification usually applied within its own transaction.</p>
100108
<div class="NOTE">
101109
<h5>Note</h5>
102110
<p>A migration must have:</p>
103111
<ul>
104112
<li><code>public</code> visibility</li>
105-
<li><a class="xref" href="../api/v3.x/FluentMigrator.IMigration.html">IMigration</a> as implemented interface (The <a class="xref" href="../api/v3.x/FluentMigrator.Migration.html">Migration class</a> already implements it)</li>
106-
<li><a class="xref" href="../api/v3.x/FluentMigrator.MigrationAttribute.html">MigrationAttribute</a></li>
113+
<li><a href="xref:FluentMigrator.IMigration">IMigration</a> as implemented interface (The <a href="xref:FluentMigrator.Migration">Migration class</a> already implements it)</li>
114+
<li><a href="xref:FluentMigrator.MigrationAttribute">MigrationAttribute</a></li>
107115
</ul>
108116
</div>
109117
<h1 id="migration-expression">Migration Expression</h1>
110118
<p>An expression created from within a <a href="#migration">migration</a> that gets used to
111119
produce an SQL statement (using a <a href="#migration-generator">migration generator</a>)
112120
that gets executed by a <a href="#migration-processor">migration processor</a>.</p>
113-
<p>A migration expression always implements <a class="xref" href="../api/v3.x/FluentMigrator.Expressions.IMigrationExpression.html">IMigrationExpression</a>.</p>
121+
<p>A migration expression always implements <a href="xref:FluentMigrator.Expressions.IMigrationExpression">IMigrationExpression</a>.</p>
114122
<h1 id="migration-generator">Migration Generator</h1>
115123
<p>Translates an <a href="#migration-expression">expression</a> created from within a <a href="#migration">migration</a>
116124
to one or more SQL statements.</p>
117-
<p>A migration generator always implements <a class="xref" href="../api/v3.x/FluentMigrator.IMigrationGenerator.html">IMigrationGenerator</a>.</p>
125+
<p>A migration generator always implements <a href="xref:FluentMigrator.IMigrationGenerator">IMigrationGenerator</a>.</p>
118126
<h1 id="migration-processor">Migration Processor</h1>
119127
<p>Passes the <a href="#migration-expression">expressions</a> to a <a href="#migration-generator">migration generator</a>
120128
and then executes the resulting SQL statements.</p>
121-
<p>A migration processor always implements <a class="xref" href="../api/v3.x/FluentMigrator.IMigrationProcessor.html">IMigrationProcessor</a>.</p>
129+
<p>A migration processor always implements <a href="xref:FluentMigrator.IMigrationProcessor">IMigrationProcessor</a>.</p>
122130
<h1 id="profile">Profile</h1>
123131
<p>A profile is used to selectively apply migrations.</p>
124132
<div class="WARNING">
@@ -130,8 +138,8 @@ <h5>Note</h5>
130138
<p>A profile must have:</p>
131139
<ul>
132140
<li><code>public</code> visibility</li>
133-
<li><a class="xref" href="../api/v3.x/FluentMigrator.IMigration.html">IMigration</a> as implemented interface (The <a class="xref" href="../api/v3.x/FluentMigrator.Migration.html">Migration class</a> already implements it)</li>
134-
<li><a class="xref" href="../api/v3.x/FluentMigrator.ProfileAttribute.html">ProfileAttribute</a></li>
141+
<li><a href="xref:FluentMigrator.IMigration">IMigration</a> as implemented interface (The <a href="xref:FluentMigrator.Migration">Migration class</a> already implements it)</li>
142+
<li><a href="xref:FluentMigrator.ProfileAttribute">ProfileAttribute</a></li>
135143
</ul>
136144
</div>
137145
</article>

0 commit comments

Comments
 (0)