Class DataProperty
Represents a custom name/value property.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class DataProperty : IEquatable<DataProperty>
  Constructors
DataProperty()
Initializes an empty instance.
Declaration
public DataProperty()
  DataProperty(String, String)
Initializes new instance with provided name and value.
Declaration
public DataProperty(string name, string value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| String | name | Property name.  | 
      
| String | value | Property value.  | 
      
Properties
Name
Gets or sets the property name.
Declaration
public string Name { get; set; }
  Property Value
| Type | Description | 
|---|---|
| String | 
Value
Gets or sets the property value.
Declaration
public string Value { get; set; }
  Property Value
| Type | Description | 
|---|---|
| String | 
Methods
Equals(DataProperty)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(DataProperty other)
  Parameters
| Type | Name | Description | 
|---|---|---|
| DataProperty | other | The object to compare with the current object.  | 
      
Returns
| Type | Description | 
|---|---|
| Boolean | True, if objects are equal. False, if objects 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 text presentation of the object.
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| String | Text presentation of the object.  |