/// <summary> /// Create a new Library object. /// </summary> /// <param name="libraryId">Initial value of the LibraryId property.</param> /// <param name="name">Initial value of the Name property.</param> public static Library CreateLibrary(global::System.Int32 libraryId, global::System.String name) { Library library = new Library(); library.LibraryId = libraryId; library.Name = name; return library; }
/// <summary> /// Deprecated Method for adding a new object to the Libraries EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLibraries(Library library) { base.AddObject("Libraries", library); }