Sharepoint 2010 BCS Object Model Code Snippets
Last year, during the release of Sharepoint 2010 , I have submitted few code samples on BCS to Sharepoint SDK. Here is the link where my code snippets are available.
https://msdn.microsoft.com/en-us/library/ee557359(v=office.14).aspx
Let me point you to few other URLs which I have created that will help you executing methods on External Content Type, here they are
Code Snippet: Execute the Creator Method Instance of an External Content Type https://msdn.microsoft.com/en-us/library/ff464454.aspx
Code Snippet: Execute an Updater Method Instance of an External Content Type https://msdn.microsoft.com/en-us/library/ff464403.aspx
Code Snippet: Execute the Deleter Method Instance of an External Content Type https://msdn.microsoft.com/en-us/library/ff464351.aspx
Code Snippet: Execute a Finder Method Instance of an External Content Type
https://msdn.microsoft.com/en-us/library/ff464415.aspx
Code Snippet: Execute the AssociationNavigator Method Instance of an External Content Type https://msdn.microsoft.com/en-us/library/ff464362.aspx
Code Snippet: Execute the Associator and Disassociator Method Instances of an External Content Type https://msdn.microsoft.com/en-us/library/ff464336.aspx
Code Snippet: Execute the BulkAssociationNavigator Method Instance of an External Content Type https://msdn.microsoft.com/en-us/library/ff464328.aspx
Have a look at the BDC Model XML Snippets and the operations on it
Sample BDC Model XML Snippets: Modeling Stereotyped Operations https://msdn.microsoft.com/en-us/library/ee559335.aspx