コード例 #1
0
 /// <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;
 }
コード例 #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);
 }