コード例 #1
0
ファイル: DB.Designer.cs プロジェクト: staxmanade/Scutex
 /// <summary>
 /// Deprecated Method for adding a new object to the LicenseSets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLicenseSets(LicenseSet licenseSet)
 {
     base.AddObject("LicenseSets", licenseSet);
 }
コード例 #2
0
ファイル: DB.Designer.cs プロジェクト: staxmanade/Scutex
 /// <summary>
 /// Create a new LicenseSet object.
 /// </summary>
 /// <param name="licenseSetId">Initial value of the LicenseSetId property.</param>
 /// <param name="licenseId">Initial value of the LicenseId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="licenseType">Initial value of the LicenseType property.</param>
 /// <param name="uniquePad">Initial value of the UniquePad property.</param>
 public static LicenseSet CreateLicenseSet(global::System.Int32 licenseSetId, global::System.Int32 licenseId, global::System.String name, global::System.Int32 licenseType, global::System.Guid uniquePad)
 {
     LicenseSet licenseSet = new LicenseSet();
     licenseSet.LicenseSetId = licenseSetId;
     licenseSet.LicenseId = licenseId;
     licenseSet.Name = name;
     licenseSet.LicenseType = licenseType;
     licenseSet.UniquePad = uniquePad;
     return licenseSet;
 }