Method | Description | |
---|---|---|
CalcMD5 ( ) : string | ||
Create ( ) : |
Creates the file named FileName and returns the GridFileStream
|
|
Create ( FileMode mode ) : |
||
Create ( FileMode mode, FileAccess access ) : |
||
Delete ( ) : void |
Permanently removes a file from the database.
|
|
GridFileInfo ( |
||
GridFileInfo ( |
||
MoveTo ( String newFileName ) : void |
Renames a file.
|
|
Open ( FileMode mode, FileAccess access ) : |
||
OpenRead ( ) : |
Creates a read-only GridFileStream to an existing file.
|
|
OpenWrite ( ) : |
Creates a write-only GridFileStream to an existing file.
|
|
Refresh ( ) : void |
Reloads the file information from the database. The data in the database will not reflect any changes done through an open stream until it is closed. |
|
ToDocument ( ) : |
||
ToString ( ) : string | ||
Truncate ( ) : void |
Deletes all data in a file and sets the length to 0.
|
|
UpdateInfo ( ) : void |
Updates the aliases, contentType, metadata and uploadDate in the database. To rename a file use the MoveTo method. |
Method | Description | |
---|---|---|
LoadFileData ( ) : void | ||
SetFileDataDefaults ( string filename ) : void |
public Create ( FileMode mode ) : |
||
mode | FileMode | |
return |
public Create ( FileMode mode, FileAccess access ) : |
||
mode | FileMode | |
access | FileAccess | |
return |
public GridFileInfo ( |
||
db | ||
filename | string | |
return | System |
public GridFileInfo ( |
||
db | ||
bucket | string | |
filename | string | |
return | System |
public Open ( FileMode mode, FileAccess access ) : |
||
mode | FileMode | |
access | FileAccess | |
return |