Class Category
Defines a Category in ImageVault
Inheritance
System.Object
Category
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.Common.Data
Assembly: ImageVault.Common.dll
Syntax
public class Category : IItem<int>
Constructors
Category()
Initializes a new instance of the Category class.
Declaration
public Category()
Category(Category)
Initializes a new instance of the Category class.
Declaration
public Category(Category category)
Parameters
Type | Name | Description |
---|---|---|
Category | category |
Properties
Categories
Get/Sets the Categories of the Category
Declaration
public IList<Category> Categories { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Category> | The System.Collections.Generic.IList<T> containing the child categories for the category |
Id
Get/Sets the Id of the Category
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The id of the category |
IsUsed
If the category is assigned to any media item Needs to be popualated
Declaration
public bool? IsUsed { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Name
Get/Sets the Name of the Category
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the category |
ParentId
id of the parent category
Declaration
public int ParentId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |