Class MetadataInfo
A serializable representation of a metadata
Inheritance
System.Object
MetadataInfo
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Core.DataAccess.Repositories
Assembly: ImageVault.Core.dll
Syntax
public class MetadataInfo
Constructors
MetadataInfo()
General constructor, needed for deserialization of json
Declaration
public MetadataInfo()
MetadataInfo(DbMetadata)
DbMetadata copy-constructor
Declaration
public MetadataInfo(DbMetadata metadata)
Parameters
Type | Name | Description |
---|---|---|
DbMetadata | metadata | Source object |
MetadataInfo(Int32, Int32, Object)
Explicit constructor
Declaration
public MetadataInfo(int versionId, int metadataDefinitionId, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | versionId | |
System.Int32 | metadataDefinitionId | |
System.Object | value |
Properties
MetadataDefinitionId
Metadata definitionID
Declaration
public int MetadataDefinitionId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Value
Metadata Value
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
VersionId
Metadata Version ID
Declaration
public int VersionId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()