Method | Description | |
---|---|---|
CreateFile ( string fileName, System.Guid listingVersionGuid, System.Guid vendorGuid, System.Web.HttpPostedFile file, System.IO.FileType fileType, List |
||
GetFileById ( int fileId ) : |
Get an media file by its Id
|
|
GetMediaFilesByProjectId ( int projectId ) : List |
Get all the files that are associated with this project
|
|
GetMediaForProjectByType ( int projectId, System.IO.FileType type ) : IEnumerable |
||
GetVersionsFromString ( string p ) : List |
||
Remove ( |
||
SaveOrUpdate ( |
Save or update a media file back to the database.
|
|
ToVersionString ( List |
Method | Description | |
---|---|---|
GetFileTypeAsString ( System.IO.FileType file ) : string |
public CreateFile ( string fileName, System.Guid listingVersionGuid, System.Guid vendorGuid, System.Web.HttpPostedFile file, System.IO.FileType fileType, List |
||
fileName | string | |
listingVersionGuid | System.Guid | |
vendorGuid | System.Guid | |
file | System.Web.HttpPostedFile | |
fileType | System.IO.FileType | |
v | List |
|
dotNetVersion | string | |
mediumTrust | bool | |
return |
public GetFileById ( int fileId ) : |
||
fileId | int | |
return |
public GetMediaFilesByProjectId ( int projectId ) : List |
||
projectId | int | |
return | List |
public GetMediaForProjectByType ( int projectId, System.IO.FileType type ) : IEnumerable |
||
projectId | int | |
type | System.IO.FileType | |
return | IEnumerable |
public static GetVersionsFromString ( string p ) : List |
||
p | string | |
return | List |
public Remove ( |
||
file | ||
return | void |
public SaveOrUpdate ( |
||
file | ||
return | void |
public static ToVersionString ( List |
||
Versions | List |
|
return | string |