Estudio public

@walterbrunetti 

Para revisar, y dejar notas, saludos!
el menu es  un error! lo use en un comienzo para probar el algoritmo que
genera el public id.

Lo borro la proxima

2014-10-02 13:01 GMT-03:00 Walter <notifications@github.com>:

> In CedirDataAccess/Consultas.vb:
>
> > @@ -575,6 +575,27 @@ com & " inner join " & com & "cedirData" & com & "." & com & "tblMedicosSol" & c
> >      End Function
> >
> >
> > +
> > +    Public Function ExisteEstudioNuevoPublicID(ByVal posiblePublicID As String) As Boolean
> > +        Dim com As String = """"
> > +        Dim cmd As New NpgsqlCommand("select COUNT(*)  from " & com & "cedirData" & com & "." & com & "tblEstudios" & com & _
> > +        " where " & com & "publicID" & com & "  = '" & posiblePublicID & "' ", myConnection)
> > +        Try
> > +            Dim id As Integer = cmd.ExecuteScalar()
> > +
> > +            If id > 0 Then
> > +                Return True
> > +            End If
> > +
> > +        Catch ex As ExecutionEngineException
> > +            Return "METODO: ExisteEstudioNuevoPublicID DE LA CLASE Consultas . " & ex.Message
> > +        Finally
>
> este Finally no hace nada, habira que removerlo
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/cedir/intranet/pull/18/files#r18348489>.
>