Class DbVault
Defines a Vault in ImageVault
Inheritance
System.Object
DbVault
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Core.Common.DbEntities
Assembly: ImageVault.Core.dll
Syntax
public class DbVault
Constructors
DbVault()
Initializes a new instance of the DbVault class.
Declaration
public DbVault()
DbVault(Vault)
Initializes a new instance of the DbVault class.
Declaration
public DbVault(Vault vault)
Parameters
Type | Name | Description |
---|---|---|
Vault | vault |
Properties
AltTextMetadataDefinition
Gets the AltTextMetadataDefinition of the Vault
Declaration
public DbVaultMetadataDefinition AltTextMetadataDefinition { get; }
Property Value
Type | Description |
---|---|
DbVaultMetadataDefinition |
DeletedDate
Date when the vault was marked as deleted
Declaration
public DateTime? DeletedDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Description
Get/Sets the Description of the Vault
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MetadataDefinitions
get/sets the metadatadefinitions of the Vault
Declaration
public IList<DbVaultMetadataDefinition> MetadataDefinitions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<DbVaultMetadataDefinition> |
Name
Get/Sets the Name of the Vault
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Settings
Keeps track of custom settings for the vault
Declaration
public string Settings { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TitleMetadataDefinition
Gets the TitleMetadataDefinition of the Vault
Declaration
public DbVaultMetadataDefinition TitleMetadataDefinition { get; }
Property Value
Type | Description |
---|---|
DbVaultMetadataDefinition |
VaultAccess
Get/Sets the DbVaultAccess of the Vault
Declaration
public ICollection<DbVaultAccess> VaultAccess { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<DbVaultAccess> |
VaultId
Get/Sets the VaultId of the Vault
Declaration
public int VaultId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
ToVault(Boolean, Boolean)
Creates a Vault item for the current DBVault
Declaration
public Vault ToVault(bool populateMetadataDefinitions = false, bool populateAccessList = false)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | populateMetadataDefinitions | |
System.Boolean | populateAccessList |
Returns
Type | Description |
---|---|
Vault |