BLL.Asignaturas.Insertar C# (CSharp) Méthode

Insertar() public méthode

public Insertar ( ) : bool
Résultat bool
        public bool Insertar()
        {
            return Conexion.EjecutarDB("insert into Asignaturas(Codigo, Nombre, Creditos, Activo)" +
            "Values('" + this.Codigo + "','" + this.Nombre + "'," + this.Creditos + ",'" + this.Activo + "')");
        }