/// <summary> /// Create a new SharedFiles object. /// </summary> /// <param name="itemID">Initial value of the ItemID property.</param> /// <param name="moduleID">Initial value of the ModuleID property.</param> /// <param name="uploadUserID">Initial value of the UploadUserID property.</param> /// <param name="friendlyName">Initial value of the FriendlyName property.</param> /// <param name="originalFileName">Initial value of the OriginalFileName 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="folderID">Initial value of the FolderID property.</param> public static SharedFiles CreateSharedFiles(global::System.Int32 itemID, global::System.Int32 moduleID, global::System.Int32 uploadUserID, global::System.String friendlyName, global::System.String originalFileName, global::System.String serverFileName, global::System.Int32 sizeInKB, global::System.DateTime uploadDate, global::System.Int32 folderID) { SharedFiles sharedFiles = new SharedFiles(); sharedFiles.ItemID = itemID; sharedFiles.ModuleID = moduleID; sharedFiles.UploadUserID = uploadUserID; sharedFiles.FriendlyName = friendlyName; sharedFiles.OriginalFileName = originalFileName; sharedFiles.ServerFileName = serverFileName; sharedFiles.SizeInKB = sizeInKB; sharedFiles.UploadDate = uploadDate; sharedFiles.FolderID = folderID; return sharedFiles; }
/// <summary> /// Deprecated Method for adding a new object to the SharedFiles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSharedFiles(SharedFiles sharedFiles) { base.AddObject("SharedFiles", sharedFiles); }