/// <summary> /// Deprecated Method for adding a new object to the librarycards EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTolibrarycards(librarycard librarycard) { base.AddObject("librarycards", librarycard); }
/// <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; }