/// <summary>
 /// Create a new Audit object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="auditCode">Initial value of the AuditCode property.</param>
 /// <param name="auditDescription">Initial value of the AuditDescription property.</param>
 /// <param name="schduledDate">Initial value of the SchduledDate property.</param>
 /// <param name="auditType_Audit">Initial value of the AuditType_Audit property.</param>
 /// <param name="auditStatus_Audit">Initial value of the AuditStatus_Audit property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Audit CreateAudit(global::System.Int32 id, global::System.String auditCode, global::System.String auditDescription, global::System.DateTime schduledDate, global::System.Int32 auditType_Audit, global::System.Int32 auditStatus_Audit, global::System.Byte[] rowVersion)
 {
     Audit audit = new Audit();
     audit.Id = id;
     audit.AuditCode = auditCode;
     audit.AuditDescription = auditDescription;
     audit.SchduledDate = schduledDate;
     audit.AuditType_Audit = auditType_Audit;
     audit.AuditStatus_Audit = auditStatus_Audit;
     audit.RowVersion = rowVersion;
     return audit;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Audits EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAudits(Audit audit)
 {
     base.AddObject("Audits", audit);
 }