How to: Include a Custom Assembly in a BDC Feature
Your project can reference assemblies from other projects in the same solution. However, you must add these assemblies to the feature file of the project by using the Assign referenced assemblies to LobSystems dialog box.
To include a custom assembly in a Business Data Connectivity (BDC) feature
In Solution Explorer, choose the folder that contains the BDC model.
On the View menu, click Properties Window.
In the Properties window, choose the Assemblies property, and then the ellipsis button ().
The Assign referenced assemblies to LobSystems dialog box appears.
In the Select an Assembly list, choose the custom assembly.
Assemblies only appear in the Assign referenced assemblies to LobSystems dialog box if you have added a reference to the project that contains the assembly. For more information, see How to: Add or Remove References By Using the Add Reference Dialog Box.
In the Reference Properties group, open the list that appears for the LobSystem Scope property, choose the LOB System of the methods that use the custom assembly, and then choose the OK button.
To debug code in the custom assembly, you must add the assembly to the solution package. For more information, see How to: Add and Remove Additional Assemblies.