Class PropertyMap
Represents a property mapping in the Dynamic Data Store
Inheritance
System.Object
    PropertyMap
      
      
      
      
  Namespace: EPiServer.Data.Dynamic
Assembly: EPiServer.Data.dll
Version: 12.0.3Syntax
public abstract class PropertyMap : ObjectConstructors
PropertyMap(PropertyMap)
Declaration
protected PropertyMap(PropertyMap other)Parameters
| Type | Name | Description | 
|---|---|---|
| PropertyMap | other | 
PropertyMap(String, Type, PropertyMapType, Int32)
Declaration
protected PropertyMap(string propertyName, Type propertyType, PropertyMapType mapType, int version)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | propertyName | |
| System.Type | propertyType | |
| PropertyMapType | mapType | |
| System.Int32 | version | 
Properties
Active
A System.Boolean indicating if the property in currentlt active or not
Declaration
public bool Active { get; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
PropertyMapType
The PropertyMapType of the property
Declaration
public PropertyMapType PropertyMapType { get; }Property Value
| Type | Description | 
|---|---|
| PropertyMapType | 
PropertyName
The name of the property
Declaration
public string PropertyName { get; }Property Value
| Type | Description | 
|---|---|
| System.String | 
PropertyType
The System.Type of the property
Declaration
public Type PropertyType { get; }Property Value
| Type | Description | 
|---|---|
| System.Type | 
Version
The version number of the mapping
Declaration
public int Version { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Methods
Clone()
Clone the current object
Declaration
public abstract PropertyMap Clone()Returns
| Type | Description | 
|---|---|
| PropertyMap | A new PropertyMap instance with the same values as the current object | 
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | obj | The System.Object to compare with the current System.Object. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | true if the specified Object is equal to the current Object; otherwise, false. | 
GetHashCode()
Serves as a hash function for a particular type
Declaration
public override int GetHashCode()Returns
| Type | Description | 
|---|---|
| System.Int32 | A hash code for the current object | 
