Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.lang.visual-basic > #18866

Re: Architettura interna di ADO.Net

X-Received by 10.129.156.6 with SMTP id t6mr5662788ywg.16.1475875761530; Fri, 07 Oct 2016 14:29:21 -0700 (PDT)
X-Received by 10.36.65.36 with SMTP id x36mr62931ita.4.1475875761486; Fri, 07 Oct 2016 14:29:21 -0700 (PDT)
Path csiph.com!1.us.feeder.erje.net!feeder.erje.net!2.us.feeder.erje.net!news.glorb.com!g45no691678qte.1!news-out.google.com!203ni2986itk.0!nntp.google.com!o19no1032890ito.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups it.comp.lang.visual-basic
Date Fri, 7 Oct 2016 14:29:20 -0700 (PDT)
In-Reply-To <b6ee2fc6-7c4c-43fd-a314-b55e5a718161@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=93.44.85.193; posting-account=4c3DWgoAAADQcJJevo-GlQ6CVmV90H2x
NNTP-Posting-Host 93.44.85.193
References <6df688b1-a619-48d9-ae14-75771252eeec@googlegroups.com> <b6ee2fc6-7c4c-43fd-a314-b55e5a718161@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <526a5606-aa26-4ee0-89d0-60be9fa9f9f1@googlegroups.com> (permalink)
Subject Re: Architettura interna di ADO.Net
From Antologiko <antologiko@gmail.com>
Injection-Date Fri, 07 Oct 2016 21:29:21 +0000
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Xref csiph.com it.comp.lang.visual-basic:18866

Show key headers only | View raw


Ciao, grazie della risposta.
A dire il vero non capisco la necessita del metodo OnCreateXX().
Secondo me basta definire nella classe base

Public Function CreateXX() As BaseXX
    Return New BaseXX()
End Function

e poi, nella classe derivata

Public Overloads Function CreateXX() As DerivataXX
    Return New DerivataXX()
End Function

Però questo secondo me non spiega, nel caso della classe OleDbConnection, che fine abbia fatto il metodo CreateCommand As DbCommand.

In altre parole, secondo me, nella classe derivata dovrebbero risultare visibili, sia il metodo

Public Overloads Function CreateXX() As DerivataXX

che il metodo originale

Public Function CreateXX() As BaseXX

O sbaglio?

Back to it.comp.lang.visual-basic | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Architettura interna di ADO.Net Antologiko <antologiko@gmail.com> - 2016-10-06 17:55 -0700
  Re: Architettura interna di ADO.Net Luca D <antaniserse@yahoo.it> - 2016-10-07 05:17 -0700
    Re: Architettura interna di ADO.Net Antologiko <antologiko@gmail.com> - 2016-10-07 14:29 -0700
      Re: Architettura interna di ADO.Net Luca D <antaniserse@yahoo.it> - 2016-10-07 15:11 -0700
        Re: Architettura interna di ADO.Net Antologiko <antologiko@gmail.com> - 2016-10-08 02:30 -0700
          Re: Architettura interna di ADO.Net Luca D <antaniserse@yahoo.it> - 2016-10-09 01:18 -0700
            Re: Architettura interna di ADO.Net Antologiko <antologiko@gmail.com> - 2016-10-09 15:44 -0700

csiph-web