C# Class Serenity.Services.EmbeddedMultiFileUploadBehaviourAttribute

Inheritance: SaveRequestBehaviourAttribute
Afficher le fichier Open project: volkanceylan/Serenity

Méthodes publiques

Méthode Description
EmbeddedMultiFileUploadBehaviourAttribute ( string filesField, string fileNameFormat = "{1:00000}/{0:00000000}_{2}", bool copyFilesToHistory = false, string subFolder = null, bool storeSubFolderInDB = false ) : Serenity.Data
OnAfterSave ( ISaveRequestHandler handler ) : void
OnBeforeSave ( ISaveRequestHandler handler ) : void

Private Methods

Méthode Description
CopyTemporaryFiles ( ISaveRequestHandler handler, UploadedFile oldFileList, UploadedFile newFileList, FilesToDelete filesToDelete ) : string
ParseAndValidate ( string json, string key ) : UploadedFile[]

Method Details

EmbeddedMultiFileUploadBehaviourAttribute() public méthode

public EmbeddedMultiFileUploadBehaviourAttribute ( string filesField, string fileNameFormat = "{1:00000}/{0:00000000}_{2}", bool copyFilesToHistory = false, string subFolder = null, bool storeSubFolderInDB = false ) : Serenity.Data
filesField string
fileNameFormat string
copyFilesToHistory bool
subFolder string
storeSubFolderInDB bool
Résultat Serenity.Data

OnAfterSave() public méthode

public OnAfterSave ( ISaveRequestHandler handler ) : void
handler ISaveRequestHandler
Résultat void

OnBeforeSave() public méthode

public OnBeforeSave ( ISaveRequestHandler handler ) : void
handler ISaveRequestHandler
Résultat void