Class CustomEntity
Represents a custom repository entity (like application, component, etc) defined by a user.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public class CustomEntity : DomainObjectBase, IValidator, IExtensibleDataObject, IEquatable<CustomEntity>, IFolderEntity
  Constructors
CustomEntity()
Instanciates an empty instance.
Declaration
public CustomEntity()
  Properties
Description
Gets or sets the entity description.
Declaration
public string Description { get; set; }
  Property Value
| Type | Description | 
|---|---|
| String | 
FolderId
Gets or sets an identifier of folder that entity belongs to.
Declaration
public int? FolderId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Nullable<Int32> | 
FriendlyName
Gets or sets display name of the entity.
Declaration
public string FriendlyName { get; set; }
  Property Value
| Type | Description | 
|---|---|
| String | 
ObjectType
Gets object type identifier.
Declaration
public override EntityType ObjectType { get; }
  Property Value
| Type | Description | 
|---|---|
| EntityType | 
Overrides
Methods
Equals(CustomEntity)
Determines whether the specified behavior is equal to the current behavior.
Declaration
public bool Equals(CustomEntity other)
  Parameters
| Type | Name | Description | 
|---|---|---|
| CustomEntity | other | The behavior to compare with the current behavior.  | 
      
Returns
| Type | Description | 
|---|---|
| Boolean | True, if behaviors are equal. False, if behaviors are not equal.  | 
      
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Object | obj | The object to compare with the current object.  | 
      
Returns
| Type | Description | 
|---|---|
| Boolean | True, if objects are equal. False, if objects are not equal.  | 
      
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
  Returns
| Type | Description | 
|---|---|
| Int32 | Hash code of the current instance.  | 
      
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| String | A string that represents the current object.  | 
      
Overrides
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
  Returns
| Type | Description | 
|---|---|
| Boolean | True if state is valid; otherwise, false.  |