Beispiel #1
0
 /// <summary>
 /// Create a new ActivityLog object.
 /// </summary>
 /// <param name="activityID">Initial value of the ActivityID property.</param>
 /// <param name="membershipID">Initial value of the MembershipID property.</param>
 /// <param name="tableName">Initial value of the TableName property.</param>
 /// <param name="dateTime">Initial value of the DateTime property.</param>
 /// <param name="action">Initial value of the Action property.</param>
 /// <param name="iPAddress">Initial value of the IPAddress property.</param>
 public static ActivityLog CreateActivityLog(global::System.Int32 activityID, global::System.Int32 membershipID, global::System.String tableName, global::System.DateTime dateTime, global::System.String action, global::System.String iPAddress)
 {
     ActivityLog activityLog = new ActivityLog();
     activityLog.ActivityID = activityID;
     activityLog.MembershipID = membershipID;
     activityLog.TableName = tableName;
     activityLog.DateTime = dateTime;
     activityLog.Action = action;
     activityLog.IPAddress = iPAddress;
     return activityLog;
 }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ActivityLogs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToActivityLogs(ActivityLog activityLog)
 {
     base.AddObject("ActivityLogs", activityLog);
 }