Наследование: System.Data.Objects.DataClasses.EntityObject
Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserLawVote EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserLawVote(UserLawVote userLawVote)
 {
     base.AddObject("UserLawVote", userLawVote);
 }
Пример #2
0
 /// <summary>
 /// Create a new UserLawVote object.
 /// </summary>
 /// <param name="userLawVoteId">Initial value of the UserLawVoteId property.</param>
 public static UserLawVote CreateUserLawVote(global::System.Int32 userLawVoteId)
 {
     UserLawVote userLawVote = new UserLawVote();
     userLawVote.UserLawVoteId = userLawVoteId;
     return userLawVote;
 }