Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class PropertyMapExtensions

Extension method class for PropertyMap

Inheritance
System.Object
PropertyMapExtensions
Namespace: EPiServer.Data.Dynamic
Assembly: EPiServer.Data.dll
Version: 12.0.3
Syntax
public static class PropertyMapExtensions : Object

Methods

Compare(IEnumerable<PropertyMap>, IEnumerable<PropertyMap>)

Compares the input collection to other

Declaration
public static bool Compare(this IEnumerable<PropertyMap> list, IEnumerable<PropertyMap> other)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<PropertyMap> list

The input collection

System.Collections.Generic.IEnumerable<PropertyMap> other

A collection to compare to

Returns
Type Description
System.Boolean

if the collections are equal; otherwise

GetMapping(IEnumerable<PropertyMap>, String)

Get the mapping with the specified name from the all mappings collection

Declaration
public static PropertyMap GetMapping(this IEnumerable<PropertyMap> mappings, string name)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<PropertyMap> mappings

The mappings collection to operate on

System.String name

The name of the property to get

Returns
Type Description
PropertyMap

A PropertyMap with the name specified

GetStoreRowsRequired(IEnumerable<InlinePropertyMap>)

Declaration
public static int GetStoreRowsRequired(this IEnumerable<InlinePropertyMap> collection)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<InlinePropertyMap> collection
Returns
Type Description
System.Int32