Beispiel #1
0
 /// <summary>
 /// Create a new ActivationLog object.
 /// </summary>
 /// <param name="activationLogId">Initial value of the ActivationLogId property.</param>
 /// <param name="licenseKey">Initial value of the LicenseKey property.</param>
 /// <param name="activationResult">Initial value of the ActivationResult property.</param>
 /// <param name="timestamp">Initial value of the Timestamp property.</param>
 public static ActivationLog CreateActivationLog(global::System.Int32 activationLogId, global::System.String licenseKey, global::System.Int32 activationResult, global::System.DateTime timestamp)
 {
     ActivationLog activationLog = new ActivationLog();
     activationLog.ActivationLogId = activationLogId;
     activationLog.LicenseKey = licenseKey;
     activationLog.ActivationResult = activationResult;
     activationLog.Timestamp = timestamp;
     return activationLog;
 }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ActivationLogs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToActivationLogs(ActivationLog activationLog)
 {
     base.AddObject("ActivationLogs", activationLog);
 }