Inheritance: System.Data.Objects.DataClasses.EntityObject
Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LawVote EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLawVote(LawVote lawVote)
 {
     base.AddObject("LawVote", lawVote);
 }
Exemplo n.º 2
0
 /// <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;
 }