Class DbCategory
Summary description for DbCategory.
Inheritance
System.Object
DbCategory
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 DbCategory
Constructors
DbCategory()
Constructor
Declaration
public DbCategory()
DbCategory(Category)
Constructor
Declaration
public DbCategory(Category category)
Parameters
Type | Name | Description |
---|---|---|
Category | category |
Properties
Categories
Get/Sets the child categories of the DbCategory
Declaration
public IList<DbCategory> Categories { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<DbCategory> |
CategoryId
Get/Sets the CategoryId of the DbCategory
Declaration
public int CategoryId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
Get/Sets the Name of the DbCategory
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ParentCategoryId
Get/Sets the ParentCategoryId of the DbCategory
Declaration
public int? ParentCategoryId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Methods
ToCategory(Int32[])
Declaration
public Category ToCategory(int[] parentId = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int32[] | parentId |
Returns
Type | Description |
---|---|
Category |