Ejemplo n.º 1
0
 /// <summary>
 /// 执行sql语句,返回受影响的行数
 /// </summary>
 /// <param name="sql">sql</param>
 /// <param name="parameters">参数</param>
 /// <returns>返回受影响的行数</returns>
 public static int ExecuteSqlCommand(string sql, params object[] parameters)
 {
     return(DALStatic.ExecuteSqlCommand(sql, parameters));
 }
Ejemplo n.º 2
0
 public int DeleteRoleCode(string sqls, string role_code)
 {
     return(DALStatic.ExecuteSqlCommand(sqls, role_code));
 }