Show / Hide Table of Contents

Interface IWildcardMDOProvider

Interface used by providers that do not know exactly which list names they will be able to offer, but they want to be asked, when no-one else is around.

Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
public interface IWildcardMDOProvider
Remarks

When working with ERP and Quote Management connectors in particular, we use a naming convention such as QM_12_DeliveryTerms - meaning the DeliveryTerms list of the Quote connector that is referenced by QuoteConnection with id 12.

A general-purpose list provider cannot know ahead of time which connections will be defined, and it would be too expensive to ask - as well as bad wrt. the definition of new connections. Thus the need for a wildcard mechanism.

Methods

GetProvider(String)

Given a list name, return a concrete provider for that list, if it is supported. Otherwise return null (no exceptions thrown)

Declaration
ISoListProvider GetProvider(string listName)
Parameters
Type Name Description
String listName

Name of list

Returns
Type Description
ISoListProvider

A concrete provider that has the values required

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top