/// <summary> /// Create a new Library object. /// </summary> /// <param name="libraryId">Initial value of the LibraryId property.</param> /// <param name="libraryName">Initial value of the LibraryName property.</param> public static Library CreateLibrary(global::System.Int32 libraryId, global::System.String libraryName) { Library library = new Library(); library.LibraryId = libraryId; library.LibraryName = libraryName; 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); }