Class PropertyMapExtensions
Extension method class for PropertyMap
Inheritance
System.Object
PropertyMapExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Data.Dynamic
Assembly: EPiServer.Data.dll
Version: 9.12.2Syntax
public static class PropertyMapExtensions
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 |
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 |