Syntax

         
 C#  Visual Basic  Visual C++ 
[SerializableAttribute]
public abstract class BusinessBase<TYPE, KEY> where TYPE : new(), BusinessBase<TYPE, KEY>
<SerializableAttribute> _
Public MustInherit Class BusinessBase(Of TYPE As {New, BusinessBase(Of TYPE, KEY)}, KEY)
[SerializableAttribute]
generic<typename TYPE, typename KEY>
where TYPE : gcnew(), BusinessBase<TYPE, KEY>
public ref class BusinessBase abstract

Type Parameters

TYPE
KEY

The type exposes the following properties.

Properties

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
Public propertyDateCreated
The date on which the instance was created.
Public propertyDateModified
The date on which the instance was modified.
Protected propertyDirtyProperties
A collection of the properties that have been marked as being dirty.
Public propertyId
Gets the unique Identification of the object.
Public propertyIsDeleted
Gets if this object is marked for deletion.
Public propertyIsDirty
Gets if this object's data has been changed.
Protected propertyIsDisposed
Gets or sets if the object has been disposed.

Remarks

If the objects is disposed, it must not be disposed a second time. The IsDisposed property is set the first time the object is disposed. If the IsDisposed property is true, then the Dispose() method will not dispose again. This help not to prolong the object's life if the Garbage Collector.
Public propertyIsNew
Gets if this is a new object, False if it is a pre-existing object.
Public propertyIsValid
Gets whether the object is valid or not.
Public propertyValidationMessage
If the object has broken business rules, use this property to get access to the different validation messages.

See Also

BlogEngine.Core Namespace