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 (26.2.0.1000)
Syntax
public static class ModelDataExtensions

The ModelDataExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodConvertAndCopyIEnumerableToList Copies the FileSystemEntry enumerable collection to a list of FileData.
Public Extension MethodConvertAndCopyReadOnlyDictionaryToList(IReadOnlyDictionaryGuid, CheckInFailureReason, IListCheckInFailureDetailData) Converts the IReadOnlyDictionaryTKey, TValue and copies to a list of CheckInFailureDetailData.
Public Extension MethodConvertAndCopyReadOnlyDictionaryToList(IReadOnlyDictionaryGuid, CheckOutFailureReason, IListCheckOutFailureDetailData) Converts the IReadOnlyDictionaryTKey, TValue and copies to a list of CheckOutFailureDetailData.
Public Extension MethodConvertAndCopyReadOnlyDictionaryToList(IReadOnlyDictionaryGuid, DeleteFailureReason, IListDeleteFailureDetailData) Converts the IReadOnlyDictionaryTKey, TValue and copies to a list of DeleteFailureDetailData.
Public Extension MethodConvertAndCopyReadOnlyDictionaryToList(IReadOnlyDictionaryGuid, EnsureVisibleFailureReason, IListEnsureVisibleFailureDetailData) Converts the IReadOnlyDictionaryTKey, TValue and copies to a list of EnsureVisibleFailureDetailData.
Public Extension MethodConvertAndCopyReadOnlyDictionaryToList(IReadOnlyDictionaryGuid, RestoreFailureReason, IListRestoreFailureDetailData) Converts the IReadOnlyDictionaryTKey, TValue and copies to a list of RestoreFailureDetailData.
Public Extension MethodConvertAndCopyReadOnlyDictionaryToList(IReadOnlyDictionaryGuid, UndoCheckOutFailureReason, IListUndoCheckOutFailureDetailData) Converts the IReadOnlyDictionaryTKey, TValue and copies to a list of UndoCheckOutFailureDetailData.
Public Extension MethodCopyAndConvertListT1, T2(IEnumerableT1, IListT2) Copies and converts the list. GetObjectTSource, TTarget(TSource) is used.
Public Extension MethodCopyAndConvertListT1, T2(IEnumerableT1, ICollectionT2, ReadOnlyDictionaryString, ActionT1, T2) Copies and converts the list. GetObjectTSource, TTarget(TSource) is used.
Public Extension MethodCopyAndConvertListMaybeBuggyT1, T2(IEnumerableT1, IListT2) 
Public Extension MethodCopyAndConvertListMaybeBuggyT1, T2(IEnumerableT1, ICollectionT2, ReadOnlyDictionaryString, ActionT1, T2) 
Public Extension MethodCopyFromList Copies an enumerable of AppSettingTransferSpecData to list of AppSettingTransferSpec.
Public Extension MethodCopyListToSetT Helper method to copy a list into a 'Set'.
Public Extension MethodCopySetToListT Helper method to copy one 'Set' object into a list.
Public Extension MethodCopyToTSource, TTarget(TSource, TTarget) Copies properties from the source type to the target type using default mapping rule - mapping by name.
Public Extension MethodCopyToTSource, TTarget(TSource, TTarget, IReadOnlyDictionaryString, ActionTSource, TTarget) Copies properties from the source type to the target type using default mapping rule - mapping by name.
Public Extension MethodCopyToActionBaseCollection Copies an action base from a list onto an existing list.
Public Extension MethodCopyToActionData Copies to ActionBase source list to a ActionData contract list destination.
Public Extension MethodCopyToConnectorElement Copies to connector element.
Public Extension MethodCopyToDictionary(IListKeyValuePairData, IDictionaryString, String) Copies list of pairs to dictionary.
Public Extension MethodCopyToDictionary(IListCustomAttributeData, IDictionaryGuid, CustomAttributeValue) Copies list of pairs to dictionary.
Public Extension MethodCopyToDictionary(IListProviderPropertyOverrideData, IDictionaryGuid, ParameterValueCollection) Copies a list to a dictionary.
Public Extension MethodCopyToLevelSorting Copies to level sorting.
Public Extension MethodCopyToList(ICollectionCustomAttributeValue, IListCustomAttributeData) Copies a dictionary to a list of pairs.
Public Extension MethodCopyToList(ICollectionCustomAttributeData, ICollectionCustomAttributeValue) Copies list of pairs to the specified list.
Public Extension MethodCopyToList(IDictionaryGuid, CustomAttributeInfo, IListCustomAttributeInfoListItemData) Copies a dictionary to list of pairs.
Public Extension MethodCopyToList(IDictionaryGuid, CustomAttributeValue, IListCustomAttributeData) Copies a dictionary to list of pairs.
Public Extension MethodCopyToList(IDictionaryGuid, ParameterValueCollection, IListProviderPropertyOverrideData) Copies a dictionary to list of pairs.
Public Extension MethodCopyToList(IEnumerableAppSettingTransferSpec, IListAppSettingTransferSpecData) Copies an enumerable of AppSettingTransferSpec to list of AppSettingTransferSpecData.
Public Extension MethodCopyToList(IEnumerableTransferItemResult, IListTransferItemResultData) Copies an enumerable of TransferItemResult to list of TransferItemResultData.
Public Extension MethodCopyToList(IReadOnlyDictionaryGuid, TransferItemResult, IListTransferItemResultData) Copies a dictionary to list of pairs.
Public Extension MethodCopyToList(IDictionaryString, IHierarchy, IListHierarchyData, ReadOnlyDictionaryString, ActionIHierarchy, HierarchyData) Copies a dictionary to list of pairs.
Public Extension MethodCopyToList(IReadOnlyDictionaryGuid, CustomAttributeValue, IListCustomAttributeData, NullableGuid, Boolean) Copies a dictionary to list of pairs.
Public Extension MethodCopyToListTKey, TValue(IDictionaryTKey, TValue, IListKeyValuePairData) Copies a dictionary to list of pairs.
Public Extension MethodCopyToMemberDrillDownValue Copies to member value.
Public Extension MethodCopyToParameter Copies to parameter.
Public Extension MethodCopyToParameterValueCollection Copies a parameter value from a list onto an existing collection.
Public Extension MethodCopyToParameterValueData Copies to ParameterValue source list to a ParameterValueData contract list destination.
Public Extension MethodCopyToRelationalColumns Copies to relational columns.
Public Extension MethodCopyToStates Copies to states.
Public Extension MethodCopyToTransformConnector Copies to transform connector.
Public Extension MethodCreateMappingTSource, 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 Extension MethodCreateMappingTSource, TTarget(TSource, ReadOnlyDictionaryString, ActionTSource, TTarget, FuncTSource, TTarget) 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 Extension MethodGetCultureInfo Helper method to copy the culture info.
Public Extension MethodGetObjectTSource, TTarget(TSource) Creates a object of the target type and maps all properties using default mapping rule - mapping by name.
Public Extension MethodGetObjectTSource, TTarget(TSource, ReadOnlyDictionaryString, ActionTSource, TTarget) Creates a object of the target type and maps all properties using default mapping rule - mapping by name.
Public Extension MethodGetObjectTSource, TTarget(TSource, ReadOnlyDictionaryString, ActionTSource, TTarget, FuncTSource, TTarget) Creates a object of the target type and maps all properties using default mapping rule - mapping by name.
Public Extension MethodSetUIClassName(AnalysisElementUsageData, AnalysisElementUsage) Sets the name of the analysis element usage UI class.
Public Extension MethodSetUIClassName(FileData, FileSystemEntry) Sets the name of the file data UI class.
Public Extension MethodSetUIClassName(TokenDefinitionData, TokenDefinition) Sets the name of the token definition UI class.
Public Extension MethodSetUIClassName(ViewData, View) Sets the name of the view data UI class.
Top
See Also