Example #1
0
        public static int Add(string pDenumire, IDbTransaction pTranzactie)
        {
            int id = DClienti.Add(BUtilizator.GetIdUtilizatorConectat(pTranzactie), pDenumire.Trim(), 0, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, 0, 0, string.Empty, 0, string.Empty, 0, 0, CConstante.DataNula, string.Empty, 0, pTranzactie);

            return(id);
        }
Example #2
0
        /// <summary>
        /// Metoda de clasa ce permite adaugarea unui obiect de tip DClienti
        /// </summary>
        /// <param name="pDenumire"></param>
        /// <param name="pTipClient"></param>
        /// <param name="pDenumireFiscala"></param>
        /// <param name="pCUI"></param>
        /// <param name="pRegCom"></param>
        /// <param name="pTelefonMobil"></param>
        /// <param name="pTelefonFix"></param>
        /// <param name="pFax"></param>
        /// <param name="pContSkype"></param>
        /// <param name="pAdresaMail"></param>
        /// <param name="pPaginaWeb"></param>
        /// <param name="pObservatiiDateClinica"></param>
        /// <param name="pTipRecomandant"></param>
        /// <param name="pIdRecomandant"></param>
        /// <param name="pIBAN"></param>
        /// <param name="pIdBanca"></param>
        /// <param name="pReprezentantLegal"></param>
        /// <param name="pCalitateReprezentant"></param>
        /// <param name="pNumarContract"></param>
        /// <param name="pDataContract"></param>
        /// <param name="pObservatiiDateFirma"></param>
        /// <returns></returns>
        /// <remarks></remarks>
        public static int Add(string pDenumire, int pTipClient, string pDenumireFiscala, string pCUI, string pRegCom, string pTelefonMobil, string pTelefonFix, string pFax, string pContSkype, string pAdresaMail, string pPaginaWeb, string pObservatiiDateClinica, int pTipRecomandant, int pIdRecomandant, string pIban, int pIdBanca, string pReprezentantLegal, int pCalitateReprezentant, int pNumarContract, DateTime pDataContract, string pObservatiiDateFirma, int xnIdAgentVanzari, IDbTransaction pTranzactie)
        {
            int id = DClienti.Add(BUtilizator.GetIdUtilizatorConectat(pTranzactie), pDenumire, pTipClient, pDenumireFiscala, pCUI, pRegCom, pTelefonMobil, pTelefonFix, pFax, pContSkype, pAdresaMail, pPaginaWeb, pObservatiiDateClinica, pTipRecomandant, pIdRecomandant, pIban, pIdBanca, pReprezentantLegal, pCalitateReprezentant, pNumarContract, pDataContract, pObservatiiDateFirma, xnIdAgentVanzari, pTranzactie);

            return(id);
        }