Class DbCollection
Defines a collection in ImageVault
Inheritance
System.Object
DbCollection
Implements
IItem<System.Int32>
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 DbCollection
Constructors
DbCollection()
Default constructor
Declaration
public DbCollection()
DbCollection(Collection)
Copy constructor
Declaration
public DbCollection(Collection collection)
Parameters
| Type | Name | Description |
|---|---|---|
| Collection | collection |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException |
Properties
Id
The id of the collection
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Name
Defines the Name of the collection
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
NumberOfItems
The number of mediaitems added to the collection
Declaration
public int NumberOfItems { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
ToCollection()
Converts to a collection object
Declaration
public Collection ToCollection()
Returns
| Type | Description |
|---|---|
| Collection |