Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the librarycards EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTolibrarycards(librarycard librarycard)
 {
     base.AddObject("librarycards", librarycard);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new librarycard object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="personId">Initial value of the PersonId property.</param>
 public static librarycard Createlibrarycard(global::System.Int64 id, global::System.Int64 personId)
 {
     librarycard librarycard = new librarycard();
     librarycard.Id = id;
     librarycard.PersonId = personId;
     return librarycard;
 }