ModelDataExtensions Class

Extension methods that can be used to create an object and map (copy) properties of existing object over the new one.
Inheritance Hierarchy
SystemObject
  Dundas.BI.WebApi.ModelsModelDataExtensions

Namespace:  Dundas.BI.WebApi.Models
Assembly:  Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public static class ModelDataExtensions

The ModelDataExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberConvertAndCopyIEnumerableToList
Public methodStatic memberConvertAndCopyReadOnlyDictionaryToList(IReadOnlyDictionaryGuid, CheckInFailureReason, IListCheckInFailureDetailData)
Public methodStatic memberConvertAndCopyReadOnlyDictionaryToList(IReadOnlyDictionaryGuid, CheckOutFailureReason, IListCheckOutFailureDetailData)
Public methodStatic memberConvertAndCopyReadOnlyDictionaryToList(IReadOnlyDictionaryGuid, DeleteFailureReason, IListDeleteFailureDetailData)
Public methodStatic memberConvertAndCopyReadOnlyDictionaryToList(IReadOnlyDictionaryGuid, EnsureVisibleFailureReason, IListEnsureVisibleFailureDetailData)
Public methodStatic memberConvertAndCopyReadOnlyDictionaryToList(IReadOnlyDictionaryGuid, RestoreFailureReason, IListRestoreFailureDetailData)
Public methodStatic memberConvertAndCopyReadOnlyDictionaryToList(IReadOnlyDictionaryGuid, UndoCheckOutFailureReason, IListUndoCheckOutFailureDetailData)
Public methodStatic memberCopyAndConvertListT1, T2(IEnumerableT1, IListT2)
Public methodStatic memberCopyAndConvertListT1, T2(IEnumerableT1, ICollectionT2, ReadOnlyDictionaryTKey, TValue)
Public methodStatic memberCopyAndConvertListMaybeBuggyT1, T2(IEnumerableT1, IListT2)
Public methodStatic memberCopyAndConvertListMaybeBuggyT1, T2(IEnumerableT1, ICollectionT2, ReadOnlyDictionaryTKey, TValue)
Public methodStatic memberCopyFromList
Copies an enumerable of AppSettingTransferSpecData to list of AppSettingTransferSpec.
Public methodStatic memberCopyListToSetT
Helper method to copy a list into a 'Set'.
Public methodStatic memberCopySetToListT
Helper method to copy one 'Set' object into a list.
Public methodStatic memberCopyToTSource, TTarget(TSource, TTarget)
Copies properties from the source type to the target type using default mapping rule - mapping by name.
Public methodStatic memberCopyToTSource, TTarget(TSource, TTarget, IReadOnlyDictionaryString, ActionTSource, TTarget)
Copies properties from the source type to the target type using default mapping rule - mapping by name.
Public methodStatic memberCopyToActionBaseCollection
Copies an action base from a list onto an existing list.
Public methodStatic memberCopyToActionData
Copies to ActionBase source list to a ActionData contract list destination.
Public methodStatic memberCopyToConnectorElement
Copies to connector element.
Public methodStatic memberCopyToDictionary(IListCustomAttributeData, IDictionaryGuid, CustomAttributeValue)
Copies list of pairs to dictionary.
Public methodStatic memberCopyToDictionary(IListKeyValuePairData, IDictionaryString, String)
Copies list of pairs to dictionary.
Public methodStatic memberCopyToDictionary(IListProviderPropertyOverrideData, IDictionaryGuid, ParameterValueCollection)
Copies a list to a dictionary.
Public methodStatic memberCopyToLevelSorting
Copies to level sorting.
Public methodStatic memberCopyToList(IDictionaryGuid, CustomAttributeInfo, IListCustomAttributeInfoListItemData)
Copies a dictionary to list of pairs.
Public methodStatic memberCopyToList(IDictionaryGuid, CustomAttributeValue, IListCustomAttributeData)
Copies a dictionary to list of pairs.
Public methodStatic memberCopyToList(IDictionaryGuid, ParameterValueCollection, IListProviderPropertyOverrideData)
Copies a dictionary to list of pairs.
Public methodStatic memberCopyToList(IReadOnlyDictionaryGuid, TransferItemResult, IListTransferItemResultData)
Copies a dictionary to list of pairs.
Public methodStatic memberCopyToList(IEnumerableAppSettingTransferSpec, IListAppSettingTransferSpecData)
Copies an enumerable of AppSettingTransferSpec to list of AppSettingTransferSpecData.
Public methodStatic memberCopyToList(ICollectionCustomAttributeData, ICollectionCustomAttributeValue)
Copies list of pairs to the specified list.
Public methodStatic memberCopyToList(ICollectionCustomAttributeValue, IListCustomAttributeData)
Copies a dictionary to a list of pairs.
Public methodStatic memberCopyToList(IEnumerableTransferItemResult, IListTransferItemResultData)
Copies an enumerable of TransferItemResult to list of TransferItemResultData.
Public methodStatic memberCopyToList(IDictionaryString, IHierarchy, IListHierarchyData, ReadOnlyDictionaryTKey, TValue)
Public methodStatic memberCopyToList(IReadOnlyDictionaryGuid, CustomAttributeValue, IListCustomAttributeData, NullableGuid, Boolean)
Copies a dictionary to list of pairs.
Public methodStatic memberCopyToListTKey, TValue(IDictionaryTKey, TValue, IListKeyValuePairData)
Copies a dictionary to list of pairs.
Public methodStatic memberCopyToMemberDrillDownValue
Copies to member value.
Public methodStatic memberCopyToParameter
Copies to parameter.
Public methodStatic memberCopyToParameterValueCollection
Copies a parameter value from a list onto an existing collection.
Public methodStatic memberCopyToParameterValueData
Copies to ParameterValue source list to a ParameterValueData contract list destination.
Public methodStatic memberCopyToRelationalColumns
Copies to relational columns.
Public methodStatic memberCopyToStates
Copies to states.
Public methodStatic memberCopyToTransformConnector
Copies to transform connector.
Public methodStatic memberCreateMappingTSource, TTarget(TSource)
Creates a mapping object. This is an object that can create an object of given type and copy all public properties from an existing object over the new one. This mapping object can be extended with custom mapping rules.
Public methodStatic memberCreateMappingTSource, TTarget(TSource, ReadOnlyDictionaryTKey, TValue, Boolean)
Public methodStatic memberGetCultureInfo
Helper method to copy the culture info.
Public methodStatic memberGetObjectTSource, TTarget(TSource)
Creates a object of the target type and maps all properties using default mapping rule - mapping by name.
Public methodStatic memberGetObjectTSource, TTarget(TSource, ReadOnlyDictionaryTKey, TValue)
Public methodStatic memberGetObjectTSource, TTarget(TSource, ReadOnlyDictionaryTKey, TValue, Boolean)
Public methodStatic memberSetUIClassName(AnalysisElementUsageData, AnalysisElementUsage)
Sets the name of the analysis element usage UI class.
Public methodStatic memberSetUIClassName(FileData, FileSystemEntry)
Sets the name of the file data UI class.
Public methodStatic memberSetUIClassName(TokenDefinitionData, TokenDefinition)
Sets the name of the token definition UI class.
Public methodStatic memberSetUIClassName(ViewData, View)
Sets the name of the view data UI class.
Top
See Also