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