/// <summary> /// Create a new BocadilloIngrediente object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="idUsuario">Initial value of the IdUsuario property.</param> /// <param name="idBocadillo">Initial value of the IdBocadillo property.</param> /// <param name="idIngrediente">Initial value of the IdIngrediente property.</param> public static BocadilloIngrediente CreateBocadilloIngrediente(global::System.Int32 id, global::System.Int32 idUsuario, global::System.Int32 idBocadillo, global::System.Int32 idIngrediente) { BocadilloIngrediente bocadilloIngrediente = new BocadilloIngrediente(); bocadilloIngrediente.Id = id; bocadilloIngrediente.IdUsuario = idUsuario; bocadilloIngrediente.IdBocadillo = idBocadillo; bocadilloIngrediente.IdIngrediente = idIngrediente; return bocadilloIngrediente; }
/// <summary> /// Deprecated Method for adding a new object to the BocadilloIngredientes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBocadilloIngredientes(BocadilloIngrediente bocadilloIngrediente) { base.AddObject("BocadilloIngredientes", bocadilloIngrediente); }