There are some issues when working with External Content Types in SharePoint 2010 Foundation - http://bit.ly/aWYlHn You cannot use ECT that was created using Secure Store ID, though the ECT will be created. :) Stay tuned.
This blog is about SharePoint and related technologies.