Ejemplo n.º 1
0
 internal static void ExistNameOREmail(string name, out bool bName, string email, out bool bEmail)
 {
     DBH.Out(QA.DBCS_MAIN, CommandType.Text, "SELECT (SELECT COUNT(name) FROM user_account WHERE name=@name),(SELECT COUNT(email)  FROM user_account WHERE email=@email)", out bName, out bEmail,
             new SqlParameter("@name", name),
             new SqlParameter("@email", email));
 }