{"id":442,"date":"2019-03-21T22:13:07","date_gmt":"2019-03-21T19:13:07","guid":{"rendered":"http:\/\/localhost\/bilisimkurdu\/?p=442"},"modified":"2019-03-21T22:13:07","modified_gmt":"2019-03-21T19:13:07","slug":"entity-frameworku-mysqlde-kullanmak","status":"publish","type":"post","link":"http:\/\/localhost\/bilisimkurdu\/entity-frameworku-mysqlde-kullanmak\/","title":{"rendered":"Entity Framework’\u00fc MYSQL’de kullanmak"},"content":{"rendered":"\n

Merhaba Arkada\u015flar,<\/p>\n\n\n\n

Bu yaz\u0131mda Entity Framework’\u00fc MYSQL’de kullanmay\u0131 anlataca\u011f\u0131m.<\/p>\n\n\n\n

\u00d6ncelikle MYSQL for Visual Studio ve MYSQL Connector\/NET bilgisayar\u0131m\u0131zda y\u00fckl\u00fc olmas\u0131 gerekmektedir.<\/p>\n\n\n\n\n\n\n\n

MYSQL for Visual Studio (MSI Installer): https:\/\/dev.mysql.com\/downloads\/windows\/visualstudio\/<\/a><\/p>\n\n\n\n

MYSQL Connector\/NET : https:\/\/dev.mysql.com\/downloads\/connector\/net\/8.0.html<\/a><\/p>\n\n\n\n

adreslerinden temin edebilirsiniz.<\/p>\n\n\n\n

MYSQL for Visual Studio kurarken “Warning : The devenv \/updateconfiguration command may have failed” hatas\u0131 al\u0131yorsan\u0131z buyurun.<\/p>

The devenv \/updateconfiguration command may have failed<\/a>
<\/p><\/blockquote>\n\n\n\n

Peki program\u0131 y\u00fckledim nas\u0131l kullanaca\u011f\u0131m?<\/p>\n\n\n\n

Visual Studio’yu a\u00e7\u0131p projemizi olu\u015fturduktan sonra;<\/p>\n\n\n\n

Sa\u011f t\u0131k -> Add Item -> Data -> ADO.NET Data Model<\/p>\n\n\n\n

\"\"\/<\/figure>\n\n\n\n
\"\"\/<\/figure>\n\n\n\n
\"\"\/<\/figure>\n\n\n\n

“Data Source” se\u00e7ene\u011finde “MySQL Database” se\u00e7ilip “OK” butonuna t\u0131klan\u0131r.<\/p>\n\n\n\n

\"\"\/<\/figure>\n\n\n\n

Gerekli bilgileri girildikten sonra “OK” butonuna t\u0131klan\u0131r.<\/p>\n\n\n\n

\"\"\/<\/figure>\n\n\n\n

Akabinde “Next” butonuna t\u0131kland\u0131ktan sonra ADO.NET penceresi kendili\u011finden kapan\u0131r.<\/p>\n\n\n\n

\"\"\/<\/figure>\n\n\n\n

Solution Explorer sekmesinde beyaz karenin i\u00e7inde bulunan simgeye t\u0131kland\u0131ktan sonra kar\u015f\u0131m\u0131za \u00e7\u0131kan pencerelerden \u00e7\u0131kan se\u00e7eneklere dokunmadan “Next” butonuna t\u0131kl\u0131yoruz.<\/p>\n\n\n\n

\"\"\/<\/figure>\n\n\n\n
\"\"\/<\/figure>\n\n\n\n
\"\"\/<\/figure>\n\n\n\n
\"\"\/<\/figure>\n\n\n\n
\"\"\/<\/figure>\n\n\n\n
\"\"\/<\/figure>\n\n\n\n
\"\"\/<\/figure>\n\n\n\n

“Finish” butonuna t\u0131klad\u0131ktan sonra biraz beklenir ve ekledi\u011fimiz mevcut database ba\u011flant\u0131s\u0131n\u0131n modeli olu\u015fturulur.<\/p>\n\n\n\n

\"\"\/<\/figure>\n\n\n\n

\n\nE\u011fer bu yaz\u0131yla ili\u015fkin anlatamad\u0131\u011f\u0131m\\anla\u015f\u0131lamayan konular varsa yaz\u0131n\u0131n alt\u0131na yorum yapabilirsiniz.\n\n<\/p>\n\n\n\n

\u0130yi ak\u015famlar.<\/p>\n","protected":false},"excerpt":{"rendered":"

Merhaba Arkada\u015flar, Bu yaz\u0131mda Entity Framework’\u00fc MYSQL’de kullanmay\u0131 anlataca\u011f\u0131m. \u00d6ncelikle MYSQL for Visual Studio ve MYSQL Connector\/NET bilgisayar\u0131m\u0131zda y\u00fckl\u00fc olmas\u0131 gerekmektedir.<\/p>\n","protected":false},"author":3,"featured_media":443,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[89,90,96,84,85],"tags":[146,147,148,149,273,274,275,348,349,350],"_links":{"self":[{"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/posts\/442"}],"collection":[{"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/comments?post=442"}],"version-history":[{"count":0,"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/posts\/442\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/media\/443"}],"wp:attachment":[{"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/media?parent=442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/categories?post=442"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/localhost\/bilisimkurdu\/wp-json\/wp\/v2\/tags?post=442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}