public void Execute(JobExecutionContext context)
        {
            var awsInstanceStatus =
                new AwsEc2Status
                    {
                        Id = Guid.NewGuid(),
                        Message = "Pulse: " + DateTime.Now.ToShortTimeString() + " Currently all systems are operational.",
                        Stamp = DateTime.Now
                    };

            db.AwsEc2Status.AddObject(awsInstanceStatus);
            db.SaveChanges();
        }
 /// <summary>
 /// Create a new AwsEc2Status object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="message">Initial value of the Message property.</param>
 /// <param name="stamp">Initial value of the Stamp property.</param>
 public static AwsEc2Status CreateAwsEc2Status(global::System.Guid id, global::System.String message, global::System.DateTime stamp)
 {
     AwsEc2Status awsEc2Status = new AwsEc2Status();
     awsEc2Status.Id = id;
     awsEc2Status.Message = message;
     awsEc2Status.Stamp = stamp;
     return awsEc2Status;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the AwsEc2Status EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAwsEc2Status(AwsEc2Status awsEc2Status)
 {
     base.AddObject("AwsEc2Status", awsEc2Status);
 }