public void Insert()
        {
            ReportID = Convert.ToInt32(container.Insert());

            qPtl_Reports report = new qPtl_Reports();

            qPtl_Task task = new qPtl_Task();

            task.Insert(report.UserID, 4, null, null, null, null, 0, "Pending", "Pending Site Report", "Report pending review -- report = " + report.message, 2, 22, report.ReportID);
        }
        public void Insert(Int32 user_id, Int32 scope_id, String available, DateTime?created, Int32 created_by, DateTime?last_modified, Int32 last_modified_by, Int32 mark_as_delete, String message, String contact_name, String contact_email, String status, Int32 temp_session_id, String referral_url)
        {
            UserID         = user_id;
            ScopeID        = scope_id;
            Available      = available;
            Created        = created;
            CreatedBy      = created_by;
            LastModified   = last_modified;
            LastModifiedBy = last_modified_by;
            MarkAsDelete   = mark_as_delete;
            Message        = message;
            ContactName    = contact_name;
            ContactEmail   = contact_email;
            Status         = status;
            TempSessionID  = temp_session_id;
            ReferralURL    = referral_url;

            ReportID = Convert.ToInt32(container.Insert());

            qPtl_Task task = new qPtl_Task();

            task.Insert(UserID, 4, null, null, null, null, 0, "Pending", "Pending Site Report", "Report pending review -- report = " + message, 2, 22, ReportID);
        }