Exemplo n.º 1
0
        private void ArmarParametrosPlataformaEliminar(ref SqlCommand Comando, Plataforma cat)
        {
            SqlParameter SqlParametros = new SqlParameter();

            SqlParametros       = Comando.Parameters.Add("@Cod_Plataforma_P", SqlDbType.Char, 4);
            SqlParametros.Value = cat.getCodigoPlataforma();
        }
Exemplo n.º 2
0
        private void ArmarParametrosPlataformas(ref SqlCommand Comando, Plataforma p)
        {
            SqlParameter SqlParametros = new SqlParameter();

            SqlParametros       = Comando.Parameters.Add("@Cod_Plataforma_p", SqlDbType.Char, 4);
            SqlParametros.Value = p.getCodigoPlataforma();
            SqlParametros       = Comando.Parameters.Add("@Nombre_Plataforma_p", SqlDbType.NVarChar, 60);
            SqlParametros.Value = p.getNombrePlataforma();
        }