Information about integrating external data into SharePoint are available all over the web. You normally create a visual studio project, create your bdc model and deploy it to your SharePoint Server. That’s fine if you are using SharePoint Standard or Enterprise licence / version. But if you’re working with the SharePoint Foundation version it throws errors at deployment that it can’t find / failed to load receiver assembly. In that case you need to write a feature event receiver which deploys the bdc model to your SharePoint Foundation Server.
Microsoft published a site where you can download the code for the feature event receiver (Publish BDC Model project to SharePoint Foundation 2010 with Visual Studio 2010).
And if you are now expecting a super description or instruction on how to get through it, you won’t find it in this post. Somebody else did it already and i just link to that post which is great and helped me: Deploy a BDC Model project to SharePoint Foundation 2010 using Visual Studio 2010
After that it should work and the bdc model is deployed to your SharePoint Foundation Server.
..:: I LIKE SHAREPOINT ::..