C# Class MongoDB.GridFS.GridFSExtensions

Mostrar archivo Open project: dannycoates/mongo-clr4-driver

Public Methods

Method Description
FileExists ( this col, string name ) : bool
GetFile ( this col, string name ) : FileInfo
GridFS ( this db ) : Collection
RemoveFile ( this col, string name ) : void

Private Methods

Method Description
ChunkCollection ( this col ) : Collection
FilesCollection ( this col ) : Collection
FindFile ( this col, string name ) : Doc

Method Details

FileExists() public static method

public static FileExists ( this col, string name ) : bool
col this
name string
return bool

GetFile() public static method

public static GetFile ( this col, string name ) : FileInfo
col this
name string
return FileInfo

GridFS() public static method

public static GridFS ( this db ) : Collection
db this
return Collection

RemoveFile() public static method

public static RemoveFile ( this col, string name ) : void
col this
name string
return void