コード例 #1
0
 /// <summary>
 /// Create a new AuditEvent object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="time">Initial value of the Time property.</param>
 /// <param name="user">Initial value of the User property.</param>
 public static AuditEvent CreateAuditEvent(global::System.Int32 id, global::System.DateTime time, global::System.String user)
 {
     AuditEvent auditEvent = new AuditEvent();
     auditEvent.Id = id;
     auditEvent.Time = time;
     auditEvent.User = user;
     return auditEvent;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AuditEvents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAuditEvents(AuditEvent auditEvent)
 {
     base.AddObject("AuditEvents", auditEvent);
 }