Inheritance: System.Data.Objects.DataClasses.EntityObject
Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PoliticianLawVote EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPoliticianLawVote(PoliticianLawVote politicianLawVote)
 {
     base.AddObject("PoliticianLawVote", politicianLawVote);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new PoliticianLawVote object.
 /// </summary>
 /// <param name="politicianLawVoteId">Initial value of the PoliticianLawVoteId property.</param>
 public static PoliticianLawVote CreatePoliticianLawVote(global::System.Int32 politicianLawVoteId)
 {
     PoliticianLawVote politicianLawVote = new PoliticianLawVote();
     politicianLawVote.PoliticianLawVoteId = politicianLawVoteId;
     return politicianLawVote;
 }