Ejemplo n.º 1
0
        /*
        ** Name: SqlEx constructor for IngresException factory
        **
        ** Description:
        **	Record where to find the factory that can create
        **	an instance of IngresException.  This resolves the
        **	circular reference problem across the assemblies
        **	and yet still restrict access away from the public.
        **
        ** Input:
        **	sqlExFactory	IngresExceptionFactory.
        **
        ** Output:
        **	None.
        **
        ** History:
        **	23-Nov-03 (thoda04)
        **	    Created.
        */

        internal SqlEx(ISqlExFactory _providerExFactory)
        {
            // return if we already have the ProviderExceptionFactory
            if (providerExFactory != null)
            {
                return;
            }

            // this factory will help SqlEx get
            // IngresException object
            providerExFactory = _providerExFactory;
        }
Ejemplo n.º 2
0
        /*
        ** Name: SqlEx constructor for IngresException factory
        **
        ** Description:
        **	Record where to find the factory that can create
        **	an instance of IngresException.  This resolves the
        **	circular reference problem across the assemblies
        **	and yet still restrict access away from the public.
        **
        ** Input:
        **	sqlExFactory	IngresExceptionFactory.
        **
        ** Output:
        **	None.
        **
        ** History:
        **	23-Nov-03 (thoda04)
        **	    Created.
        */
        internal SqlEx(ISqlExFactory _providerExFactory)
        {
            // return if we already have the ProviderExceptionFactory
            if (providerExFactory != null)
                return;

            // this factory will help SqlEx get
            // IngresException object
            providerExFactory = _providerExFactory;
        }