/// <summary> /// Deprecated Method for adding a new object to the Sala EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSala(Sala sala) { base.AddObject("Sala", sala); }
/// <summary> /// Create a new Sala object. /// </summary> /// <param name="idSala">Initial value of the IdSala property.</param> /// <param name="nombre">Initial value of the Nombre property.</param> /// <param name="estado">Initial value of the Estado property.</param> public static Sala CreateSala(global::System.Int32 idSala, global::System.String nombre, global::System.String estado) { Sala sala = new Sala(); sala.IdSala = idSala; sala.Nombre = nombre; sala.Estado = estado; return sala; }