public ProveedoresOnLine.AsociateProvider.Client.Interfaces.IAsociateProviderClientData GetAsociateProviderClientInstance()
        {
            Type typetoreturn = Type.GetType("ProveedoresOnLine.AsociateProvider.Client.DAL.MySQLDAO.AsociateProviderClient_MySqlDao,ProveedoresOnLine.AsociateProvider.Client");

            ProveedoresOnLine.AsociateProvider.Client.Interfaces.IAsociateProviderClientData oRetorno = (ProveedoresOnLine.AsociateProvider.Client.Interfaces.IAsociateProviderClientData)Activator.CreateInstance(typetoreturn);
            return(oRetorno);
        }
Esempio n. 2
0
        public AsociateProviderClientController()
        {
            AsociateProviderClientDataFactory factory = new AsociateProviderClientDataFactory();

            DataFactory = factory.GetAsociateProviderClientInstance();
        }