<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Entity Framework - Bilişim Kurdu</title>
	<atom:link href="https://bilisimkurdu.github.io/tag/entity-framework/feed/" rel="self" type="application/rss+xml" />
	<link>https://bilisimkurdu.github.io</link>
	<description>Bilişim Hakkında Her Şey</description>
	<lastBuildDate>Thu, 21 Mar 2019 19:13:07 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>

<image>
	<url>https://bilisimkurdu.github.io/wp-content/uploads/2020/04/Logo-1-150x150.png</url>
	<title>Entity Framework - Bilişim Kurdu</title>
	<link>https://bilisimkurdu.github.io</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Entity Framework&#8217;ü MYSQL&#8217;de kullanmak</title>
		<link>https://bilisimkurdu.github.io/entity-frameworku-mysqlde-kullanmak/</link>
					<comments>https://bilisimkurdu.github.io/entity-frameworku-mysqlde-kullanmak/#respond</comments>
		
		<dc:creator><![CDATA[Yakup CONTARLI]]></dc:creator>
		<pubDate>Thu, 21 Mar 2019 19:13:07 +0000</pubDate>
				<category><![CDATA[ADO.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[Programlama]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[ado.net mysql]]></category>
		<category><![CDATA[ado.net mysql bağlantı]]></category>
		<category><![CDATA[ado.net mysql bağlantısı]]></category>
		<category><![CDATA[ado.net mysql connect]]></category>
		<category><![CDATA[c# mysql]]></category>
		<category><![CDATA[c# mysql bağlantı]]></category>
		<category><![CDATA[c# mysql connect]]></category>
		<category><![CDATA[Entity Framework]]></category>
		<category><![CDATA[entity framework mysql]]></category>
		<category><![CDATA[entity framework mysql bağlantı]]></category>
		<guid isPermaLink="false">https://bilisimkurdu.github.io/?p=442</guid>

					<description><![CDATA[<p>Merhaba Arkadaşlar, Bu yazımda Entity Framework&#8217;ü MYSQL&#8217;de kullanmayı anlatacağım. Öncelikle MYSQL for Visual Studio ve MYSQL Connector/NET bilgisayarımızda yüklü olması gerekmektedir. MYSQL for Visual Studio (MSI Installer): https://dev.mysql.com/downloads/windows/visualstudio/ MYSQL Connector/NET : https://dev.mysql.com/downloads/connector/net/8.0.html adreslerinden temin edebilirsiniz. MYSQL for Visual Studio kurarken &#8220;Warning : The devenv /updateconfiguration command may have failed&#8221; hatası alıyorsanız buyurun. The devenv /updateconfiguration&#8230;</p>
<p>The post <a href="https://bilisimkurdu.github.io/entity-frameworku-mysqlde-kullanmak/">Entity Framework’ü MYSQL’de kullanmak</a> first appeared on <a href="https://bilisimkurdu.github.io">Bilişim Kurdu</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Merhaba Arkadaşlar,</p>



<p>Bu yazımda Entity Framework&#8217;ü MYSQL&#8217;de kullanmayı anlatacağım.</p>



<p>Öncelikle MYSQL for Visual Studio ve MYSQL Connector/NET bilgisayarımızda yüklü olması gerekmektedir.</p>



<span id="more-442"></span>



<p>MYSQL for Visual Studio (MSI Installer): <a rel="noreferrer noopener" aria-label="https://dev.mysql.com/downloads/windows/visualstudio/ (yeni sekmede açılır)" href="https://dev.mysql.com/downloads/windows/visualstudio/" target="_blank">https://dev.mysql.com/downloads/windows/visualstudio/</a></p>



<p>MYSQL Connector/NET  : <a href="https://dev.mysql.com/downloads/connector/net/8.0.html" target="_blank" rel="noreferrer noopener" aria-label="https://dev.mysql.com/downloads/connector/net/8.0.html (yeni sekmede açılır)">https://dev.mysql.com/downloads/connector/net/8.0.html</a></p>



<p>adreslerinden temin edebilirsiniz.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>MYSQL for Visual Studio kurarken  &#8220;Warning : The devenv /updateconfiguration command may have failed&#8221; hatası alıyorsanız buyurun.</p><p><a rel="noreferrer noopener" aria-label="The devenv /usipdate configuration command may have failed
 (yeni sekmede açılır)" href="http://bilisimkurdu.github.io/the-devenv-update-configuration-command-may-have-failed/" target="_blank">The devenv /updateconfiguration command may have failed</a><br></p></blockquote>



<p>Peki programı yükledim nasıl kullanacağım?</p>



<p>Visual Studio&#8217;yu açıp projemizi oluşturduktan sonra;</p>



<p>Sağ tık -&gt; Add Item -&gt; Data -&gt; ADO.NET Data Model</p>



<figure class="wp-block-image"><img decoding="async" src="https://csharpcorner-mindcrackerinc.netdna-ssl.com/article/entity-framework-in-mvc-part-one/Images/image010.png" alt=""/></figure>



<figure class="wp-block-image"><img decoding="async" src="https://csharpcorner-mindcrackerinc.netdna-ssl.com/article/entity-framework-in-mvc-part-one/Images/image010.png" alt=""/></figure>



<figure class="wp-block-image"><img decoding="async" src="https://i.hizliresim.com/BaQVZD.jpg" alt=""/></figure>



<p>&#8220;Data Source&#8221; seçeneğinde &#8220;MySQL Database&#8221; seçilip &#8220;OK&#8221; butonuna tıklanır.</p>



<figure class="wp-block-image"><img decoding="async" src="https://i.hizliresim.com/ZXBrLk.jpg" alt=""/></figure>



<p>Gerekli bilgileri girildikten sonra &#8220;OK&#8221; butonuna tıklanır.</p>



<figure class="wp-block-image"><img decoding="async" src="https://i.hizliresim.com/oXWLA7.jpg" alt=""/></figure>



<p>Akabinde &#8220;Next&#8221; butonuna tıklandıktan sonra ADO.NET penceresi kendiliğinden kapanır.</p>



<figure class="wp-block-image"><img decoding="async" src="https://i.hizliresim.com/8avGZV.jpg" alt=""/></figure>



<p>Solution Explorer sekmesinde beyaz karenin içinde bulunan simgeye tıklandıktan sonra karşımıza çıkan pencerelerden çıkan seçeneklere dokunmadan &#8220;Next&#8221; butonuna tıklıyoruz.</p>



<figure class="wp-block-image"><img decoding="async" src="https://i.hizliresim.com/nQ6vAR.jpg" alt=""/></figure>



<figure class="wp-block-image"><img decoding="async" src="https://i.hizliresim.com/v620gp.jpg" alt=""/></figure>



<figure class="wp-block-image"><img decoding="async" src="https://i.hizliresim.com/16W9YG.jpg" alt=""/></figure>



<figure class="wp-block-image"><img decoding="async" src="https://i.hizliresim.com/LlzJpb.jpg" alt=""/></figure>



<figure class="wp-block-image"><img decoding="async" src="https://i.hizliresim.com/r5kqg1.jpg" alt=""/></figure>



<figure class="wp-block-image"><img decoding="async" src="https://i.hizliresim.com/7anOoa.jpg" alt=""/></figure>



<figure class="wp-block-image"><img decoding="async" src="https://i.hizliresim.com/qdkg4Q.jpg" alt=""/></figure>



<p>&#8220;Finish&#8221; butonuna tıkladıktan sonra biraz beklenir ve eklediğimiz mevcut database bağlantısının modeli oluşturulur.</p>



<figure class="wp-block-image"><img decoding="async" src="https://i.hizliresim.com/MVGz62.jpg" alt=""/></figure>



<p>

Eğer bu yazıyla ilişkin anlatamadığım\anlaşılamayan konular varsa yazının altına yorum yapabilirsiniz.

</p>



<p>İyi akşamlar.</p><p>The post <a href="https://bilisimkurdu.github.io/entity-frameworku-mysqlde-kullanmak/">Entity Framework’ü MYSQL’de kullanmak</a> first appeared on <a href="https://bilisimkurdu.github.io">Bilişim Kurdu</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://bilisimkurdu.github.io/entity-frameworku-mysqlde-kullanmak/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>C# Entity Framework üzerinden &#8220;Select&#8221; ve &#8220;Like&#8221; deyimleri</title>
		<link>https://bilisimkurdu.github.io/c-entity-framework-uzerinden-select-ve-like-deyimleri/</link>
					<comments>https://bilisimkurdu.github.io/c-entity-framework-uzerinden-select-ve-like-deyimleri/#respond</comments>
		
		<dc:creator><![CDATA[Yakup CONTARLI]]></dc:creator>
		<pubDate>Wed, 13 Mar 2019 19:20:13 +0000</pubDate>
				<category><![CDATA[ADO.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Programlama]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[C# Entity Framework like]]></category>
		<category><![CDATA[C# Entity Framework like query]]></category>
		<category><![CDATA[C# Entity Framework like sorguları]]></category>
		<category><![CDATA[C# Entity Framework select]]></category>
		<category><![CDATA[C# Entity Framework select query]]></category>
		<category><![CDATA[C# Entity Framework select sorguları]]></category>
		<category><![CDATA[Entity Framework]]></category>
		<category><![CDATA[like]]></category>
		<category><![CDATA[select]]></category>
		<guid isPermaLink="false">https://bilisimkurdu.github.io/?p=438</guid>

					<description><![CDATA[<p>Merhaba Muhterem Ziyaretçiler, Bu yazımda C# Entity Framework üzerinden birtakım sorguları yapılması üzerinden duracağım. Bildiğiniz üzere C# derslerini Youtube üzerinden yayınlamaktaydım. Yaptığınız geri bildirimlerinize istinaden dersleri blog üzerinden yoğunlaştırmaya karar verdim. Şimdi başlayalım; Where SQL dilinde &#8220;Where&#8221; ifadesini aşağıdaki gibi kullanıyorduk; Entity sorgumuzda kullandığımız context ve entitiesleri tanımladığımız varsayarak; s parametrasiyle studentName değeri &#8220;Bill&#8221; değerini&#8230;</p>
<p>The post <a href="https://bilisimkurdu.github.io/c-entity-framework-uzerinden-select-ve-like-deyimleri/">C# Entity Framework üzerinden “Select” ve “Like” deyimleri</a> first appeared on <a href="https://bilisimkurdu.github.io">Bilişim Kurdu</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Merhaba Muhterem Ziyaretçiler,</p>



<p>Bu yazımda C# Entity Framework üzerinden birtakım sorguları yapılması üzerinden duracağım.</p>



<p>Bildiğiniz üzere C# derslerini Youtube üzerinden yayınlamaktaydım. Yaptığınız geri bildirimlerinize istinaden dersleri blog üzerinden yoğunlaştırmaya karar verdim.</p>



<span id="more-438"></span>



<p>Şimdi başlayalım;</p>



<p><strong>Where</strong></p>



<p>SQL dilinde  &#8220;Where&#8221; ifadesini aşağıdaki gibi kullanıyorduk;</p>



<pre class="wp-block-code"><code>SELECT secilecekSatir FROM tabloAdi WHERE i //i = Where sorgusunda kullanılan ifadeler</code></pre>



<p>Entity sorgumuzda kullandığımız context ve entitiesleri tanımladığımız varsayarak;</p>



<p><strong>s</strong> parametrasiyle studentName değeri &#8220;Bill&#8221; değerini içeren ögeleri listeledik.</p>



<pre class="wp-block-code"><code>//Entity Framework 
//SchoolDBEntities tanımladığımızı varsayıyoruz.
using (var context = new SchoolDBEntities())
{
    var query = context.Students
                       .where(s => s.StudentName == "Bill")
                       .FirstOrDefault&lt;Student>();
}</code></pre>



<p><strong>Like</strong></p>



<p> SQL dilinde  &#8220;Like&#8221; ifadesini aşağıdaki gibi kullanıyorduk; </p>



<pre class="wp-block-code"><code>SELECT secilecekSatir FROM tabloAdi WHERE 
satir LIKE i //i = Like sorgusunda kullanılan ifadeler</code></pre>



<p> Entity sorgumuzda kullandığımız context ve entitiesleri tanımladığımız varsayarak; </p>



<p><code>person</code> değişkenini <code>context.People</code> içine alınıp <code>where person.FirstName.Like("Col%")</code>deyiminden sonra seçilmekte.</p>



<pre class="wp-block-code"><code>var query =
    from person in context.People
    where person.FirstName.Like("Col%")
    select person;</code></pre>



<p>Bu yazımla birlikte C# Entity Framework temel sorguları anlatmış oldum.</p>



<p>Eğer bu yazıyla ilişkin anlatamadığım\anlaşılamayan konular varsa yazının altına yorum yapabilirsiniz.</p>



<p>İyi akşamlar.</p><p>The post <a href="https://bilisimkurdu.github.io/c-entity-framework-uzerinden-select-ve-like-deyimleri/">C# Entity Framework üzerinden “Select” ve “Like” deyimleri</a> first appeared on <a href="https://bilisimkurdu.github.io">Bilişim Kurdu</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://bilisimkurdu.github.io/c-entity-framework-uzerinden-select-ve-like-deyimleri/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
