Exemple #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AuditAlert EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAuditAlert(AuditAlert auditAlert)
 {
     base.AddObject("AuditAlert", auditAlert);
 }
Exemple #2
0
 /// <summary>
 /// Create a new AuditAlert object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="alertType">Initial value of the AlertType property.</param>
 /// <param name="dateCreated">Initial value of the DateCreated property.</param>
 /// <param name="iDDivision">Initial value of the IDDivision property.</param>
 /// <param name="processed">Initial value of the Processed property.</param>
 public static AuditAlert CreateAuditAlert(global::System.Guid id, global::System.String alertType, global::System.DateTime dateCreated, global::System.Guid iDDivision, global::System.Boolean processed)
 {
     AuditAlert auditAlert = new AuditAlert();
     auditAlert.ID = id;
     auditAlert.AlertType = alertType;
     auditAlert.DateCreated = dateCreated;
     auditAlert.IDDivision = iDDivision;
     auditAlert.Processed = processed;
     return auditAlert;
 }