C# Class Disco.Services.AttachmentDataStoreExtensions

Mostrar archivo Open project: garysharp/Disco

Public Methods

Method Description
RepositoryDelete ( this Attachment, DiscoDataContext Database ) : void
RepositoryFilename ( this Attachment, DiscoDataContext Database ) : string
RepositoryThumbnailFilename ( this Attachment, DiscoDataContext Database ) : string
SaveAttachment ( this Attachment, DiscoDataContext Database, Stream FileContent ) : string
SaveAttachment ( this Attachment, DiscoDataContext Database, byte FileContent ) : string
SaveThumbnailAttachment ( this Attachment, DiscoDataContext Database, Image Thumbnail ) : string
SaveThumbnailAttachment ( this Attachment, DiscoDataContext Database, Stream FileContent ) : string
SaveThumbnailAttachment ( this Attachment, DiscoDataContext Database, byte FileContent ) : string

Method Details

RepositoryDelete() public static method

public static RepositoryDelete ( this Attachment, DiscoDataContext Database ) : void
Attachment this
Database Disco.Data.Repository.DiscoDataContext
return void

RepositoryFilename() public static method

public static RepositoryFilename ( this Attachment, DiscoDataContext Database ) : string
Attachment this
Database Disco.Data.Repository.DiscoDataContext
return string

RepositoryThumbnailFilename() public static method

public static RepositoryThumbnailFilename ( this Attachment, DiscoDataContext Database ) : string
Attachment this
Database Disco.Data.Repository.DiscoDataContext
return string

SaveAttachment() public static method

public static SaveAttachment ( this Attachment, DiscoDataContext Database, Stream FileContent ) : string
Attachment this
Database Disco.Data.Repository.DiscoDataContext
FileContent Stream
return string

SaveAttachment() public static method

public static SaveAttachment ( this Attachment, DiscoDataContext Database, byte FileContent ) : string
Attachment this
Database Disco.Data.Repository.DiscoDataContext
FileContent byte
return string

SaveThumbnailAttachment() public static method

public static SaveThumbnailAttachment ( this Attachment, DiscoDataContext Database, Image Thumbnail ) : string
Attachment this
Database Disco.Data.Repository.DiscoDataContext
Thumbnail Image
return string

SaveThumbnailAttachment() public static method

public static SaveThumbnailAttachment ( this Attachment, DiscoDataContext Database, Stream FileContent ) : string
Attachment this
Database Disco.Data.Repository.DiscoDataContext
FileContent Stream
return string

SaveThumbnailAttachment() public static method

public static SaveThumbnailAttachment ( this Attachment, DiscoDataContext Database, byte FileContent ) : string
Attachment this
Database Disco.Data.Repository.DiscoDataContext
FileContent byte
return string