Show / Hide Table of Contents

Class BlobEntity

Carrier object for BlobEntity. Services for the BlobEntity Carrier is available from the BLOB Agent.

Inheritance
object
BlobEntity
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class BlobEntity : Carrier
Examples

Get BlobEntity 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
   var agent = new BLOBAgent();
   var blobEntity = agent.GetBlobEntity( 123 );
}

Constructors

BlobEntity()

Default constructor

Declaration
public BlobEntity()
See Also
IBLOBAgent

Properties

BlobId

Primary key

Declaration
[DataMember]
public virtual int BlobId { get; set; }
Property Value
Type Description
int
See Also
IBLOBAgent

BlobSize

The length, in bytes, of the binary data AS STORED after any encryption and/or zipping. Important to get right, since some databases will not tell us just based on the blob itself!

Declaration
[DataMember]
public virtual uint BlobSize { get; set; }
Property Value
Type Description
uint
See Also
IBLOBAgent

ConceptualType

The type, for instance PHOTO, PERSONPHOTO, or whatever, that is descriptive of what kind of image or data this is

Declaration
[DataMember]
public virtual string ConceptualType { get; set; }
Property Value
Type Description
string
See Also
IBLOBAgent

CreatedBy

The person that first created the document. The property is read-only.

Declaration
[DataMember]
public virtual Associate CreatedBy { get; set; }
Property Value
Type Description
Associate
See Also
IBLOBAgent

CreatedDate

Registered when in UTC.

Declaration
[DataMember]
public virtual DateTime CreatedDate { get; set; }
Property Value
Type Description
DateTime
See Also
IBLOBAgent

Description

A description that is entered by the user, and visible to the user

Declaration
[DataMember]
public virtual string Description { get; set; }
Property Value
Type Description
string
See Also
IBLOBAgent

ExtraInfo

Extra information, spare field, can be used for anything that makes sense. Should not refer to any particular context, that is something for the BinaryObjectLInk

Declaration
[DataMember]
public virtual string ExtraInfo { get; set; }
Property Value
Type Description
string
See Also
IBLOBAgent

IsEncrypted

Has the data been encrypted.

Declaration
[DataMember]
public virtual bool IsEncrypted { get; set; }
Property Value
Type Description
bool
See Also
IBLOBAgent

IsZipped

Has the data been zipped.

Declaration
[DataMember]
public virtual bool IsZipped { get; set; }
Property Value
Type Description
bool
See Also
IBLOBAgent

MimeType

Mime type, describing the technical type (image/jpeg) of the data

Declaration
[DataMember]
public virtual string MimeType { get; set; }
Property Value
Type Description
string
See Also
IBLOBAgent

OriginalSize

Original size of the binary data, before encryption and/or zipping. This is what the ultimate client will get

Declaration
[DataMember]
public virtual uint OriginalSize { get; set; }
Property Value
Type Description
uint
See Also
IBLOBAgent

UpdatedBy

The person that last updated the appointment.

Declaration
[DataMember]
public virtual Associate UpdatedBy { get; set; }
Property Value
Type Description
Associate
See Also
IBLOBAgent

UpdatedDate

Last updated when in UTC.

Declaration
[DataMember]
public virtual DateTime UpdatedDate { get; set; }
Property Value
Type Description
DateTime
See Also
IBLOBAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IBLOBAgent

ToString(string)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
string prefix

The line prefix (typically used for indenting)

Returns
Type Description
string

The carrier contents.

See Also
IBLOBAgent

See Also

IBLOBAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top