/// <summary> /// Deprecated Method for adding a new object to the Setores EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSetores(Setor setor) { base.AddObject("Setores", setor); }
/// <summary> /// Create a new Setor object. /// </summary> /// <param name="descricao">Initial value of the Descricao property.</param> /// <param name="id">Initial value of the Id property.</param> public static Setor CreateSetor(global::System.String descricao, global::System.Int64 id) { Setor setor = new Setor(); setor.Descricao = descricao; setor.Id = id; return setor; }