/// <summary> /// Deprecated Method for adding a new object to the FilesDownloadAuditTrails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFilesDownloadAuditTrails(FilesDownloadAuditTrail filesDownloadAuditTrail) { base.AddObject("FilesDownloadAuditTrails", filesDownloadAuditTrail); }
/// <summary> /// Create a new FilesDownloadAuditTrail object. /// </summary> /// <param name="fileID">Initial value of the FileID property.</param> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="dateTimeDownloaded">Initial value of the DateTimeDownloaded property.</param> public static FilesDownloadAuditTrail CreateFilesDownloadAuditTrail(global::System.Guid fileID, global::System.Guid userID, global::System.DateTime dateTimeDownloaded) { FilesDownloadAuditTrail filesDownloadAuditTrail = new FilesDownloadAuditTrail(); filesDownloadAuditTrail.FileID = fileID; filesDownloadAuditTrail.UserID = userID; filesDownloadAuditTrail.DateTimeDownloaded = dateTimeDownloaded; return filesDownloadAuditTrail; }