Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Libraries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLibraries(Library library)
 {
     base.AddObject("Libraries", library);
 }