Categories are a way to organize posts.
A post can be in multiple categories.
Namespace: BlogEngine.Core
Assembly: BlogEngine.Core (in BlogEngine.Core.dll)
Version: 1.2.0.0
Syntax
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class Category : BusinessBase<Category, Guid>
<SerializableAttribute> _ Public Class Category _ Inherits BusinessBase(Of Category, Guid)
[SerializableAttribute] public ref class Category : public BusinessBase<Category^, Guid>
Members
| All Members | Constructors | Properties | Methods | Events |
| Member | Description | |
|---|---|---|
| CategoryCategoryNew()() |
Initializes a new instance of the Category class.
| |
| CategoryCategoryNew(String, String) | ||
| AddRule(String, String, Boolean) |
Add or remove a broken rule.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| Categories |
Gets an unsorted list of all Categories.
| |
| DataDelete()() |
Deletes the object from the data store.
(Overrides BusinessBase<(Of <TYPE, KEY>)>..::DataDelete()().) | |
| DataInsert()() |
Inserts a new object to the data store.
(Overrides BusinessBase<(Of <TYPE, KEY>)>..::DataInsert()().) | |
| DataSelect(Guid) |
Retrieves the object from the data store and populates it.
(Overrides BusinessBase<(Of <TYPE, KEY>)>..::DataSelect(KEY).) | |
| DataUpdate()() |
Updates the object in its data store.
(Overrides BusinessBase<(Of <TYPE, KEY>)>..::DataUpdate()().) | |
| DateCreated |
The date on which the instance was created.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| DateModified |
The date on which the instance was modified.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| Delete()() |
Marks the object for deletion. It will then be
deleted when the object's Save() method is called.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| Description |
Gets or sets the Description or the object.
| |
| DirtyProperties |
A collection of the properties that have
been marked as being dirty.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| Dispose(Boolean) |
Disposes the object and frees ressources for the Garbage Collector.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| Equals(Object) |
Comapares this object with another
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| Finalize()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetCategory(Guid) |
Returns a category based on the specified id.
| |
| GetHashCode()() |
A uniquely key to identify this particullar instance of the class
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| GetType()() | Gets the Type of the current instance. (Inherited from Object.) | |
| Id |
Gets the unique Identification of the object.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| IsDeleted |
Gets if this object is marked for deletion.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| IsDirty |
Gets if this object's data has been changed.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| IsDisposed |
Gets or sets if the object has been disposed.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
| |
| IsNew |
Gets if this is a new object, False if it is a pre-existing object.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| IsPropertyDirty(String) |
Check whether or not the specified property has been changed
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| IsPropertyDirty(array<String>[]()) |
Check whether or not the specified properties has been changed
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| IsValid |
Gets whether the object is valid or not.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| MarkDirty(String) |
Marks an object as being dirty, or changed.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| MarkedDirty |
Occurs when this instance is marked dirty.
It means the instance has been changed but not saved.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| MarkOld()() |
Marks the object as being an clean,
which means not dirty.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| MemberwiseClone()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnMarkedDirty()() |
Raises the MarkedDirty event safely.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| Save()() |
Saves the object to the database.
(Overrides BusinessBase<(Of <TYPE, KEY>)>..::Save()().) | |
| Title |
Gets or sets the Title or the object.
| |
| ToString()() | (Overrides Object..::ToString()().) | |
| ValidationMessage |
If the object has broken business rules, use this property to get access
to the different validation messages.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| ValidationRules()() |
Reinforces the business rules by adding additional rules to the
broken rules collection.
(Overrides BusinessBase<(Of <TYPE, KEY>)>..::ValidationRules()().) |
Inheritance Hierarchy
See Also
BlogEngine.Core Namespace