Search Results for

    Show / Hide Table of Contents

    Class Category

    Defines a Category in ImageVault

    Inheritance
    System.Object
    Category
    Implements
    IItem<System.Int32>
    Namespace: ImageVault.Common.Data
    Assembly: ImageVault.Common.dll
    Syntax
    public class Category : Object, 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<> 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 Nullable<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

    Implements

    IItem<T>

    Extension Methods

    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022