Exemple #1
0
        public Customer(Customer customer)
        {
            CustomerDataAcces sqlComunicator = new CustomerDataAcces(customer);

            DataAcces.Instance.AddData(sqlComunicator);
        }
Exemple #2
0
        public Customer(string identy)
        {
            CustomerDataAcces sqlComunicator = new CustomerDataAcces(identy);

            this.ID = (Guid)DataAcces.Instance.GetData(sqlComunicator).Rows[0][0];
        }