コード例 #1
0
ファイル: Model1.Designer.cs プロジェクト: protechdm/TMD
 /// <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(Packages packages)
 {
     base.AddObject("Packages", packages);
 }
コード例 #2
0
ファイル: Model1.Designer.cs プロジェクト: protechdm/TMD
 /// <summary>
 /// Create a new Packages object.
 /// </summary>
 /// <param name="packageID">Initial value of the PackageID property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Packages CreatePackages(global::System.Int32 packageID, global::System.DateTime addDate, global::System.Byte[] rowVersion)
 {
     Packages packages = new Packages();
     packages.PackageID = packageID;
     packages.AddDate = addDate;
     packages.RowVersion = rowVersion;
     return packages;
 }