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