/// <summary> /// Deprecated Method for adding a new object to the VoteTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVoteTypes(VoteType voteType) { base.AddObject("VoteTypes", voteType); }
/// <summary> /// Create a new VoteType object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static VoteType CreateVoteType(global::System.Byte id) { VoteType voteType = new VoteType(); voteType.Id = id; return voteType; }