Code Generation Configuration

The CommerceServerContrib.CodeGeneration classes support an option configuration element. The Nuget package will deploy this element with a set of sensible defaults for the SolutionStoreFront pup and catalog. You can alter this configuration for your own use.

<commerceServerCodeGeneration>
    <entitiesToIgnore>
      <entity name="CommerceEntityDefinition" />
      .....
    </entitiesToIgnore>
    <entitiesToGenerate>
      .....
    </entitiesToGenerate>
  </commerceServerCodeGeneration>

entitiesToIgnore

Optional. You can use this element collection to list entities for which you don't want to generate typed wrappers.

entitiesToGenerate

Optional. If there are no items to entitiesToGenerate collection the default behaviour is to generate wrappers for all entities except those listed in entitiesToIgnore. If there are entities defined in entitiesToGenerate those and only those will be generated unless they're also listed in the entitiesToIgnore element collection.

Last edited Nov 19, 2012 at 6:01 PM by bthubbard, version 3

Comments

No comments yet.