Наследование: System.Data.Objects.DataClasses.EntityObject
Пример #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);
 }
Пример #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;
 }