Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the GlobalAudits EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGlobalAudits(GlobalAudit globalAudit)
 {
     base.AddObject("GlobalAudits", globalAudit);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new GlobalAudit object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="tableName">Initial value of the TableName property.</param>
 /// <param name="columnName">Initial value of the ColumnName property.</param>
 /// <param name="oldValue">Initial value of the OldValue property.</param>
 /// <param name="newValue">Initial value of the NewValue property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="operation">Initial value of the Operation property.</param>
 /// <param name="applicationId">Initial value of the ApplicationId property.</param>
 public static GlobalAudit CreateGlobalAudit(global::System.Int32 id, global::System.String tableName, global::System.String columnName, global::System.String oldValue, global::System.String newValue, global::System.String createdBy, global::System.DateTime createdDate, global::System.String operation, global::System.String applicationId)
 {
     GlobalAudit globalAudit = new GlobalAudit();
     globalAudit.Id = id;
     globalAudit.TableName = tableName;
     globalAudit.ColumnName = columnName;
     globalAudit.OldValue = oldValue;
     globalAudit.NewValue = newValue;
     globalAudit.CreatedBy = createdBy;
     globalAudit.CreatedDate = createdDate;
     globalAudit.Operation = operation;
     globalAudit.ApplicationId = applicationId;
     return globalAudit;
 }