files in accordance with exactly how we are saving them currently and it is all working... expcept the new uploader can do multiple files. It is now persisting to the database as well.
23 lines
697 B
C#
23 lines
697 B
C#
namespace Umbraco.Web.Models.ContentEditing
|
|
{
|
|
/// <summary>
|
|
/// Represents an uploaded file for a particular property
|
|
/// </summary>
|
|
public class ContentItemFile
|
|
{
|
|
/// <summary>
|
|
/// The property id associated with the file
|
|
/// </summary>
|
|
public int PropertyId { get; set; }
|
|
|
|
/// <summary>
|
|
/// The original file name
|
|
/// </summary>
|
|
public string FileName { get; set; }
|
|
|
|
/// <summary>
|
|
/// The file path for the uploaded file for where the MultipartFormDataStreamProvider has saved the temp file
|
|
/// </summary>
|
|
public string TempFilePath { get; set; }
|
|
}
|
|
} |