コード例 #1
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);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Package object.
 /// </summary>
 /// <param name="packageID">Initial value of the PackageID property.</param>
 /// <param name="packageName">Initial value of the PackageName property.</param>
 /// <param name="hidden">Initial value of the Hidden property.</param>
 /// <param name="deleted">Initial value of the Deleted property.</param>
 public static Package CreatePackage(global::System.Int32 packageID, global::System.String packageName, global::System.Boolean hidden, global::System.Boolean deleted)
 {
     Package package = new Package();
     package.PackageID = packageID;
     package.PackageName = packageName;
     package.Hidden = hidden;
     package.Deleted = deleted;
     return package;
 }