コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UsersFlashcards EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUsersFlashcards(UsersFlashcard usersFlashcard)
 {
     base.AddObject("UsersFlashcards", usersFlashcard);
 }
コード例 #2
0
 /// <summary>
 /// Create a new UsersFlashcard object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="flashcardId">Initial value of the FlashcardId property.</param>
 /// <param name="score">Initial value of the Score property.</param>
 public static UsersFlashcard CreateUsersFlashcard(global::System.Int32 id, global::System.Int32 userId, global::System.Int32 flashcardId, global::System.Int16 score)
 {
     UsersFlashcard usersFlashcard = new UsersFlashcard();
     usersFlashcard.id = id;
     usersFlashcard.UserId = userId;
     usersFlashcard.FlashcardId = flashcardId;
     usersFlashcard.Score = score;
     return usersFlashcard;
 }