<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>WinForms</title><link>https://www.dotnetzone.gr:443/cs/forums/12/ShowForum.aspx</link><description>Θέματα για rich client / windows εφαρμογές, σε οποιαδήποτε γλώσσα (VB.NET, C#, managed C++, κ.α.)</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: DbProviderFactory</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/16323.aspx</link><pubDate>Tue, 05 Sep 2006 22:57:06 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:16323</guid><dc:creator>Dimitris Papadimitriou</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/16323.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=16323</wfw:commentRss><description>Ορίστε ένα παράδειγμα για το connection object. Με τον ίδιο τρόπο μπορείς να δημιουργήσεις και τους DataAdapters, DataReaders κλπ.&lt;br /&gt;
&lt;br /&gt;
public function GetConnection() as IDbConnection&lt;br /&gt;
&lt;br /&gt;
   Dim connection as IDbConnection&lt;br /&gt;
&lt;br /&gt;
   if dbtype="oracle" then&lt;br /&gt;
&lt;br /&gt;
      connection = new sqlconnection&lt;br /&gt;
&lt;br /&gt;
   else&lt;br /&gt;
&lt;br /&gt;
      connection = new oracleconnection&lt;br /&gt;
&lt;br /&gt;
   end if&lt;br /&gt;
&lt;br /&gt;
   connection.open&lt;br /&gt;
&lt;br /&gt;
   return connection&lt;br /&gt;
&lt;br /&gt;
end function</description></item><item><title>Απ: DbProviderFactory</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/16322.aspx</link><pubDate>Tue, 05 Sep 2006 22:56:23 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:16322</guid><dc:creator>KelMan</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/16322.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=16322</wfw:commentRss><description>&lt;P&gt;Υπάρχει στο zip (&lt;A href="/cs/forums/10779/ShowPost.aspx"&gt;http://www.dotnetzone.gr/cs/forums/10779/ShowPost.aspx&lt;/A&gt;), είναι το Common Programming Model&lt;/P&gt;</description></item><item><title>DbProviderFactory</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/16318.aspx</link><pubDate>Tue, 05 Sep 2006 22:47:19 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:16318</guid><dc:creator>gmlogic</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/16318.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=16318</wfw:commentRss><description>&lt;P&gt;Θα ήθελα λίγο βοήθεια πως μπορώ να&amp;nbsp; γράφω generic κώδικα όσον αφορά τους&amp;nbsp; providers της βάσης&lt;/P&gt;
&lt;P&gt;πχ αν το connection είναι sql ή oledb να έχω κοινά τα dataadapters κλπ &lt;/P&gt;
&lt;P&gt;Είχε γίνη μια αναφορά σε event ADO.NET.2 του Μάνου Κελαιδίτη αλλά δεν βρισκώ το κώδικα του παραδείγματος&lt;/P&gt;
&lt;P&gt;Ευχαριστώ&lt;/P&gt;</description></item></channel></rss>