November Happy Hour will be moved to Thursday December 5th.

Class PropertyMap

Represents a property mapping in the Dynamic Data Store

Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Data.Dynamic
Assembly: EPiServer.Data.dll
Version: 9.12.2
Syntax
public abstract class PropertyMap

Constructors

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.

Overrides
System.Object.Equals(System.Object)

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

Overrides
System.Object.GetHashCode()

Extension Methods