Class DatabaseBlob
Inheritance
System.Object
DatabaseBlob
Implements
IHasExtraProperties
IMultiTenant
Assembly: Volo.Abp.BlobStoring.Database.Domain.dll
Syntax
public class DatabaseBlob : AggregateRoot<Guid>, IAggregateRoot<Guid>, IEntity<Guid>, IAggregateRoot, IEntity, IGeneratesDomainEvents, IHasExtraProperties, IHasConcurrencyStamp, IMultiTenant
Constructors
DatabaseBlob(Guid, Guid, String, Byte[], Nullable<Guid>)
Declaration
public DatabaseBlob(Guid id, Guid containerId, string name, byte[] content, Guid? tenantId = null)
Parameters
Type |
Name |
Description |
Guid |
id |
|
Guid |
containerId |
|
System.String |
name |
|
System.Byte[] |
content |
|
System.Nullable<Guid> |
tenantId |
|
Properties
ContainerId
Declaration
public virtual Guid ContainerId { get; protected set; }
Property Value
Content
Declaration
public virtual byte[] Content { get; protected set; }
Property Value
Type |
Description |
System.Byte[] |
|
Name
Declaration
public virtual string Name { get; protected set; }
Property Value
Type |
Description |
System.String |
|
TenantId
Declaration
public virtual Guid? TenantId { get; protected set; }
Property Value
Type |
Description |
System.Nullable<Guid> |
|
Methods
CheckContentLength(Byte[])
Declaration
protected virtual byte[] CheckContentLength(byte[] content)
Parameters
Type |
Name |
Description |
System.Byte[] |
content |
|
Returns
Type |
Description |
System.Byte[] |
|
SetContent(Byte[])
Declaration
public virtual void SetContent(byte[] content)
Parameters
Type |
Name |
Description |
System.Byte[] |
content |
|
Implements
IHasExtraProperties
IMultiTenant
Extension Methods