<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Entity Framework Core &#8211; database initialization with Unit Test	</title>
	<atom:link href="https://www.codejourney.net/entity-framework-core-database-initialization-with-unit-test/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.codejourney.net/entity-framework-core-database-initialization-with-unit-test/</link>
	<description>Building real-world software with AI 🤖</description>
	<lastBuildDate>Sat, 17 Nov 2018 12:40:45 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>
		By: Dawid Sibiński		</title>
		<link>https://www.codejourney.net/entity-framework-core-database-initialization-with-unit-test/#comment-71</link>

		<dc:creator><![CDATA[Dawid Sibiński]]></dc:creator>
		<pubDate>Thu, 31 Aug 2017 09:07:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.dsibinski.pl/?p=2331#comment-71</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.codejourney.net/entity-framework-core-database-initialization-with-unit-test/#comment-70&quot;&gt;RedDeath&lt;/a&gt;.

@RedDeath,
thanks for your comment.
I didn&#039;t really mean to use this approach on production. That&#039;s why I wrote, that the only usage on production I would consider (as I know some people use it) is to compile such Unit Tests project into an executable and run it when your application is installed for the first time - to have database structures initialized. However, I don&#039;t think I&#039;d personally use that on production :)

This approach is great during development phase - as least I found it useful for that purpose.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.codejourney.net/entity-framework-core-database-initialization-with-unit-test/#comment-70">RedDeath</a>.</p>
<p>@RedDeath,<br />
thanks for your comment.<br />
I didn&#8217;t really mean to use this approach on production. That&#8217;s why I wrote, that the only usage on production I would consider (as I know some people use it) is to compile such Unit Tests project into an executable and run it when your application is installed for the first time &#8211; to have database structures initialized. However, I don&#8217;t think I&#8217;d personally use that on production 🙂</p>
<p>This approach is great during development phase &#8211; as least I found it useful for that purpose.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: RedDeath		</title>
		<link>https://www.codejourney.net/entity-framework-core-database-initialization-with-unit-test/#comment-70</link>

		<dc:creator><![CDATA[RedDeath]]></dc:creator>
		<pubDate>Thu, 31 Aug 2017 08:53:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.dsibinski.pl/?p=2331#comment-70</guid>

					<description><![CDATA[Good article, thanks for the insight.
The only thing I would mention that, from what I&#039;ve read, the:

context.Database.EnsureCreated();

is NOT compatible with Migrations, so I would be very careful of using this on production.
First deploy will go fine, but after that...]]></description>
			<content:encoded><![CDATA[<p>Good article, thanks for the insight.<br />
The only thing I would mention that, from what I&#8217;ve read, the:</p>
<p>context.Database.EnsureCreated();</p>
<p>is NOT compatible with Migrations, so I would be very careful of using this on production.<br />
First deploy will go fine, but after that&#8230;</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
