public override string CreateUploadFieldPathFilename(string tableName, string fieldName, int recordId, string filename, CPContentBaseClass.fileTypeIdEnum fieldType) { var fieldTypeCorrected = (CPContentBaseClass.FieldTypeIdEnum)fieldType; if ((fieldTypeCorrected == CPContentBaseClass.FieldTypeIdEnum.File) || (fieldTypeCorrected == CPContentBaseClass.FieldTypeIdEnum.FileImage)) { return(FileController.getVirtualRecordUnixPathFilename(tableName, fieldName, recordId, filename)); } return(FileController.getVirtualRecordUnixPathFilename(tableName, fieldName, recordId, fieldTypeCorrected)); }
public abstract string CreateUploadFieldPathFilename(string tableName, string fieldName, int recordId, string filename, CPContentBaseClass.fileTypeIdEnum fileType);
public override string CreateFieldPathFilename(string tableName, string fieldName, int recordId, CPContentBaseClass.fileTypeIdEnum fieldType) { return(FileController.getVirtualRecordUnixPathFilename(tableName, fieldName, recordId, (CPContentBaseClass.FieldTypeIdEnum)fieldType)); }