예제 #1
0
 /// <summary>
 /// Create a new LicenseActivation object.
 /// </summary>
 /// <param name="licenseActivationId">Initial value of the LicenseActivationId property.</param>
 /// <param name="licenseKeyId">Initial value of the LicenseKeyId property.</param>
 /// <param name="activationToken">Initial value of the ActivationToken property.</param>
 /// <param name="activatedOn">Initial value of the ActivatedOn property.</param>
 /// <param name="activationStatus">Initial value of the ActivationStatus property.</param>
 /// <param name="activationStatusUpdatedOn">Initial value of the ActivationStatusUpdatedOn property.</param>
 public static LicenseActivation CreateLicenseActivation(global::System.Int32 licenseActivationId, global::System.Int32 licenseKeyId, global::System.Guid activationToken, global::System.DateTime activatedOn, global::System.Int32 activationStatus, global::System.DateTime activationStatusUpdatedOn)
 {
     LicenseActivation licenseActivation = new LicenseActivation();
     licenseActivation.LicenseActivationId = licenseActivationId;
     licenseActivation.LicenseKeyId = licenseKeyId;
     licenseActivation.ActivationToken = activationToken;
     licenseActivation.ActivatedOn = activatedOn;
     licenseActivation.ActivationStatus = activationStatus;
     licenseActivation.ActivationStatusUpdatedOn = activationStatusUpdatedOn;
     return licenseActivation;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LicenseActivations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLicenseActivations(LicenseActivation licenseActivation)
 {
     base.AddObject("LicenseActivations", licenseActivation);
 }