Vinnige Wenk: BDC ADF weergawe nommers word jou vriend

As jy hand-kodering die ADF lêers en doen 'n baie kode / invoer / toets siklusse, use the version number to make your life easier.

Ek haat dit om te erken, maar tot hierdie week, I was always deleting the ADF and re-importing it. This would break my business data columns and make me re-wire them. All unnecessary.

Lêer is onder "dit is duidelik wanneer jy dit sien nie".

Voorbeeld:

<LobSystem
xmlns:XSi="http://www.w3.org/2001/XMLSchema-instance" XSi:schemaLocation="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog BDCMetadata.xsd" Tipe="WebService" Weergawe="1.2.0.0" Naam="xyzzyDocumentReview" xmlns="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog">

Verander dat die weergawe en re-invoer en die bestaande besigheid data kolom gebruik die opgedateerde weergawe outomaties met geen ekstra verstellings vereis.

</einde>

Skryf in op my blog.

Technorati Tags:

Een gedagte oor “Vinnige Wenk: BDC ADF weergawe nommers word jou vriend

  1. Geen naam

    Paul, to that point. I am getting the following error with an ADF I’m trying to import into MOSS 2007 Enterprise:
    "Application definition import failed. Die volgende fout het voorgekom: Setting IsCollection on TypeDescriptor with Name ‘ProductDataRecord’ and Id ‘<unavailable>’ (belonging to Parameter with Name ‘Contacts’ and Id ‘110’) will create two consecutive parent-child TypeDescriptors that have ‘IsCollection’ stel. Collection TypeDescriptors may only have a single child TypeDescriptor, representing the structure of each element of the collection. Parameter naam: isCollection Error was encountered at or just before Line: ’88’ en posisie: ’16’. " Here is the stanza from my xml it is complaining about:

    <Parameter Direction="Return" Name="Contacts">
    <TypeDescriptor TypeName="System.Data.IDataReader, System.Data, Version=2.0.3600.0, Culture = neutral, PublicKeyToken=b77a5c561934e089" IsCollection="true" Name="ProductDataReader">
    <TypeDescriptors>
    <TypeDescriptor TypeName="System.Data.IDataRecord, System.Data, Version=2.0.3600.0, Culture = neutral, PublicKeyToken=b77a5c561934e089" IsCollection="true" Name="ProductDataRecord">
    <TypeDescriptors>
    <TypeDescriptor TypeName="System.Int32" IdentifierName="tp_ID" Name="tp_ID">
    <LocalizedDisplayNames>
    <LocalizedDisplayName LCID="1033">tp_ID</LocalizedDisplayName>
    </LocalizedDisplayNames>
    <Eiendomme>
    <Property Name="DisplayByDefault" Type="System.Boolean">waar</Eiendom>
    </Eiendomme>
    </TypeDescriptor>

    I’m closing my TypeDescriptors towards the end of the file. I sure hope you or someone out there has some idea what’s going on here? I’m toast on this one. Any help or point in the right direction would be greatly appreciated.

    Dankie,
    Bruce

    Antwoord

Laat 'n antwoord

Jou e-posadres sal nie gepubliseer word nie. Verpligte velde gemerk *