Esempio n. 1
0
 /// <summary>
 /// Create a new Package object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="fullName">Initial value of the FullName property.</param>
 /// <param name="version">Initial value of the Version property.</param>
 /// <param name="slot">Initial value of the Slot property.</param>
 public static Package CreatePackage(global::System.Int64 id, global::System.String fullName, global::System.String version, global::System.Int64 slot)
 {
     Package package = new Package();
     package.ID = id;
     package.FullName = fullName;
     package.Version = version;
     package.Slot = slot;
     return package;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Packages EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPackages(Package package)
 {
     base.AddObject("Packages", package);
 }