త్వరిత చిట్కా: BDC ADF వెర్షన్ సంఖ్యలను మీ ఫ్రెండ్

మీరు పోతే ADF ఫైళ్లు చేతితో కోడింగ్ మరియు కోడ్ చాలా / దిగుమతి / పరీక్ష చక్రాల చేయడం, use the version number to make your life easier.

నేను దానిని అంగీకరించాలి ద్వేషం, కానీ వరకు ఈ వారం, 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.

File this under "it’s obvious once you see it".

ఉదాహరణ:

<LobSystem
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog BDCMetadata.xsd" రకము="WebService" వెర్షన్="1.2.0.0" పేరు="xyzzyDocumentReview" xmlns="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog">

Change that version and re-import and the existing business data column uses the updated version automatically with no additional configuration required.

</చివర>

నా బ్లాగ్ సబ్స్క్రయిబ్.

Technorati టాగ్లు:

ఒక ఆలోచన "త్వరిత చిట్కా: BDC ADF వెర్షన్ సంఖ్యలను మీ ఫ్రెండ్

  1. సంఖ్య పేరు

    పాల్, 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. కింది లోపం ఏర్పడింది: 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’ సెట్. Collection TypeDescriptors may only have a single child TypeDescriptor, representing the structure of each element of the collection. పారామితి పేరు: isCollection Error was encountered at or just before Line: ’88’ మరియు స్థానం: ’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, సంస్కృతి = తటస్థ, PublicKeyToken=b77a5c561934e089" IsCollection="true" Name="ProductDataReader">
    <TypeDescriptors>
    <TypeDescriptor TypeName="System.Data.IDataRecord, System.Data, Version=2.0.3600.0, సంస్కృతి = తటస్థ, 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>
    <లక్షణాలు>
    <Property Name="DisplayByDefault" Type="System.Boolean">నిజమైన</ఆస్తి>
    </లక్షణాలు>
    </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.

    ధన్యవాదాలు,
    Bruce

ఒక Reply వదిలి సంఖ్య పేరు ప్రత్యుత్తరం రద్దు

మీ ఇమెయిల్ చిరునామా ప్రచురితమైన కాదు. లు గుర్తించబడతాయి *