Show / Hide Table of Contents

Class HasExtraPropertiesObjectExtendingExtensions

Inheritance
System.Object
HasExtraPropertiesObjectExtendingExtensions
Namespace: Volo.Abp.ObjectExtending
Assembly: Volo.Abp.ObjectExtending.dll
Syntax
public static class HasExtraPropertiesObjectExtendingExtensions : object

Methods

MapExtraPropertiesTo<TSource, TDestination>(TSource, TDestination, Nullable<MappingPropertyDefinitionChecks>, String[])

Copies extra properties from the source object to the destination object.

Checks property definitions (over the ObjectExtensionManager) based on the definitionChecks preference.

Declaration
public static void MapExtraPropertiesTo<TSource, TDestination>(this TSource source, TDestination destination, MappingPropertyDefinitionChecks? definitionChecks = null, string[] ignoredProperties = null)

    where TSource : IHasExtraProperties where TDestination : IHasExtraProperties
Parameters
Type Name Description
TSource source

The source object

TDestination destination

The destination object

System.Nullable<MappingPropertyDefinitionChecks> definitionChecks

Controls which properties to map.

System.String[] ignoredProperties

Used to ignore some properties

Type Parameters
Name Description
TSource

Source class type

TDestination

Destination class type

Back to top Powered by Volosoft