/// <summary> /// Deprecated Method for adding a new object to the tblTipoCombustivel EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblTipoCombustivel(tblTipoCombustivel tblTipoCombustivel) { base.AddObject("tblTipoCombustivel", tblTipoCombustivel); }
/// <summary> /// Create a new tblTipoCombustivel object. /// </summary> /// <param name="idTipoCombustivel">Initial value of the idTipoCombustivel property.</param> /// <param name="descricao">Initial value of the descricao property.</param> public static tblTipoCombustivel CreatetblTipoCombustivel(global::System.Int32 idTipoCombustivel, global::System.String descricao) { tblTipoCombustivel tblTipoCombustivel = new tblTipoCombustivel(); tblTipoCombustivel.idTipoCombustivel = idTipoCombustivel; tblTipoCombustivel.descricao = descricao; return tblTipoCombustivel; }