WHAT'S IN THIS CHAPTER?
In Chapter 11, significant attention was paid to creating Business Connectivity Services (BCS) solutions with little coding. However, there are many situations in which the limitations of no-code solutions make it necessary to write custom components. This chapter explores custom coding in BCS by presenting .NET Assembly Connectors and the BDC Server object model. This information lays the foundation for custom solutions built with BCS.
A .NET Assembly Connector associates a custom assembly with an ECT so that you can precisely control how information is accessed, processed, and returned from external systems. You create a .NET Assembly Connector in Visual Studio 2010 using the Business Data Connectivity Model project type.
The Visual Studio Business Data Connectivity Model project template is a complete working sample. Immediately after it is created, you can press F5 and make external lists in SharePoint. This is a good start because the tooling can be somewhat confusing when you first use it; a complete working sample helps guide you to success. The detailed examination of the project template in the next section will help you understand.
When you're working with the Business Data Connectivity Model project template, there are three explorers and ...