Пример #1
0
 /// <summary>
 /// Create a new vote object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="editor">Initial value of the editor property.</param>
 /// <param name="edit">Initial value of the edit property.</param>
 /// <param name="vote1">Initial value of the vote1 property.</param>
 /// <param name="superseded">Initial value of the superseded property.</param>
 public static vote Createvote(global::System.Int32 id, global::System.Int32 editor, global::System.Int32 edit, global::System.Int16 vote1, global::System.Boolean superseded)
 {
     vote vote = new vote();
     vote.id = id;
     vote.editor = editor;
     vote.edit = edit;
     vote.vote1 = vote1;
     vote.superseded = superseded;
     return vote;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the votes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovotes(vote vote)
 {
     base.AddObject("votes", vote);
 }