/// <summary> /// Create a new SharedFilesHistory object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="itemID">Initial value of the ItemID property.</param> /// <param name="moduleID">Initial value of the ModuleID property.</param> /// <param name="friendlyName">Initial value of the FriendlyName property.</param> /// <param name="serverFileName">Initial value of the ServerFileName property.</param> /// <param name="sizeInKB">Initial value of the SizeInKB property.</param> /// <param name="uploadDate">Initial value of the UploadDate property.</param> /// <param name="archiveDate">Initial value of the ArchiveDate property.</param> /// <param name="uploadUserID">Initial value of the UploadUserID property.</param> public static SharedFilesHistory CreateSharedFilesHistory(global::System.Int32 id, global::System.Int32 itemID, global::System.Int32 moduleID, global::System.String friendlyName, global::System.String serverFileName, global::System.Int32 sizeInKB, global::System.DateTime uploadDate, global::System.DateTime archiveDate, global::System.Int32 uploadUserID) { SharedFilesHistory sharedFilesHistory = new SharedFilesHistory(); sharedFilesHistory.ID = id; sharedFilesHistory.ItemID = itemID; sharedFilesHistory.ModuleID = moduleID; sharedFilesHistory.FriendlyName = friendlyName; sharedFilesHistory.ServerFileName = serverFileName; sharedFilesHistory.SizeInKB = sizeInKB; sharedFilesHistory.UploadDate = uploadDate; sharedFilesHistory.ArchiveDate = archiveDate; sharedFilesHistory.UploadUserID = uploadUserID; return sharedFilesHistory; }
/// <summary> /// Deprecated Method for adding a new object to the SharedFilesHistories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSharedFilesHistories(SharedFilesHistory sharedFilesHistory) { base.AddObject("SharedFilesHistories", sharedFilesHistory); }