Inheritance: System.Data.Objects.DataClasses.EntityObject
コード例 #1
0
ファイル: DB.Designer.cs プロジェクト: friism/folketsting
 /// <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
ファイル: DB.Designer.cs プロジェクト: friism/folketsting
 /// <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;
 }