コード例 #1
0
 /// <summary>
 /// Create a new Audit object.
 /// </summary>
 /// <param name="auditID">Initial value of the AuditID property.</param>
 /// <param name="changeTypeID">Initial value of the ChangeTypeID property.</param>
 /// <param name="tableName">Initial value of the TableName property.</param>
 /// <param name="primaryKeyField">Initial value of the PrimaryKeyField property.</param>
 /// <param name="primaryKeyValue">Initial value of the PrimaryKeyValue property.</param>
 /// <param name="revisionStatus">Initial value of the RevisionStatus property.</param>
 /// <param name="modifiedBy">Initial value of the ModifiedBy property.</param>
 /// <param name="modifiedDateUtc">Initial value of the ModifiedDateUtc property.</param>
 /// <param name="modifiedSystemID">Initial value of the ModifiedSystemID property.</param>
 public static Audit CreateAudit(global::System.Int32 auditID, global::System.Int32 changeTypeID, global::System.String tableName, global::System.String primaryKeyField, global::System.Int32 primaryKeyValue, global::System.Int32 revisionStatus, global::System.String modifiedBy, global::System.DateTime modifiedDateUtc, global::System.Int32 modifiedSystemID)
 {
     Audit audit = new Audit();
     audit.AuditID = auditID;
     audit.ChangeTypeID = changeTypeID;
     audit.TableName = tableName;
     audit.PrimaryKeyField = primaryKeyField;
     audit.PrimaryKeyValue = primaryKeyValue;
     audit.RevisionStatus = revisionStatus;
     audit.ModifiedBy = modifiedBy;
     audit.ModifiedDateUtc = modifiedDateUtc;
     audit.ModifiedSystemID = modifiedSystemID;
     return audit;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Audit EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAudit(Audit audit)
 {
     base.AddObject("Audit", audit);
 }