Inheritance: System.Data.Objects.DataClasses.EntityObject
示例#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);
 }
示例#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;
 }