C# Class Serenity.Services.EmbeddedFileUploadBehaviourAttribute

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

Méthodes publiques

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

Private Methods

Méthode Description
CopyTemporaryFile ( ISaveRequestHandler handler, FilesToDelete filesToDelete ) : CopyTemporaryFileResult

Method Details

EmbeddedFileUploadBehaviourAttribute() public méthode

public EmbeddedFileUploadBehaviourAttribute ( string fileNameField, string fileNameFormat = "{1:00000}/{0:00000000}_{2}", bool copyFileToHistory = false, string subFolder = null, bool storeSubFolderInDB = false ) : Serenity.Data
fileNameField string
fileNameFormat string
copyFileToHistory 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