// create a row in the table using the current values public int CreateFromCurrent(SqlTransaction trans) { CustomerData dao = new CustomerData(ConnStr, trans); Id = dao.Create(Name, Email, Password); return(Id); }