Пример #1
0
 /// <summary>
 /// Create a new autoeditor_election object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="candidate">Initial value of the candidate property.</param>
 /// <param name="proposer">Initial value of the proposer property.</param>
 /// <param name="status">Initial value of the status property.</param>
 /// <param name="yes_votes">Initial value of the yes_votes property.</param>
 /// <param name="no_votes">Initial value of the no_votes property.</param>
 /// <param name="propose_time">Initial value of the propose_time property.</param>
 public static autoeditor_election Createautoeditor_election(global::System.Int32 id, global::System.Int32 candidate, global::System.Int32 proposer, global::System.Int32 status, global::System.Int32 yes_votes, global::System.Int32 no_votes, global::System.DateTime propose_time)
 {
     autoeditor_election autoeditor_election = new autoeditor_election();
     autoeditor_election.id = id;
     autoeditor_election.candidate = candidate;
     autoeditor_election.proposer = proposer;
     autoeditor_election.status = status;
     autoeditor_election.yes_votes = yes_votes;
     autoeditor_election.no_votes = no_votes;
     autoeditor_election.propose_time = propose_time;
     return autoeditor_election;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the autoeditor_election EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToautoeditor_election(autoeditor_election autoeditor_election)
 {
     base.AddObject("autoeditor_election", autoeditor_election);
 }