/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the ActivationLogs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToActivationLogs(ActivationLog activationLog) { base.AddObject("ActivationLogs", activationLog); }