<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>BCS Meta Man</title>
        <link>http://www.lightningtools.com/blog/category/14.aspx</link>
        <description>BCS Meta Man</description>
        <language>en-GB</language>
        <copyright>Lightning Tools</copyright>
        <managingEditor>support@lightningtools.com</managingEditor>
        <generator>Subtext Version 1.9.5.177</generator>
        <item>
            <title>Windows Azure tools for SharePoint&amp;ndash;announcing Cloud Meta Man</title>
            <link>http://lightningtools.com/blog/archive/2012/04/13/windows-azure-tools-for-sharepointndashannouncing-cloud-meta-man.aspx</link>
            <description>&lt;p&gt;The cloud certainly opens up many possibilities of how your organization can store and use documents, business data and any other type information it needs to run. We’ve been looking at SharePoint Online as part of Office 365 and Windows Azure and can see some exciting possibilities. Of course not all data belongs or will be moved to the cloud, and this is where a hybrid type solution is interesting. The first scenario we looked at was having data stored on premise, while using SharePoint Online – this can be accomplished using the Service Bus component of Azure as we demonstrated with the blog post &lt;a href="http://www.lightningtools.com/blog/archive/2012/01/23/mobile-solutions-for-on-premise-data-with-azure-service-bus.aspx" target="_blank"&gt;Mobile Solutions for on Premise Data with Azure Service Bus&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;From working on the above blog post we saw how much code has to be written to run on both the on-premise side as well as in the Cloud. Through our code generation work with &lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx" target="_blank"&gt;BCS Meta Man&lt;/a&gt; we figured we could do all of the hard work based on the database tables you wanted to work with and create External Content Types around in SharePoint. So we are really happy to announce today an initial beta of something we’ve called Cloud Meta Man. From adding a table to an ADO.NET Entity Framework you can right click and generate:&lt;/p&gt;  &lt;p&gt;1, Listener Service that will run on premise and execute calls from the Service Bus and return data&lt;/p&gt;  &lt;p&gt;2, Caller Service that you can use to test the Service Bus and your projects are setup correctly&lt;/p&gt;  &lt;p&gt;3, An ASP.NET MVC web application that gets the on premise data through the service bus&lt;/p&gt;  &lt;p&gt;4, A WCF Service that can present the on premise data to SharePoint Online and be used with an External Content Type through the service bus&lt;/p&gt;  &lt;p&gt;5, An Azure project to deploy either/both the ASP.NET MVC application or the WCF Service.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Azure-tools-for-SharePointannouncing-Clo_9612/image_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Azure-tools-for-SharePointannouncing-Clo_9612/image_thumb.png" width="150" height="453" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;So within 5 minutes you can get your on-premise business data presented to the outside world through Azure Service Bus and Azure Hosting.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;In this initial beta of Cloud Meta Man we only support one table or view right now, but the good news is this could be a table in an on premise SQL Server, Oracle or ODBC database.&lt;/p&gt;  &lt;p&gt;To get started you can download the Cloud Meta Man beta from here:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.lightningtools.com/pages/downloads/cloud-meta-man.aspx" target="_blank"&gt;Download Cloud Meta Man Beta&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;And check out the Getting Started Blog post written by Dmitry:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.lightningtools.com/blog/archive/2012/04/13/cloud-meta-man-ndash-getting-started.aspx" target="_blank"&gt;Cloud Meta Man – Getting Started&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;We are really keen to hear any feedback, ideas and thoughts – please send them through to &lt;a href="mailto:contact@lightningtools.com"&gt;contact@lightningtools.com&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;&lt;a href="http://www.twitter.com/nickswan" target="_blank"&gt;nick&lt;/a&gt;/&amp;gt;&lt;/p&gt;&lt;img src="http://lightningtools.com/blog/aggbug/316.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Lightning Tools</dc:creator>
            <guid>http://lightningtools.com/blog/archive/2012/04/13/windows-azure-tools-for-sharepointndashannouncing-cloud-meta-man.aspx</guid>
            <pubDate>Fri, 13 Apr 2012 10:19:59 GMT</pubDate>
            <wfw:comment>http://lightningtools.com/blog/comments/316.aspx</wfw:comment>
            <comments>http://lightningtools.com/blog/archive/2012/04/13/windows-azure-tools-for-sharepointndashannouncing-cloud-meta-man.aspx#feedback</comments>
            <wfw:commentRss>http://lightningtools.com/blog/comments/commentRss/316.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Cloud Meta Man &amp;ndash; Getting Started</title>
            <link>http://lightningtools.com/blog/archive/2012/04/13/cloud-meta-man-ndash-getting-started.aspx</link>
            <description>&lt;p&gt;&lt;a href="http://www.lightningtools.com/pages/downloads/cloud-meta-man.aspx" target="_blank"&gt;Cloud Meta Man&lt;/a&gt; is our tool that will generate all required code for you that you can easily provide the business data stored away on premise databases usually running behind multiple firewalls or NAT devices. You will be able to use generated WCF service, host it on Windows Azure and easily integrate it with the Business Connectivity Services running in the cloud or on-premise. You will be able to use generated ASP.NET MVC 3 Web Role, host it on Windows Azure and easily display the data returned across the Service Bus on the web page. In this walkthrough using Cloud Meta Man we will create Listener and Caller console applications, ASP.NET MVC 3 Web Role and WCF layer with CRUD operations for on-premise MS SQL database, host the roles on Windows Azure and make the data available on SharePoint page.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Prerequisites &lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;&lt;a href="http://www.lightningtools.com/pages/downloads/cloud-meta-man.aspx" target="_blank"&gt;Cloud Meta Man&lt;/a&gt; version 1.0.0.4 or hire &lt;/li&gt;      &lt;li&gt;Microsoft SharePoint Server 2010 &lt;/li&gt;      &lt;li&gt;Microsoft Visual Studio 2010 Professional or higher &lt;/li&gt;      &lt;li&gt;Windows Azure SDK for .NET installed &lt;/li&gt;      &lt;li&gt;A subscription on Windows Azure &lt;/li&gt;      &lt;li&gt;We need to create a service bus within Azure.&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;Login to Windows Azure and click the “Service Bus, Access Control &amp;amp; Caching” on the left pane      &lt;br /&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/1-a_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="click the “Service Bus, Access Control &amp;amp; Caching”" border="0" alt="click the “Service Bus, Access Control &amp;amp; Caching”" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/1-a_thumb.png" width="230" height="138" /&gt;&lt;/a&gt;       &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Then click on the Service Bus node that is displayed in the tree      &lt;br /&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/1-b_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="click on the Service Bus node" border="0" alt="click on the Service Bus node" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/1-b_thumb.png" width="233" height="243" /&gt;&lt;/a&gt;      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Create a new Service Namespace – type a Namespace name, pick a country and the subscription.     &lt;br /&gt; &lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/1-c_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Create a new Service Namespace" border="0" alt="Create a new Service Namespace" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/1-c_thumb.png" width="244" height="103" /&gt;&lt;/a&gt;      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Once the service bus is provisioned click on the service bus name under the Subscription node so you see the properties in the right hand pane      &lt;br /&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/1-d_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Service Bus properties " border="0" alt="Service Bus properties " src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/1-d_thumb.png" width="300" height="73" /&gt;&lt;/a&gt;      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Click on the button to view the Default Key, you’ll need these details shortly      &lt;br /&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/1-e_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Default Key" border="0" alt="Default Key" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/1-e_thumb.png" width="244" height="89" /&gt;&lt;/a&gt;      &lt;br /&gt; &lt;/li&gt;    &lt;li&gt;Open Visual Studio 2010 &lt;/li&gt;    &lt;li&gt;Add a New Project &lt;/li&gt;    &lt;li&gt;Select “Visual C#” node, then the “Cloud Meta Man” project type &lt;/li&gt;    &lt;li&gt;Give your project a name i.e “CloudMetaMan” and click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/5_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Give your Cloud Meta Man project a name" border="0" alt="Give your Cloud Meta Man project a name" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/5_thumb.png" width="244" height="170" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;In the Solution explorer right-click on the “Data Source Library” node, select “Add”-&amp;gt;”New Item”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/6_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Add new ADO.NET Entity Data Model item to the project" border="0" alt="Add new ADO.NET Entity Data Model item to the project" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/6_thumb.png" width="244" height="205" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select “Visual C# Items” node, then the “ADO.NET Entity Data Model” item type &lt;/li&gt;    &lt;li&gt;Give your item a name i.e “MSSQLModel” and click “Add”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/8_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Give your project item a name" border="0" alt="Give your project item a name" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/8_thumb.png" width="244" height="170" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;In the “Entity Data Model Wizard” select “Generate from Database” and click “Next”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/9_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Generate the model from database" border="0" alt="Generate the model from database" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/9_thumb.png" width="244" height="221" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;On the next step click “New Connection” or use existing one      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/10_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Create new connection" border="0" alt="Create new connection" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/10_thumb.png" width="244" height="221" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;If you clicked “New Connection”, select for example “Microsoft SQL Server (SqlClient)” and enter required information in order to connect to the database. Click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/11_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Enter MS SQL connection properties" border="0" alt="Enter MS SQL connection properties" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/11_thumb.png" width="166" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Now click “Next”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/12_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Choose your created data connection" border="0" alt="Choose your created data connection" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/12_thumb.png" width="244" height="221" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select one object you want to include to the model. For example “Department” table and click “Finish”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/13_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Select Department table" border="0" alt="Select Department table" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/13_thumb.png" width="244" height="221" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Your diagram should look like this      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/14_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Created table on the diagram" border="0" alt="Created table on the diagram" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/14_thumb.png" width="244" height="168" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Expand “BCS Azure” project in the Solution explorer, right-click on “Roles” folder, select “Add”-&amp;gt;“Web Role Project in solution”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/15_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Add new Web Role" border="0" alt="Add new Web Role" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/15_thumb.png" width="244" height="97" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;In the “Associate with Role Project” dialog select “BCS Web Role” and click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/16_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Add BCS Web Role" border="0" alt="Add BCS Web Role" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/16_thumb.png" width="244" height="163" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Using the same way add "BCS WCF Role"      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/17_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Add WCF Web Role" border="0" alt="Add WCF Web Role" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/17_thumb.png" width="244" height="163" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;When you add both roles to your BCS Azure project it should look like this      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/18_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Added web roles" border="0" alt="Added web roles" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/18_thumb.png" width="295" height="262" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Expand “Data Source Library” in the Solution explorer, right click on MSSQLModel.edmx-&amp;gt; “Generate projects with Cloud Meta Man”. Based on the table added to the Entity Data Model, Cloud Meta Man will then go and generate a BCS Listener service project, BCS Caller service project, BCS Web Role project and BCS WCF Role project.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/19_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Generate projects with Cloud Meta Man" border="0" alt="Generate projects with Cloud Meta Man" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/19_thumb.png" width="244" height="226" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;You will be prompted for Service Namespace Domain(the name you gave the Service Bus instance you created), Issuer Name(the owner) and Issuer Secret(the default key you got once your Service Bus was created). Enter your values and click “OK”. After that the code will be generated.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/20_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Enter Service Bus Namespace Information" border="0" alt="Enter Service Bus Namespace Information" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/20_thumb.png" width="244" height="191" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;So now generated projects can be used to test in order to get data through the configured service bus. Build the solution. Select menu “Build”-&amp;gt;”Build solution” in Visual Studio      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/21_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Build generated solution" border="0" alt="Build generated solution" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/21_thumb.png" width="244" height="151" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Let’s take mini steps and test things we created.      &lt;ul&gt;       &lt;li&gt;Right click on the “BCS Listener” project and choose Debug -&amp;gt; Start New Instance          &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/22-a_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Run BCS Listener" border="0" alt="Run BCS Listener" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/22-a_thumb.png" width="244" height="188" /&gt;&lt;/a&gt;&lt;/p&gt;       &lt;/li&gt;        &lt;li&gt;Wait for the successfully established connection          &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/22-b_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="BCS listener connected to the Service Bus" border="0" alt="BCS listener connected to the Service Bus" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/22-b_thumb.png" width="244" height="123" /&gt;&lt;/a&gt;&lt;/p&gt;       &lt;/li&gt;        &lt;li&gt;Now right click on the “BCS Caller” project and also choose Debug -&amp;gt; Start New Instance &lt;/li&gt;        &lt;li&gt;Wait for the successfully established connection          &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/22-d_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="BCS caller connected to the Service Bus" border="0" alt="BCS caller connected to the Service Bus" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/22-d_thumb.png" width="244" height="123" /&gt;&lt;/a&gt;&lt;/p&gt;       &lt;/li&gt;        &lt;li&gt;In the Caller console window you should press Enter in order to see a list of departments from your database table! This means the Caller program is calling the GetAll_Department_ReadList method over the Service Bus, and the Listener is executing this method and returning the data back across the Service Bus          &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/22-e_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="the data returned across the Service Bus" border="0" alt="the data returned across the Service Bus" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/22-e_thumb.png" width="244" height="153" /&gt;&lt;/a&gt;&lt;/p&gt;       &lt;/li&gt;        &lt;li&gt;The “BCS Caller” application has served it's purpose. We can now move forward knowing the service bus is working. By pressing Enter we can close only Caller console window. &lt;/li&gt;        &lt;li&gt;Now let’s test our Azure application locally on the emulator. Right click on the “BCS Azure” project and choose Debug -&amp;gt; Start New Instance. Two browser instances will be launched. &lt;/li&gt;        &lt;li&gt;First one (BCS Web Role) shows the data is coming through the Service Bus          &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/22-g_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="The data on the page returned across the Service Bus" border="0" alt="The data on the page returned across the Service Bus" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/22-g_thumb.png" width="244" height="176" /&gt;&lt;/a&gt;&lt;/p&gt;       &lt;/li&gt;        &lt;li&gt;Second one (BCS WCF Role) shows an error message “403 - Forbidden: Access is denied”. That is correct          &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/22-h_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="403 - Forbidden: Access is denied" border="0" alt="403 - Forbidden: Access is denied" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/22-h_thumb.png" width="244" height="68" /&gt;&lt;/a&gt;&lt;/p&gt;       &lt;/li&gt;        &lt;li&gt;If you add to the URL “BCSService.svc” you will be able to see that WCF service was hosted correctly          &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/22-i_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="WCF service was hosted locally" border="0" alt="WCF service was hosted locally" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/22-i_thumb.png" width="244" height="109" /&gt;&lt;/a&gt;&lt;/p&gt;       &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;Now we are ready to publish to Azure our application. Lets go to do that. &lt;/li&gt;    &lt;li&gt;Right click on “BCS Azure” in the solution explorer and choose “Package...”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/24_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Package BCS Azure application" border="0" alt="Package BCS Azure application" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/24_thumb.png" width="244" height="171" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Leave the default options and click the Package button      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/25_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="BCS Azure package configuration" border="0" alt="BCS Azure package configuration" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/25_thumb.png" width="244" height="125" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Open up &lt;a href="http://www.azure.com"&gt;www.azure.com&lt;/a&gt; and log in. Click on “Hosted Services, Storage Accounts &amp;amp; CDN” on the left pane       &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/26_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Hosted Services" border="0" alt="Hosted Services" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/26_thumb.png" width="228" height="67" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click on “New Hosted Service” in the ribbon      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/27_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Create a new hosted service" border="0" alt="Create a new hosted service" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/27_thumb.png" width="249" height="151" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Give your hosted service a name, url, pick a region, deployment name - and then browse to the BCS Azure.cspkg and ServiceConfiguration.Cloud.cscfg files that Visual Studio created for you as part of the Packaging process (&lt;your project="" directory=""&gt; \BCS Azure\bin\Release\app.publish)      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/28_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="New hosted service configuration" border="0" alt="New hosted service configuration" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/28_thumb.png" width="244" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/your&gt;&lt;/li&gt;    &lt;li&gt;The finally click OK. You can accept the warning that is displayed upon clicking OK as this is just a test app, but if it was a real production level app you'd want to take a bit more notice of it. &lt;/li&gt;    &lt;li&gt;Upon the Hosted Service being deployed and ready we can start testing it!      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/30_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Hosted service deployment" border="0" alt="Hosted service deployment" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/30_thumb.png" width="244" height="49" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Let’s take mini steps again and test deployed BCS Web Role.      &lt;ul&gt;       &lt;li&gt;Run “BCS Listener” service at the other end of our service bus. Right click the “BCS Listener” project and choose Debug -&amp;gt; Start new instance. Wait for the successfully established connection.          &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/31-a_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="BCS listener connected to the Service Bus" border="0" alt="BCS listener connected to the Service Bus" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/31-a_thumb.png" width="244" height="123" /&gt;&lt;/a&gt;&lt;/p&gt;       &lt;/li&gt;        &lt;li&gt;Run the browser on your PC or smartphone and enter the url you gave your application in Azure. Hopefully you will see something similar to below.          &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/31-b_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="The data on the page returned across the Service Bus" border="0" alt="The data on the page returned across the Service Bus" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/31-b_thumb.png" width="244" height="172" /&gt;&lt;/a&gt;&lt;/p&gt;       &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;Now let’s fully test BCS WCF Role with SharePoint 2010. Firstly check that our WCF service was hosted correctly in Azure.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/32_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="WCF service was hosted on Azure" border="0" alt="WCF service was hosted on Azure" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/32_thumb.png" width="244" height="109" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;We need to create the External Content Type with CRUD operations exposed by our WCF Service. In order to do it we may use either SharePoint Designer or &lt;a href="http://lightningtools.com/bcs/bcs-meta-man.aspx"&gt;BCS Meta Man&lt;/a&gt; (you may follow one of these articles &lt;a href="http://www.lightningtools.com/blog/archive/2010/01/05/spd-external-content-type-from-wcf.aspx"&gt;SPD External Content Type from WCF&lt;/a&gt; , &lt;a href="http://www.lightningtools.com/blog/archive/2010/12/14/wcf-web-service-and-bcs-meta-man.aspx"&gt;WCF Web Service and BCS Meta Man&lt;/a&gt;) &lt;/li&gt;    &lt;li&gt;And voila, we now done it. We created an external list in SharePoint 2010 using a WCF service hosted on Azure and talking to on-premise SQL Server through Azure Service Bus.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/34_2.png" target="_blank"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="On premise external data are available on SharePoint page across the Service Bus" border="0" alt="On premise external data are available on SharePoint page across the Service Bus" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/BCS-Meta-Man--Getting-Started_11A9A/34_thumb.png" width="244" height="149" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;We hope this walkthrough will be useful for you. If you have any questions feel free to email them to &lt;a href="mailto:support@lightningtools.com"&gt;&lt;font color="#0072bc"&gt;support@lightningtools.com&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;Dmitry Kaloshin/&amp;gt;&lt;/p&gt;&lt;img src="http://lightningtools.com/blog/aggbug/315.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Lightning Tools</dc:creator>
            <guid>http://lightningtools.com/blog/archive/2012/04/13/cloud-meta-man-ndash-getting-started.aspx</guid>
            <pubDate>Fri, 13 Apr 2012 09:38:45 GMT</pubDate>
            <wfw:comment>http://lightningtools.com/blog/comments/315.aspx</wfw:comment>
            <comments>http://lightningtools.com/blog/archive/2012/04/13/cloud-meta-man-ndash-getting-started.aspx#feedback</comments>
            <wfw:commentRss>http://lightningtools.com/blog/comments/commentRss/315.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Firebird and the Business Connectivity Services in SharePoint 2010</title>
            <link>http://lightningtools.com/blog/archive/2011/11/22/firebird-and-the-business-connectivity-services-in-sharepoint-2010.aspx</link>
            <description>&lt;p&gt;In this walkthrough we will demonstrate how to integrate Firebird database with Microsoft SharePoint 2010 through ODBC and display Firebird data on SharePoint 2010 page. In order to do that we will describe how to create a new external content type by means of &lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx" target="_blank"&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;BCS Meta Man&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Prerequisites:      &lt;ul&gt;       &lt;li&gt;Microsoft SharePoint Server 2010 &lt;/li&gt;        &lt;li&gt;Microsoft Visual Studio 2010 Professional or higher &lt;/li&gt;        &lt;li&gt;&lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx"&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;BCS Meta Man&lt;/font&gt;&lt;/u&gt;&lt;/a&gt; &lt;/li&gt;        &lt;li&gt;Download and install &lt;span id="BugEvents"&gt;Firebird ODBC driver (Windows 32-bit Full Install) for Microsoft Windows 32-bit &lt;a href="http://www.firebirdsql.org/en/odbc-driver/"&gt;http://www.firebirdsql.org/en/odbc-driver/&lt;/a&gt; &lt;/span&gt;on a machine where BCS Meta Man runs &lt;/li&gt;        &lt;li&gt;Download and install &lt;span id="BugEvents"&gt;Firebird ODBC driver (Windows 64-bit Full Install) for Microsoft Windows 64-bit&lt;/span&gt; &lt;a href="http://www.firebirdsql.org/en/odbc-driver/"&gt;http://www.firebirdsql.org/en/odbc-driver/&lt;/a&gt; on a machine where SharePoint 2010 runs &lt;/li&gt;        &lt;li&gt;&lt;span id="BugEvents"&gt;Firebird client component (it’s a part of Firebird server installer) for Microsoft Windows 32-bit &lt;a href="http://www.firebirdsql.org/en/downloads/"&gt;http://www.firebirdsql.org/en/downloads/&lt;/a&gt; on a machine where BCS Meta Man runs&lt;/span&gt;  &lt;/li&gt;        &lt;li&gt;&lt;span id="BugEvents"&gt;Firebird client component (it’s a part of Firebird server installer) for Microsoft Windows 64-bit &lt;a href="http://www.firebirdsql.org/en/downloads/"&gt;http://www.firebirdsql.org/en/downloads/&lt;/a&gt; on a machine where SharePoint 2010 runs&lt;/span&gt; &lt;span&gt;&lt;/span&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/1_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Firebird client component installation" border="0" alt="Firebird client component installation" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/1_thumb.png" width="244" height="188" /&gt;&lt;/a&gt;  &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;Open Visual Studio 2010 &lt;/li&gt;    &lt;li&gt;Add a New Project &lt;/li&gt;    &lt;li&gt;Expand the “SharePoint” node, select “Lightning Tools (2010)” node and then the “BCS Meta Man” project type &lt;/li&gt;    &lt;li&gt;Give your project a name i.e FirebirdBCSMetaManDemo and click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/5_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Create FirebirdBCSMetaManDemo project" border="0" alt="Create FirebirdBCSMetaManDemo project" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/5_thumb.png" width="244" height="182" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;On the next dialog box, enter the name of where you want to deploy your model, and click “Finish” button      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/6_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Deploy as a farm solution" border="0" alt="Deploy as a farm solution" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/6_thumb.png" width="244" height="194" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;If prompted, click “Trial” on the licensing dialog &lt;/li&gt;    &lt;li&gt;To show the “BCS Meta Man Data Source Explorer” we need to enable it from the Menu item, this new window can be docked so it doesn’t get in your way      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/8_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Open the BCS MetaMan data source explorer" border="0" alt="Open the BCS MetaMan data source explorer" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/8_thumb.png" width="244" height="111" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click the “Add Connection” button to show the “Connection Dialog” &lt;/li&gt;    &lt;li&gt;Select “ODBC Server” as Data Source type, enter Firebird ODBC connection string (for example it can be “&lt;strong&gt;DbName=cygnus:C:\Program Files\Firebird\Firebird_2_5\examples\empbuild\EMPLOYEE.FDB; Driver=Firebird/InterBase(r) driver;Uid=SYSDBA;Pwd=masterkey;Trusted_Connection=true;”&lt;/strong&gt;), enter double quotes as left and right delimiters and “&lt;strong&gt;?&lt;/strong&gt;” as parameter symbol and click “Connect” button       &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/10_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Firebird ODBC connection string" border="0" alt="Firebird ODBC connection string" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/10_thumb.png" width="244" height="201" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The Data Source Explorer will now be populated with your Firebird data      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/11_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="See the tables and views available to use" border="0" alt="See the tables and views available to use" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/11_thumb.png" width="244" height="212" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;We will be working with the ”DEPARTMENT” table, to add it to the Model , just drag it from the “Data Source Explorer” onto the “Diagram” &lt;/li&gt;    &lt;li&gt;When you drop the table you will be shown the following dialog, we should choose “Database , click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/13_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Choose the model type &amp;quot;Database&amp;quot;" border="0" alt="Choose the model type &amp;quot;Database&amp;quot;" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/13_thumb.png" width="244" height="117" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Accept the default entity name by clicking “Next”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/14_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Accept the default entity name" border="0" alt="Accept the default entity name" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/14_thumb.png" width="244" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Accept the default “Identifiers” by clicking “Next”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/15_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Accept the Identifiers selected" border="0" alt="Accept the Identifiers selected" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/15_thumb.png" width="244" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Accept the default 3 methods to be created, click “Generate” (The default 3 methods are: “Finder” – Returns all items, “Specific Finder” – Returns a single item by identifier, “IdEnumerator” – Returns just the Identifiers for all of the items )      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/16_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Accept the methods" border="0" alt="Accept the methods" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/16_thumb.png" width="244" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Press F5 to deploy, this will load up your SharePoint Page once deployed &lt;/li&gt;    &lt;li&gt;Add a new External list by selection on SharePoint page “Site Action”-&amp;gt;“More Options”-&amp;gt;“External List”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/18_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Add a new External List" border="0" alt="Add a new External List" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/18_thumb.png" width="244" height="148" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click on the icon to show the available External Content Types      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/19_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Select the External Content Type" border="0" alt="Select the External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/19_thumb.png" width="218" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select our FirebirdBCSMetaManDemo.DEPARTMENT External Content Type, click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/20_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Select the the Department External Content Type" border="0" alt="Select the the Department External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/20_thumb.png" width="244" height="73" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click “Create” &lt;/li&gt;    &lt;li&gt;Your External System data from Firebird database is now displayed in the SharePoint External List      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/22_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Data from Firebird is now shown within SharePoint 2010" border="0" alt="External Data from Firebird is now shown within SharePoint 2010" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/555488938a6f_12D3/22_thumb.png" width="244" height="157" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;We hope this walkthrough will be useful for you. If you have any questions feel free to email them to &lt;a href="mailto:support@lightningtools.com"&gt;&lt;font color="#0072bc"&gt;support@lightningtools.com&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;Dmitry Kaloshin/&amp;gt;&lt;/p&gt;&lt;img src="http://lightningtools.com/blog/aggbug/308.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Lightning Tools</dc:creator>
            <guid>http://lightningtools.com/blog/archive/2011/11/22/firebird-and-the-business-connectivity-services-in-sharepoint-2010.aspx</guid>
            <pubDate>Tue, 22 Nov 2011 21:16:27 GMT</pubDate>
            <wfw:comment>http://lightningtools.com/blog/comments/308.aspx</wfw:comment>
            <comments>http://lightningtools.com/blog/archive/2011/11/22/firebird-and-the-business-connectivity-services-in-sharepoint-2010.aspx#feedback</comments>
            <wfw:commentRss>http://lightningtools.com/blog/comments/commentRss/308.aspx</wfw:commentRss>
        </item>
        <item>
            <title>MySQL Stored Procedures and the Business Connectivity Services in SharePoint 2010</title>
            <link>http://lightningtools.com/blog/archive/2011/09/16/mysql-stored-procedures-and-the-business-connectivity-services-in-sharepoint.aspx</link>
            <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;In this walkthrough we will demonstrate how to integrate MySQL stored procedures with Microsoft SharePoint 2010 and display the data on SharePoint 2010 page. In order to do that we will describe how to create a new external content type by means of &lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx" target="_blank"&gt;BCS Meta Man&lt;/a&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;&lt;/font&gt;&lt;/u&gt;.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Microsoft SharePoint Server 2010 &lt;/li&gt;    &lt;li&gt;Microsoft Visual Studio 2010 Professional or higher &lt;/li&gt;    &lt;li&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;&lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx" target="_blank"&gt;BCS Meta Man&lt;/a&gt;&lt;/font&gt;&lt;/u&gt; &lt;/li&gt;    &lt;li&gt;Download and install “Windows (x86, 32-bit), MSI Installer Connector-ODBC” &lt;a href="http://www.mysql.com/downloads/connector/odbc/"&gt;http://www.mysql.com/downloads/connector/odbc/&lt;/a&gt; on a machine where BCS Meta Man runs &lt;/li&gt;    &lt;li&gt;Download and install “Windows (x86, 64-bit), MSI Installer Connector-ODBC” &lt;a href="http://www.mysql.com/downloads/connector/odbc/"&gt;http://www.mysql.com/downloads/connector/odbc/&lt;/a&gt; on a machine where SharePoint 2010 runs &lt;/li&gt;    &lt;li&gt;MySQL stored procedures for CRUD operations such as:      &lt;ol&gt;       &lt;li&gt;CREATE DEFINER = 'root'@'localhost'          &lt;br /&gt;PROCEDURE classicmodels.get_all_offices()           &lt;br /&gt;BEGIN           &lt;br /&gt;  SELECT * FROM offices;           &lt;br /&gt;END &lt;/li&gt;        &lt;li&gt;CREATE DEFINER = 'root'@'localhost'          &lt;br /&gt;PROCEDURE classicmodels.get_office_by_id(IN p_id INT)           &lt;br /&gt;BEGIN           &lt;br /&gt;SELECT * FROM offices WHERE officeCode=p_id;           &lt;br /&gt;END &lt;/li&gt;        &lt;li&gt;CREATE DEFINER = 'root'@'localhost'          &lt;br /&gt;PROCEDURE classicmodels.get_office_ids()           &lt;br /&gt;BEGIN           &lt;br /&gt;SELECT officeCode FROM offices;           &lt;br /&gt;END &lt;/li&gt;        &lt;li&gt;CREATE DEFINER = 'root'@'localhost'          &lt;br /&gt;PROCEDURE classicmodels.create_office(IN p_id INT, IN p_city VARCHAR(50),           &lt;br /&gt;IN p_phone VARCHAR(50), IN p_address_line1 VARCHAR(50),           &lt;br /&gt;IN p_address_line2 VARCHAR(50), IN p_state VARCHAR(50),           &lt;br /&gt;IN p_country VARCHAR(50), IN p_postal_code VARCHAR(15),           &lt;br /&gt;IN p_territory VARCHAR(10))           &lt;br /&gt;BEGIN           &lt;br /&gt;INSERT INTO offices values(p_id, p_city, p_phone, p_address_line1, p_address_line2,           &lt;br /&gt;  p_state, p_country, p_postal_code, p_territory);           &lt;br /&gt;END &lt;/li&gt;        &lt;li&gt;CREATE DEFINER = 'root'@'localhost'          &lt;br /&gt;PROCEDURE classicmodels.update_office(IN p_id INT, IN p_city VARCHAR(50),           &lt;br /&gt;IN p_phone VARCHAR(50), IN p_address_line1 VARCHAR(50),           &lt;br /&gt;IN p_address_line2 VARCHAR(50), IN p_state VARCHAR(50),           &lt;br /&gt;IN p_country VARCHAR(50), IN p_postal_code VARCHAR(15),           &lt;br /&gt;IN p_territory VARCHAR(10))           &lt;br /&gt;BEGIN           &lt;br /&gt;UPDATE offices SET city=p_city, phone=p_phone, addressLine1=p_address_line1,           &lt;br /&gt;  addressLine2=p_address_line2, state=p_state, country=p_country, postalCode=p_postal_code,           &lt;br /&gt;   territory=p_territory WHERE officecode=p_id;           &lt;br /&gt;END &lt;/li&gt;        &lt;li&gt;CREATE DEFINER = 'root'@'localhost'          &lt;br /&gt;PROCEDURE classicmodels.delete_office(IN p_id INT)           &lt;br /&gt;BEGIN           &lt;br /&gt;DELETE FROM offices WHERE officecode = p_id;           &lt;br /&gt;END &lt;/li&gt;     &lt;/ol&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;Walkthrough&lt;/strong&gt; &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Open Visual Studio 2010 &lt;/li&gt;    &lt;li&gt;Add a New Project &lt;/li&gt;    &lt;li&gt;Expand the “SharePoint” node, select “Lightning Tools (2010)” node and then the “BCS Meta Man” project type &lt;/li&gt;    &lt;li&gt;Give your project a name i.e MySQLStoredProceduresBCSMetaManDemo and click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/4_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Create MySQLStoredProceduresBCSMetaManDemo project" border="0" alt="Create MySQLStoredProceduresBCSMetaManDemo project" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/4_thumb.png" width="244" height="170" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;On the next dialog box, enter the name of where you want to deploy your model, and click “Finish” button      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/5_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Deploy as a farm solution" border="0" alt="Deploy as a farm solution" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/5_thumb.png" width="244" height="194" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;If prompted, click “Trial” on the licensing dialog &lt;/li&gt;    &lt;li&gt;To show the “BCS Meta Man Data Source Explorer” we need to enable it from the Menu item, this new window can be docked so it doesn’t get in your way      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/7_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Open the BCS Meta Man Data Source Explorer" border="0" alt="Open the BCS Meta Man Data Source Explorer" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/7_thumb.png" width="244" height="95" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click the “Add Connection” button to show the “Connection Dialog” &lt;/li&gt;    &lt;li&gt;Select “ODBC Server” as Data Source type, enter MySQL ODBC connection string (for example it can be “&lt;strong&gt;Driver={MySQL ODBC 5.1 Driver};Server=taurus;Port=3306;Database=classicmodels; User=root;Password=12345;Trusted_Connection=yes;&lt;/strong&gt;”), enter “&lt;strong&gt;`&lt;/strong&gt;” as left and right delimiters and “&lt;strong&gt;?&lt;/strong&gt;” as parameter symbol and click “Connect” button       &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/9_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="MySQL ODBC connection string" border="0" alt="MySQL ODBC connection string" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/9_thumb.png" width="244" height="201" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The Data Source Explorer will now be populated with your MySQL data      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/10_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="See the stored procedures available to use" border="0" alt="See the stored procedures available to use" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/10_thumb.png" width="244" height="141" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Drag and drop your Finder Stored Procedure onto the design surface and enter External Content type name, i.e “Office”, click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/11_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and drop a Finder stored procedure and Enter External Content type name" border="0" alt="Drag and drop a Finder stored procedure and Enter External Content type name" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/11_thumb.png" width="244" height="84" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Choose the Finder as the method type and click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/12_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Choose the Finder as the method type" border="0" alt="Choose the Finder as the method type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/12_thumb.png" width="244" height="97" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will be created on the Diagram      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/13_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type created on diagram " border="0" alt="External Content Type created on diagram " src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/13_thumb.png" width="244" height="109" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;In order to set an identifier right-click on the External Content Type, select “Manage External Content type” menu item      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/14_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Manage External Content type" border="0" alt="Manage External Content type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/14_thumb.png" width="244" height="68" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click “Edit Identifiers” button on the “Entity Management” dialog, select an identifier and click “OK” and “Update” button then      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/15_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Set identifier " border="0" alt="Set identifier " src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/15_thumb.png" width="244" height="159" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new identifier      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/16_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with identifier" border="0" alt="External Content Type with identifier" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/16_thumb.png" width="244" height="117" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;From the “BCS Meta Man Data Source Explorer” drag and drop your Specific Finder stored procedure onto the existing External Content Type      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/17_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and drop Specific Finder stored procedure onto existing External Content Type" border="0" alt="Drag and drop Specific Finder stored procedure onto existing External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/17_thumb.png" width="244" height="101" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The “Stored Procedure Configuration” dialog will be displayed. Select “SpecificFinder” as the Method Type. Select the first Parameter – p_id and set the Filter Type as Comparison and the Default Value as ‘0’. Click “OK”.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/18_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Configuring a Specific Finder stored procedure" border="0" alt="Configuring a Specific Finder stored procedure" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/18_thumb.png" width="244" height="230" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new Specific Finder Method      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/19_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with Finder and Specific Finder methods" border="0" alt="External Content Type with Finder and Specific Finder methods" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/19_thumb.png" width="244" height="137" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Next drag and drop the Id Enumerator stored procedure onto the existing External Content Type      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/20_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and drop Id Enumerator Stored Procedure onto existing External Content Type" border="0" alt="Drag and drop Id Enumerator Stored Procedure onto existing External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/20_thumb.png" width="244" height="103" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select “IdEnumerator” as the Method Type, Click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/21_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Configuring Id Enumerator stored procedure" border="0" alt="Configuring Id Enumerator stored procedure" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/21_thumb.png" width="244" height="97" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new Id Enumerator Method      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/22_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with Finder, Specific Finder and ID Enumerator methods" border="0" alt="External Content Type with Finder, Specific Finder and ID Enumerator methods" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/22_thumb.png" width="244" height="151" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;From the “BCS Meta Man Data Source Explorer” drag and drop your Creator stored procedure onto the existing External Content Type      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/23_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and drop Creator stored procedure onto existing External Content Type" border="0" alt="Drag and drop Creator stored procedure onto existing External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/23_thumb.png" width="244" height="109" /&gt;&lt;/a&gt; &lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The “Stored Procedure Configuration” dialog will be displayed. Select “Creator” as the Method Type. For each Parameter select the appropriate column to map it to. Click “OK”.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/24_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Configuring Creator stored procedure" border="0" alt="Configuring Creator stored procedure" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/24_thumb.png" width="229" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new Creator Method      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/25_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator methods" border="0" alt="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator methods" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/25_thumb.png" width="244" height="167" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Next drag and drop your Updater stored procedure onto the existing External Content Type &lt;/li&gt;    &lt;li&gt;Again the “Stored Procedure Configuration” dialog will be displayed. Select “Updater” as the Method Type. For each Parameter select the appropriate column to map it to. Click “OK”. &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new Updater Method      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/28_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator and Updater methods" border="0" alt="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator and Updater methods" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/28_thumb.png" width="244" height="182" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Finally drag and drop your Deleter stored procedure onto the existing External Content Type &lt;/li&gt;    &lt;li&gt;Again the “Stored Procedure Configuration” dialog will be displayed. Select “Deleter” as the Method Type. Click “OK”. &lt;/li&gt;    &lt;li&gt;The complete External Content Type will look like the following      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/31_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator, Updater and Deleter methods" border="0" alt="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator, Updater and Deleter methods" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/31_thumb.png" width="244" height="194" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Press F5 to deploy The External Content Type, this will load up your SharePoint Page once deployed &lt;/li&gt;    &lt;li&gt;Add a new External list by selection on SharePoint page “Site Action”-&amp;gt;“More Options…”-&amp;gt;“External List”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/33_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Add a new external list" border="0" alt="Add a new external list" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/33_thumb.png" width="244" height="148" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Give your External List a name and Click on the icon to show the available External Content Types      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/34_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Select the available External Content Type" border="0" alt="Select the available External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/34_thumb.png" width="214" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select created MySQLStoredProceduresBCSMetaManDemo.Office External Content Type, click “OK”. Click “Create” button then.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/35_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Select Office External Content Type" border="0" alt="Select Office External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/35_thumb.png" width="244" height="63" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The external data provided by MySQL stored procedure is now displayed in the SharePoint External List      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/36_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External data provided by MySQL stored procedure is now shown within SharePoint 2010" border="0" alt="External data provided by MySQL stored procedure is now shown within SharePoint 2010" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/36_thumb.png" width="244" height="103" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;You can hover over the first column of your list and you’ll see a drop down appear. If you click the drop down arrow you’ll get a number of options for that particular row of data – one of which will be View Item.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/37_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="View items through External List" border="0" alt="View items through External List" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/37_thumb.png" width="244" height="55" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;You will be presented with the View Item dialog      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/38_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="View Item dialog" border="0" alt="View Item dialog" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/38_thumb.png" width="244" height="197" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Now click “Edit item” on the ribbon of the dialog. This option is only available if you create an Updater method for your External Content Type. Clicking on this link will open up a dialog form that allows you to edit that row of data and save it.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/39_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Edit Item dialog" border="0" alt="Edit Item dialog" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/39_thumb.png" width="244" height="200" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;While viewing the external list, if you click the Items tab on the ribbon you’ll see a New Item button      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/40_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Add new data to MySQL database through the external list" border="0" alt="Add new data to MySQL database through the external list" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/40_thumb.png" width="244" height="85" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;This will bring up the “New Item” dialog where you can add a new Office. We will enter information about new Office and click “Save”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/41_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="New Item Dialog" border="0" alt="New Item Dialog" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/41_thumb.png" width="244" height="211" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;This will insert a new row directly to your MySQL database      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/42_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Updated External data provided by MySQL stored procedure is now shown within SharePoint 2010" border="0" alt="Updated External data provided by MySQL stored procedure is now shown within SharePoint 2010" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/MySQL-Stored-Procedures-and-the-Business_14C0/42_thumb.png" width="244" height="104" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;We hope this walkthrough will be useful for you. If you have any questions feel free to email them to &lt;a href="mailto:support@lightningtools.com"&gt;&lt;font color="#0072bc"&gt;support@lightningtools.com&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;Dmitry Kaloshin/&amp;gt;&lt;/p&gt;&lt;img src="http://lightningtools.com/blog/aggbug/302.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Lightning Tools</dc:creator>
            <guid>http://lightningtools.com/blog/archive/2011/09/16/mysql-stored-procedures-and-the-business-connectivity-services-in-sharepoint.aspx</guid>
            <pubDate>Fri, 16 Sep 2011 15:54:09 GMT</pubDate>
            <wfw:comment>http://lightningtools.com/blog/comments/302.aspx</wfw:comment>
            <comments>http://lightningtools.com/blog/archive/2011/09/16/mysql-stored-procedures-and-the-business-connectivity-services-in-sharepoint.aspx#feedback</comments>
            <wfw:commentRss>http://lightningtools.com/blog/comments/commentRss/302.aspx</wfw:commentRss>
        </item>
        <item>
            <title>BCS filters and DB2 Stored Procedures with Parameters in SharePoint 2010</title>
            <link>http://lightningtools.com/blog/archive/2011/09/14/bcs-filters-and-db2-stored-procedures-with-parameters-in-sharepoint.aspx</link>
            <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;In this tutorial we will show you how to connect to a DB2 Database using &lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx" target="_blank"&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;BCS Meta Man&lt;/font&gt;&lt;/u&gt;&lt;/a&gt; and a Stored Procedure to return filtered data to a SharePoint Business Data List. In this walkthrough we will be creating a Finder Method with filters so our DB2 Stored Procedure needs to have parameters defined.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Microsoft SharePoint Server 2010 &lt;/li&gt;    &lt;li&gt;Microsoft Visual Studio 2010 Professional or higher &lt;/li&gt;    &lt;li&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;&lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx" target="_blank"&gt;BCS Meta Man&lt;/a&gt;&lt;/font&gt;&lt;/u&gt; &lt;/li&gt;    &lt;li&gt;Download and install “IBM Data Server Runtime Client (Windows 32-bit AMD and Intel x86)” &lt;a href="http://www-01.ibm.com/support/docview.wss?rs=4020&amp;amp;uid=swg21385217"&gt;http://www-01.ibm.com/support/docview.wss?rs=4020&amp;amp;uid=swg21385217&lt;/a&gt; on a machine where BCS Meta Man runs &lt;/li&gt;    &lt;li&gt;Download and install “IBM Data Server Runtime Client (Windows AMD64 and Intel EM64T)” &lt;a href="http://www-01.ibm.com/support/docview.wss?rs=4020&amp;amp;uid=swg21385217"&gt;http://www-01.ibm.com/support/docview.wss?rs=4020&amp;amp;uid=swg21385217&lt;/a&gt; on a machine where SharePoint 2010 runs &lt;/li&gt;    &lt;li&gt;DB2 stored procedure such as:      &lt;ol&gt;       &lt;li&gt;CREATE PROCEDURE GET_EMPLOYEES_FILTERED(IN P_FIRST_NAME VARCHAR(12), IN P_BONUS DECIMAL(9,2))          &lt;br /&gt;DYNAMIC RESULT SETS 1           &lt;br /&gt;P1: BEGIN  &lt;br /&gt;DECLARE v_employees CURSOR WITH RETURN for  &lt;br /&gt;select * from EMPLOYEE where FIRSTNME like '%' || P_FIRST_NAME || '%' and BONUS &amp;gt; P_BONUS;           &lt;br /&gt;OPEN v_employees;           &lt;br /&gt;END P1 &lt;/li&gt;     &lt;/ol&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;Walkthrough&lt;/strong&gt; &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Open Visual Studio 2010 &lt;/li&gt;    &lt;li&gt;Add a New Project &lt;/li&gt;    &lt;li&gt;Expand the “SharePoint” node, select “Lightning Tools (2010)” node and then the “BCS Meta Man” project type &lt;/li&gt;    &lt;li&gt;Give your project a name i.e BCSMetaManFilteredDB2StoredProcedure and click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/4_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Create BCSMetaManFilteredDB2StoredProcedure project" border="0" alt="Create BCSMetaManFilteredDB2StoredProcedure project" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/4_thumb.png" width="244" height="174" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;On the next dialog box, enter the name of where you want to deploy your model, and click “Finish” button      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/5_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Deploy as a farm solution" border="0" alt="Deploy as a farm solution" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/5_thumb.png" width="244" height="194" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;If prompted, click “Trial” on the licensing dialog &lt;/li&gt;    &lt;li&gt;To show the “BCS Meta Man Data Source Explorer” we need to enable it from the Menu item, this new window can be docked so it doesn’t get in your way      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/7_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Open the BCS Meta Man Data Source Explorer" border="0" alt="Open the BCS Meta Man Data Source Explorer" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/7_thumb.png" width="244" height="122" /&gt;&lt;/a&gt; &lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click the “Add Connection” button to show the “Connection Dialog” &lt;/li&gt;    &lt;li&gt;Select “ODBC Server” as Data Source type, enter DB2 ODBC connection string (for example it can be “&lt;strong&gt;Driver={IBM DB2 ODBC DRIVER};Database=SAMPLE; Hostname=cygnus;port=50000;Protocol=TCPIP;Uid=Administrator;Pwd=12345;Trusted_Connection=false;&lt;/strong&gt;”), enter double quotes as left and right delimiters and “&lt;strong&gt;?&lt;/strong&gt;” as parameter symbol and click “Connect” button.       &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/9_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="DB2 ODBC connection string" border="0" alt="DB2 ODBC connection string" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/9_thumb.png" width="244" height="201" /&gt;&lt;/a&gt; &lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The Data Source Explorer will now be populated with your DB2 data      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/10_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="See the stored procedures available to use" border="0" alt="See the stored procedures available to use" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/10_thumb.png" width="244" height="200" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Drag and drop your Finder Stored Procedure with parameters onto the design surface and enter External Content type name, i.e “FilteredEmployee”, click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/11_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and drop a Finder stored procedure and Enter External Content type name" border="0" alt="Drag and drop a Finder stored procedure and Enter External Content type name" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/11_thumb.png" width="244" height="105" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select the Method Type as “Finder’' &lt;/li&gt;    &lt;li&gt;Select the first Parameter (p_first_name) and set it’s Filter Type to Comparison and the Default Value to ‘A’      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/13_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Configuring Finder DB2 stored procedure and first parameter" border="0" alt="Configuring Finder DB2 stored procedure and first parameter" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/13_thumb.png" width="244" height="230" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Next select the second Parameter (p_bonus) and also set it’s Filter Type to Comparison and the Default Value to ‘100’      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/14_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Configuring Finder DB2 stored procedure and second parameter" border="0" alt="Configuring Finder DB2 stored procedure and second parameter" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/14_thumb.png" width="244" height="230" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click ‘OK’ &lt;/li&gt;    &lt;li&gt;The External Content Type will be created on the Diagram      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/16_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type created on diagram " border="0" alt="External Content Type created on diagram " src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/16_thumb.png" width="244" height="90" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;In order to set an identifier right-click on the External Content Type, select “Manage External Content type” menu item      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/17_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Manage External Content type" border="0" alt="Manage External Content type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/17_thumb.png" width="244" height="55" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click “Edit Identifiers” button on the “Entity Management” dialog, select an identifier and click “OK” and “Update” button then      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/18_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Set identifier" border="0" alt="Set identifier" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/18_thumb.png" width="244" height="159" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new identifier      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/19_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with identifier" border="0" alt="External Content Type with identifier" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/19_thumb.png" width="244" height="100" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Press F5 to deploy, this will load up your SharePoint Page once deployed &lt;/li&gt;    &lt;li&gt;Add a new Business Data List Web Part to your SharePoint page      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/21_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Add Business Data List Web Part " border="0" alt="Add Business Data List Web Part " src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/21_thumb.png" width="244" height="111" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click on the ‘Open the tool pane’ link &lt;/li&gt;    &lt;li&gt;Click on the icon to show the available External Content Types      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/23_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Open the picker to select your External Content Type" border="0" alt="Open the picker to select your External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/23_thumb.png" width="244" height="165" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select our ‘BCSMetaManFilteredDB2StoredProcedure.FilteredEmployee’ External Content Type, click ‘OK’      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/24_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Select the FilteredEmployee External Content Type" border="0" alt="Select the FilteredEmployee External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/24_thumb.png" width="244" height="59" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click ‘OK’ on the tool pane &lt;/li&gt;    &lt;li&gt;Click the ‘Add’ link on the Business Data List Web Part to add the second Filter option      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/26_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="To use multiple BCS filters click the Add link" border="0" alt="To use multiple BCS filters click the Add link" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/26_thumb.png" width="244" height="44" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Change the second Filter to be the P_BONUS and enter values for the filters and click ‘Retrieve Data’ &lt;/li&gt;    &lt;li&gt;Your DB2 data provided by Stored Procedure is now displayed in the SharePoint Web Part      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/28_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="View your filtered data provided by DB2 stored procedure" border="0" alt="View your filtered data provided by DB2 stored procedure" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/bbdff1fff509_2B3F/28_thumb.png" width="244" height="51" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;We hope this walkthrough will be useful for you. If you have any questions feel free to email them to &lt;a href="mailto:support@lightningtools.com"&gt;&lt;font color="#0072bc"&gt;support@lightningtools.com&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;Dmitry Kaloshin/&amp;gt;&lt;/p&gt;&lt;img src="http://lightningtools.com/blog/aggbug/301.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Lightning Tools</dc:creator>
            <guid>http://lightningtools.com/blog/archive/2011/09/14/bcs-filters-and-db2-stored-procedures-with-parameters-in-sharepoint.aspx</guid>
            <pubDate>Wed, 14 Sep 2011 20:11:45 GMT</pubDate>
            <wfw:comment>http://lightningtools.com/blog/comments/301.aspx</wfw:comment>
            <comments>http://lightningtools.com/blog/archive/2011/09/14/bcs-filters-and-db2-stored-procedures-with-parameters-in-sharepoint.aspx#feedback</comments>
            <wfw:commentRss>http://lightningtools.com/blog/comments/commentRss/301.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Business Connectivity Service Associations using DB2 Stored Procedures in SharePoint 2010</title>
            <link>http://lightningtools.com/blog/archive/2011/09/13/business-connectivity-service-associations-using-db2-stored-procedures-in-sharepoint.aspx</link>
            <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;In this walkthrough we will demonstrate you how to connect to DB2 Database and use stored procedures to create an association between two External Content Types using &lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx" target="_blank"&gt;BCS Meta Man&lt;/a&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;&lt;/font&gt;&lt;/u&gt;.&lt;/p&gt;  &lt;p&gt;We are going to follow on from the ‘&lt;a href="http://lightningtools.com/blog/archive/2011/09/09/db2-stored-procedures-and-the-business-connectivity-services-in-sharepoint.aspx" target="_blank"&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;DB2 Stored Procedures and the Business Connectivity Services in SharePoint 2010&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;’&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Microsoft SharePoint Server 2010 &lt;/li&gt;    &lt;li&gt;Microsoft Visual Studio 2010 Professional or higher &lt;/li&gt;    &lt;li&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;&lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx" target="_blank"&gt;BCS Meta Man&lt;/a&gt;&lt;/font&gt;&lt;/u&gt; &lt;/li&gt;    &lt;li&gt;Download and install “IBM Data Server Runtime Client (Windows 32-bit AMD and Intel x86)” &lt;a href="http://www-01.ibm.com/support/docview.wss?rs=4020&amp;amp;uid=swg21385217"&gt;http://www-01.ibm.com/support/docview.wss?rs=4020&amp;amp;uid=swg21385217&lt;/a&gt; on a machine where BCS Meta Man runs &lt;/li&gt;    &lt;li&gt;Download and install “IBM Data Server Runtime Client (Windows AMD64 and Intel EM64T)” &lt;a href="http://www-01.ibm.com/support/docview.wss?rs=4020&amp;amp;uid=swg21385217"&gt;http://www-01.ibm.com/support/docview.wss?rs=4020&amp;amp;uid=swg21385217&lt;/a&gt; on a machine where SharePoint 2010 runs &lt;/li&gt;    &lt;li&gt;DB2 stored procedures  such as:      &lt;ol&gt;       &lt;li&gt;CREATE PROCEDURE GET_ALL_DEPARTMENTS()          &lt;br /&gt;DYNAMIC RESULT SETS 1           &lt;br /&gt;P1: BEGIN           &lt;br /&gt;DECLARE v_departments CURSOR WITH RETURN for           &lt;br /&gt;SELECT * FROM DEPARTMENT;           &lt;br /&gt;OPEN v_departments;           &lt;br /&gt;END P1 &lt;/li&gt;        &lt;li&gt;CREATE PROCEDURE GET_DEPARTMENT_BY_ID(IN P_ID CHAR(3))          &lt;br /&gt;DYNAMIC RESULT SETS 1           &lt;br /&gt;P1: BEGIN           &lt;br /&gt;DECLARE v_departments CURSOR WITH RETURN for           &lt;br /&gt;select * from DEPARTMENT where DEPTNO=P_ID;           &lt;br /&gt;OPEN v_departments;           &lt;br /&gt;END P1 &lt;/li&gt;        &lt;li&gt;CREATE PROCEDURE GET_ALL_EMPLOYEES()          &lt;br /&gt;DYNAMIC RESULT SETS 1           &lt;br /&gt;P1: BEGIN           &lt;br /&gt;DECLARE v_employees CURSOR WITH RETURN for           &lt;br /&gt;SELECT * FROM EMPLOYEE;           &lt;br /&gt;OPEN v_employees;           &lt;br /&gt;END P1 &lt;/li&gt;        &lt;li&gt;CREATE PROCEDURE GET_EMPLOYEE_BY_ID(IN P_ID CHAR(6))          &lt;br /&gt;DYNAMIC RESULT SETS 1           &lt;br /&gt;P1: BEGIN           &lt;br /&gt;DECLARE v_employees CURSOR WITH RETURN for           &lt;br /&gt;select * from EMPLOYEE where EMPNO=P_ID;           &lt;br /&gt;OPEN v_employees;           &lt;br /&gt;END P1 &lt;/li&gt;        &lt;li&gt;CREATE PROCEDURE GET_EMPLOYEE_BY_DEPARTMENT_ID(IN P_ID CHAR(3))          &lt;br /&gt;DYNAMIC RESULT SETS 1           &lt;br /&gt;P1: BEGIN           &lt;br /&gt;DECLARE v_employees CURSOR WITH RETURN for           &lt;br /&gt;select * from EMPLOYEE where WORKDEPT=P_ID;           &lt;br /&gt;OPEN v_employees;           &lt;br /&gt;END P1 &lt;/li&gt;     &lt;/ol&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;Walkthrough&lt;/strong&gt; &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Using the ‘&lt;a href="http://lightningtools.com/blog/archive/2011/09/09/db2-stored-procedures-and-the-business-connectivity-services-in-sharepoint.aspx" target="_blank"&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;DB2 Stored Procedures and the Business Connectivity Services in SharePoint 2010&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;’ Tutorial create two External Content Types “Department” and “Employee” with Finder (Read List operation) and SpecificFinder (Read Item operation) methods only. &lt;/li&gt;    &lt;li&gt;You should have the following External Content Types on your Diagram      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/2_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Both External Content Types on the design surface" border="0" alt="Both External Content Types on the design surface" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/2_thumb.png" width="244" height="98" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Switch to the ‘Toolbox’ pane in Visual Studio (Ctrl-Alt-X) &lt;/li&gt;    &lt;li&gt;Select the ‘Association’ toolbox item from the list      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/4_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Select the Association toolbox control" border="0" alt="Select the Association toolbox control" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/4_thumb.png" width="244" height="83" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;With the Association selected, Click and Drag from ‘Department’ to ‘Employee’      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/5_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and Drop between your two External Content Types" border="0" alt="Drag and Drop between your two External Content Types" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/5_thumb.png" width="244" height="97" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;When you release the ‘Association Configuration’ dialog will show &lt;/li&gt;    &lt;li&gt;Switch back to the ‘BCS Meta Man Data Source Explorer’ tool window pane &lt;/li&gt;    &lt;li&gt;Drag the Association Stored Procedure onto the Arrow in the ‘Association Configuration’ dialog, it will turn green when OK to release      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/8_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and Drop the DB2 Association Stored Procedure" border="0" alt="Drag and Drop the DB2 Association Stored Procedure" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/8_thumb.png" width="244" height="87" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The dialog will update with the selected Stored Procedure      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/9_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Association Configuration dialog" border="0" alt="Association Configuration dialog" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/9_thumb.png" width="244" height="176" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select ‘P_ID’ in the Parameter and ‘DEPTNO’ in the Identifier drop-down list boxes, Click ‘Save’      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/10_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Map the DB2 stored procedure parameter to identifier" border="0" alt="Map the DB2 stored procedure parameter to identifier" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/10_thumb.png" width="244" height="176" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The diagram will update to show an arrow indicating we have an association between the two External Content Types      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/11_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Association has been created" border="0" alt="Association has been created" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/11_thumb.png" width="244" height="99" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Press F5 to deploy, this will load up your SharePoint Page once deployed &lt;/li&gt;    &lt;li&gt;Add a new Business Data List Web Part to your SharePoint page      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/13_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Add Business Data List Web Part " border="0" alt="Add Business Data List Web Part " src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/13_thumb.png" width="244" height="111" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click on the ‘Open the tool pane’ link &lt;/li&gt;    &lt;li&gt;Click on the icon to show the available External Content Types      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/15_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Open the picker to select your External Content Type" border="0" alt="Open the picker to select your External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/15_thumb.png" width="244" height="165" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select our ‘BCSMetaMan1.Department’ External Content Type, click OK      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/16_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Select the Department External Content Type" border="0" alt="Select the Department External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/16_thumb.png" width="244" height="78" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click ‘OK’ on the tool pane &lt;/li&gt;    &lt;li&gt;The external data provided by DB2 stored procedure is now displayed in the SharePoint Web Part      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/18_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External data provided by DB2 stored procedure is now shown within SharePoint 2010" border="0" alt="External data provided by DB2 stored procedure is now shown within SharePoint 2010" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/18_thumb.png" width="244" height="125" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Next, Add a new ‘Business Data Related List’ Web Part to the page &lt;/li&gt;    &lt;li&gt;Configure the Web Part to use the ‘BCSMetaMan1.Employee’ External Content Type &lt;/li&gt;    &lt;li&gt;The Web Part will display a message saying the following      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/21_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Need to setup web part connection" border="0" alt="Need to setup web part connection" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/21_thumb.png" width="244" height="33" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;To do this we can set up the connection using the small arrow from the top right of our Web Part      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/22_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Use a web part menu to create a connection" border="0" alt="Use a web part menu to create a connection" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/22_thumb.png" width="244" height="105" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Once this is done we can click on the arrows next to an item in our ‘Department’ web part and the employees related to this department will display on our ‘Employee’ web part      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/23_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Related list web part now shows the association data provided by DB2 stored procedure" border="0" alt="Related list web part now shows the association data provided by DB2 stored procedure" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/470b5ebbcb16_1069/23_thumb.png" width="244" height="138" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;We hope this walkthrough will be useful for you. If you have any questions feel free to email them to &lt;a href="mailto:support@lightningtools.com"&gt;&lt;font color="#0072bc"&gt;&lt;u&gt;support@lightningtools.com&lt;/u&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;Dmitry Kaloshin/&amp;gt;&lt;/p&gt;&lt;img src="http://lightningtools.com/blog/aggbug/300.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Lightning Tools</dc:creator>
            <guid>http://lightningtools.com/blog/archive/2011/09/13/business-connectivity-service-associations-using-db2-stored-procedures-in-sharepoint.aspx</guid>
            <pubDate>Tue, 13 Sep 2011 13:15:09 GMT</pubDate>
            <wfw:comment>http://lightningtools.com/blog/comments/300.aspx</wfw:comment>
            <comments>http://lightningtools.com/blog/archive/2011/09/13/business-connectivity-service-associations-using-db2-stored-procedures-in-sharepoint.aspx#feedback</comments>
            <wfw:commentRss>http://lightningtools.com/blog/comments/commentRss/300.aspx</wfw:commentRss>
        </item>
        <item>
            <title>DB2 Stored Procedures and the Business Connectivity Services in SharePoint 2010</title>
            <link>http://lightningtools.com/blog/archive/2011/09/09/db2-stored-procedures-and-the-business-connectivity-services-in-sharepoint.aspx</link>
            <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;In this walkthrough we will demonstrate how to integrate DB2 stored procedures with Microsoft SharePoint 2010 and display the data on SharePoint 2010 page. In order to do that we will describe how to create a new external content type by means of &lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx" target="_blank"&gt;BCS Meta Man&lt;/a&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;&lt;/font&gt;&lt;/u&gt;.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Microsoft SharePoint Server 2010 &lt;/li&gt;    &lt;li&gt;Microsoft Visual Studio 2010 Professional or higher &lt;/li&gt;    &lt;li&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;&lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx" target="_blank"&gt;BCS Meta Man&lt;/a&gt;&lt;/font&gt;&lt;/u&gt; &lt;/li&gt;    &lt;li&gt;Download and install “IBM Data Server Runtime Client (Windows 32-bit AMD and Intel x86)” &lt;a href="http://www-01.ibm.com/support/docview.wss?rs=4020&amp;amp;uid=swg21385217"&gt;http://www-01.ibm.com/support/docview.wss?rs=4020&amp;amp;uid=swg21385217&lt;/a&gt; on a machine where BCS Meta Man runs &lt;/li&gt;    &lt;li&gt;Download and install “IBM Data Server Runtime Client (Windows AMD64 and Intel EM64T)” &lt;a href="http://www-01.ibm.com/support/docview.wss?rs=4020&amp;amp;uid=swg21385217"&gt;http://www-01.ibm.com/support/docview.wss?rs=4020&amp;amp;uid=swg21385217&lt;/a&gt; on a machine where SharePoint 2010 runs &lt;/li&gt;    &lt;li&gt;DB2 stored procedures for CRUD operations such as:      &lt;ol&gt;       &lt;li&gt;CREATE PROCEDURE GET_ALL_DEPARTMENTS()          &lt;br /&gt;DYNAMIC RESULT SETS 1           &lt;br /&gt;P1: BEGIN           &lt;br /&gt;DECLARE v_departments CURSOR WITH RETURN for           &lt;br /&gt;SELECT * FROM DEPARTMENT;           &lt;br /&gt;OPEN v_departments;           &lt;br /&gt;END P1 &lt;/li&gt;        &lt;li&gt;CREATE PROCEDURE GET_DEPARTMENT_BY_ID(IN P_ID CHAR(3))          &lt;br /&gt;DYNAMIC RESULT SETS 1           &lt;br /&gt;P1: BEGIN           &lt;br /&gt;DECLARE v_departments CURSOR WITH RETURN for           &lt;br /&gt;select * from DEPARTMENT where DEPTNO=P_ID;           &lt;br /&gt;OPEN v_departments;           &lt;br /&gt;END P1 &lt;/li&gt;        &lt;li&gt;CREATE PROCEDURE GET_DEPARTMENT_IDS()          &lt;br /&gt;DYNAMIC RESULT SETS 1           &lt;br /&gt;P1: BEGIN           &lt;br /&gt;DECLARE v_department_ids CURSOR WITH RETURN for           &lt;br /&gt;select DEPTNO from DEPARTMENT;           &lt;br /&gt;OPEN v_department_ids;           &lt;br /&gt;END P1 &lt;/li&gt;        &lt;li&gt;CREATE PROCEDURE CREATE_DEPARTMENT(IN P_ID CHAR(3), IN P_NAME VARCHAR(36), IN P_MGRNO CHAR(6), IN P_ADMID CHAR(3), IN P_LOCATION CHAR(16))          &lt;br /&gt;DYNAMIC RESULT SETS 1           &lt;br /&gt;P1: BEGIN           &lt;br /&gt;insert into DEPARTMENT values(P_ID, P_NAME, P_MGRNO, P_ADMID, P_LOCATION);           &lt;br /&gt;END P1 &lt;/li&gt;        &lt;li&gt;CREATE PROCEDURE UPDATE_DEPARTMENT(IN P_ID CHAR(3), IN P_NAME VARCHAR(36), IN P_MGRNO CHAR(6), IN P_ADMID CHAR(3), IN P_LOCATION CHAR(16))          &lt;br /&gt;DYNAMIC RESULT SETS 1           &lt;br /&gt;P1: BEGIN           &lt;br /&gt;update DEPARTMENT set DEPTNAME=P_NAME, MGRNO=P_MGRNO, ADMRDEPT=P_ADMID, LOCATION=P_LOCATION where DEPTNO=P_ID;           &lt;br /&gt;END P1 &lt;/li&gt;        &lt;li&gt;CREATE PROCEDURE DELETE_DEPARTMENT(IN P_ID CHAR(3))          &lt;br /&gt;DYNAMIC RESULT SETS 1           &lt;br /&gt;P1: BEGIN           &lt;br /&gt;delete from DEPARTMENT where DEPTNO=P_ID;           &lt;br /&gt;END P1 &lt;/li&gt;     &lt;/ol&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;Walkthrough&lt;/strong&gt; &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Open Visual Studio 2010 &lt;/li&gt;    &lt;li&gt;Add a New Project &lt;/li&gt;    &lt;li&gt;Expand the “SharePoint” node, select “Lightning Tools (2010)” node and then the “BCS Meta Man” project type &lt;/li&gt;    &lt;li&gt;Give your project a name i.e DB2StoredProceduresBCSMetaManDemo and click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/4_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Create DB2StoredProceduresBCSMetaManDemo project" border="0" alt="Create DB2StoredProceduresBCSMetaManDemo project" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/4_thumb.png" width="244" height="170" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;On the next dialog box, enter the name of where you want to deploy your model, and click “Finish” button      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/5_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Deploy as a farm solution" border="0" alt="Deploy as a farm solution" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/5_thumb.png" width="244" height="194" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;If prompted, click “Trial” on the licensing dialog &lt;/li&gt;    &lt;li&gt;To show the “BCS Meta Man Data Source Explorer” we need to enable it from the Menu item, this new window can be docked so it doesn’t get in your way      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/7_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Open the BCS Meta Man Data Source Explorer" border="0" alt="Open the BCS Meta Man Data Source Explorer" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/7_thumb.png" width="244" height="90" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click the “Add Connection” button to show the “Connection Dialog” &lt;/li&gt;    &lt;li&gt;Select “ODBC Server” as Data Source type, enter DB2 ODBC connection string (for example it can be “&lt;strong&gt;Driver={IBM DB2 ODBC DRIVER};Database=SAMPLE;Hostname=cygnus;port=50000;Protocol=TCPIP;Uid=Administrator;Pwd=12345;Trusted_Connection=false;&lt;/strong&gt;”), enter double quotes as left and right delimiters and “&lt;strong&gt;?&lt;/strong&gt;” as parameter symbol and click “Connect” button.       &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/9_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="DB2 ODBC connection string" border="0" alt="DB2 ODBC connection string" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/9_thumb.png" width="244" height="201" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The Data Source Explorer will now be populated with your DB2 data      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/10_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="See the stored procedures available to use" border="0" alt="See the stored procedures available to use" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/10_thumb.png" width="244" height="132" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Drag and drop your Finder Stored Procedure onto the design surface and enter External Content type name, i.e “Department”, click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/11_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and drop a Finder stored procedure and Enter External Content type name" border="0" alt="Drag and drop a Finder stored procedure and Enter External Content type name" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/11_thumb.png" width="244" height="100" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Choose the Finder as the method type and click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/12_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Choose the Finder as the method type" border="0" alt="Choose the Finder as the method type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/12_thumb.png" width="338" height="134" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will be created on the Diagram      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/13_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type created on diagram " border="0" alt="External Content Type created on diagram " src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/13_thumb.png" width="301" height="117" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;In order to set an identifier right-click on the External Content Type, select “Manage External Content type” menu item      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/14_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Manage External Content type" border="0" alt="Manage External Content type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/14_thumb.png" width="244" height="54" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click “Edit Identifiers” button on the “Entity Management” dialog, select an identifier and click “OK” and “Update” button then      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/15_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Set identifier " border="0" alt="Set identifier " src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/15_thumb.png" width="244" height="159" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new identifier      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/16_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with identifier" border="0" alt="External Content Type with identifier" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/16_thumb.png" width="302" height="134" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;From the “BCS Meta Man Data Source Explorer” drag and drop your Specific Finder stored procedure onto the existing External Content Type      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/17_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and drop Specific Finder stored procedure onto existing External Content Type" border="0" alt="Drag and drop Specific Finder stored procedure onto existing External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/17_thumb.png" width="244" height="93" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The “Stored Procedure Configuration” dialog will be displayed. Select “SpecificFinder” as the Method Type. Select the first Parameter – P_ID and set the Filter Type as Comparison and the Default Value as ‘0’. Click “OK”.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/18_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Configuring a Specific Finder stored procedure" border="0" alt="Configuring a Specific Finder stored procedure" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/18_thumb.png" width="244" height="230" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new Specific Finder Method      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/19_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with Finder and Specific Finder methods" border="0" alt="External Content Type with Finder and Specific Finder methods" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/19_thumb.png" width="300" height="150" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Next drag and drop the Id Enumerator stored procedure onto the existing External Content Type      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/20_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and drop Id Enumerator Stored Procedure onto existing External Content Type" border="0" alt="Drag and drop Id Enumerator Stored Procedure onto existing External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/20_thumb.png" width="244" height="99" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select “IdEnumerator” as the Method Type, Click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/21_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Configuring Id Enumerator stored procedure" border="0" alt="Configuring Id Enumerator stored procedure" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/21_thumb.png" width="338" height="134" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new Id Enumerator Method      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/22_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with Finder, Specific Finder and ID Enumerator methods" border="0" alt="External Content Type with Finder, Specific Finder and ID Enumerator methods" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/22_thumb.png" width="302" height="164" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;From the “BCS Meta Man Data Source Explorer” drag and drop your Creator stored procedure onto the existing External Content Type      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/23_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and drop Creator stored procedure onto existing External Content Type" border="0" alt="Drag and drop Creator stored procedure onto existing External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/23_thumb.png" width="244" height="104" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The “Stored Procedure Configuration” dialog will be displayed. Select “Creator” as the Method Type. For each Parameter select the appropriate column to map it to. Click “OK”.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/24_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Configuring Creator stored procedure" border="0" alt="Configuring Creator stored procedure" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/24_thumb.png" width="244" height="202" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new Creator Method      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/25_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator methods" border="0" alt="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator methods" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/25_thumb.png" width="299" height="181" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Next drag and drop your Updater stored procedure onto the existing External Content Type &lt;/li&gt;    &lt;li&gt;Again the “Stored Procedure Configuration” dialog will be displayed. Select “Updater” as the Method Type. For each Parameter select the appropriate column to map it to. Click “OK”. &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new Updater Method      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/28_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator and Updater methods" border="0" alt="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator and Updater methods" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/28_thumb.png" width="299" height="196" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Finally drag and drop your Deleter stored procedure onto the existing External Content Type &lt;/li&gt;    &lt;li&gt;Again the “Stored Procedure Configuration” dialog will be displayed. Select “Deleter” as the Method Type. Click “OK”. &lt;/li&gt;    &lt;li&gt;The complete External Content Type will look like the following      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/31_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator, Updater and Deleter methods" border="0" alt="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator, Updater and Deleter methods" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/31_thumb.png" width="299" height="210" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Press F5 to deploy The External Content Type, this will load up your SharePoint Page once deployed &lt;/li&gt;    &lt;li&gt;Add a new External list by selection on SharePoint page “Site Action”-&amp;gt;“More Options…”-&amp;gt;“External List”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/33_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Add a new external list" border="0" alt="Add a new external list" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/33_thumb.png" width="244" height="148" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Give your External List a name and Click on the icon to show the available External Content Types      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/34_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Select the available External Content Type" border="0" alt="Select the available External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/34_thumb.png" width="216" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select created DB2StoredProceduresBCSMetaManDemo.Department External Content Type, click “OK”. Click “Create” button then.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/35_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Select Department External Content Type" border="0" alt="Select Department External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/35_thumb.png" width="244" height="69" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The external data provided by DB2 stored procedure is now displayed in the SharePoint External List      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/36_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External data provided by DB2 stored procedure is now shown within SharePoint 2010" border="0" alt="External data provided by DB2 stored procedure is now shown within SharePoint 2010" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/36_thumb.png" width="244" height="125" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;You can hover over the first column of your list and you’ll see a drop down appear. If you click the drop down arrow you’ll get a number of options for that particular row of data – one of which will be View Item.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/37_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="View items through External List" border="0" alt="View items through External List" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/37_thumb.png" width="244" height="55" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;You will be presented with the View Item dialog      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/38_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="View Item dialog" border="0" alt="View Item dialog" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/38_thumb.png" width="244" height="162" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Now click “Edit item” on the ribbon of the dialog. This option is only available if you create an Updater method for your External Content Type. Clicking on this link will open up a dialog form that allows you to edit that row of data and save it.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/39_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Edit Item dialog" border="0" alt="Edit Item dialog" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/39_thumb.png" width="244" height="158" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;While viewing the external list, if you click the Items tab on the ribbon you’ll see a New Item button      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/40_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Add new data to DB2 database through the external list" border="0" alt="Add new data to DB2 database through the external list" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/40_thumb.png" width="244" height="85" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;This will bring up the “New Item” dialog where you can add a new Department. We will enter information about new Department and click “Save”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/41_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="New Item Dialog" border="0" alt="New Item Dialog" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/41_thumb.png" width="244" height="169" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;This will insert a new row directly to your DB2 database      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/42_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Updated External data provided by DB2 stored procedure is now shown within SharePoint 2010" border="0" alt="Updated External data provided by DB2 stored procedure is now shown within SharePoint 2010" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/DB2-Stored-Procedures-and-the-Business-C_14718/42_thumb.png" width="244" height="54" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;We hope this walkthrough will be useful for you. If you have any questions feel free to email them to &lt;a href="mailto:support@lightningtools.com"&gt;&lt;font color="#0072bc"&gt;support@lightningtools.com&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;Dmitry Kaloshin/&amp;gt;&lt;/p&gt;&lt;img src="http://lightningtools.com/blog/aggbug/299.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Lightning Tools</dc:creator>
            <guid>http://lightningtools.com/blog/archive/2011/09/09/db2-stored-procedures-and-the-business-connectivity-services-in-sharepoint.aspx</guid>
            <pubDate>Fri, 09 Sep 2011 13:16:51 GMT</pubDate>
            <wfw:comment>http://lightningtools.com/blog/comments/299.aspx</wfw:comment>
            <comments>http://lightningtools.com/blog/archive/2011/09/09/db2-stored-procedures-and-the-business-connectivity-services-in-sharepoint.aspx#feedback</comments>
            <wfw:commentRss>http://lightningtools.com/blog/comments/commentRss/299.aspx</wfw:commentRss>
        </item>
        <item>
            <title>BCS filters and Oracle Stored Procedures with Parameters in SharePoint 2010</title>
            <link>http://lightningtools.com/blog/archive/2011/09/07/bcs-filters-and-oracle-stored-procedures-with-parameters-in-sharepoint.aspx</link>
            <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;In this tutorial we will show you how to connect to a Oracle Database Server using &lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx" target="_blank"&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;BCS Meta Man&lt;/font&gt;&lt;/u&gt;&lt;/a&gt; and a Stored Procedure to return filtered data to a SharePoint Business Data List. In this walkthrough we will be creating a Finder Method with filters so our Oracle Stored Procedure needs to have parameters defined.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Microsoft SharePoint Server 2010 &lt;/li&gt;    &lt;li&gt;Microsoft Visual Studio 2010 Professional or higher &lt;/li&gt;    &lt;li&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;&lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx" target="_blank"&gt;BCS Meta Man&lt;/a&gt;&lt;/font&gt;&lt;/u&gt; &lt;/li&gt;    &lt;li&gt;Oracle clients (This &lt;a href="http://www.lightningtools.com/bcs-meta-man/faq.aspx" target="_blank"&gt;FAQ&lt;/a&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;&lt;/font&gt;&lt;/u&gt; describes what should be installed) &lt;/li&gt;    &lt;li&gt;Oracle stored procedure for such as:      &lt;ol&gt;       &lt;li&gt;create or replace function get_employees_filtered(p_last_name in varchar2, p_salary in number)          &lt;br /&gt;return sys_refcursor           &lt;br /&gt;is           &lt;br /&gt;  v_employees sys_refcursor;           &lt;br /&gt;begin           &lt;br /&gt;  open v_employees for select * from employees where last_name like '%' || p_last_name || '%' and salary &amp;lt; p_salary;           &lt;br /&gt;  return v_employees;           &lt;br /&gt;end get_employees_filtered; &lt;/li&gt;     &lt;/ol&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;Walkthrough&lt;/strong&gt; &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Open Visual Studio 2010 &lt;/li&gt;    &lt;li&gt;Add a New Project &lt;/li&gt;    &lt;li&gt;Expand the “SharePoint” node, select “Lightning Tools (2010)” node and then the “BCS Meta Man” project type &lt;/li&gt;    &lt;li&gt;Give your project a name i.e BCSMetaManFilteredOracleStoredProcedure and click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/4_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Create BCSMetaManFilteredOracleStoredProcedure project" border="0" alt="Create BCSMetaManFilteredOracleStoredProcedure project" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/4_thumb.png" width="244" height="170" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;On the next dialog box, enter the name of where you want to deploy your model, and click “Finish” button      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/5_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Deploy as a farm solution" border="0" alt="Deploy as a farm solution" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/5_thumb.png" width="244" height="194" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;If prompted, click “Trial” on the licensing dialog &lt;/li&gt;    &lt;li&gt;To show the “BCS Meta Man Data Source Explorer” we need to enable it from the Menu item, this new window can be docked so it doesn’t get in your way      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/7_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Open the BCS Meta Man Data Source Explorer" border="0" alt="Open the BCS Meta Man Data Source Explorer" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/7_thumb.png" width="244" height="128" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click the “Add Connection” button to show the “Connection Dialog” &lt;/li&gt;    &lt;li&gt;Select “ODBC Server” as Data Source type, enter Oracle ODBC connection string (for example it can be “&lt;strong&gt;Driver={Oracle in OraClient11g_home1};Dbq=XE_AURIGA;Uid=hr;Pwd=hr;Trusted_Connection=yes;&lt;/strong&gt;”), enter double quotes as left and right delimiters and “&lt;strong&gt;?&lt;/strong&gt;” as parameter symbol and click “Connect” button.       &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/9_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Oracle ODBC connection string" border="0" alt="Oracle ODBC connection string" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/9_thumb.png" width="244" height="201" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The Data Source Explorer will now be populated with your Oracle data      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/10_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="See the stored procedures available to use" border="0" alt="See the stored procedures available to use" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/10_thumb.png" width="244" height="241" /&gt;&lt;/a&gt; &lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Drag and drop your Finder Stored Procedure with parameters onto the design surface and enter External Content type name, i.e “FilteredEmployee”, click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/11_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and drop a Finder stored procedure and Enter External Content type name" border="0" alt="Drag and drop a Finder stored procedure and Enter External Content type name" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/11_thumb.png" width="244" height="104" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select the Method Type as “Finder’' &lt;/li&gt;    &lt;li&gt;Select the first Parameter (p_last_name) and set it’s Filter Type to Comparison and the Default Value to ‘a’      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/13_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Configuring Finder Oracle stored procedure and first parameter" border="0" alt="Configuring Finder Oracle stored procedure and first parameter" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/13_thumb.png" width="244" height="230" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Next select the second Parameter (p_salary) and also set it’s Filter Type to Comparison and the Default Value to ‘4000’      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/14_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Configuring Finder Oracle stored procedure and second parameter" border="0" alt="Configuring Finder Oracle stored procedure and second parameter" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/14_thumb.png" width="244" height="230" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click ‘OK’ &lt;/li&gt;    &lt;li&gt;The External Content Type will be created on the Diagram      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/16_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type created on diagram " border="0" alt="External Content Type created on diagram " src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/16_thumb.png" width="243" height="118" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;In order to set an identifier right-click on the External Content Type, select “Manage External Content type” menu item      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/17_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Manage External Content type" border="0" alt="Manage External Content type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/17_thumb.png" width="244" height="57" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click “Edit Identifiers” button on the “Entity Management” dialog, select an identifier and click “OK” and “Update” button then      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/18_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Set identifier" border="0" alt="Set identifier" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/18_thumb.png" width="244" height="159" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new identifier      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/19_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with identifier" border="0" alt="External Content Type with identifier" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/19_thumb.png" width="245" height="130" /&gt;&lt;/a&gt; &lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Press F5 to deploy, this will load up your SharePoint Page once deployed &lt;/li&gt;    &lt;li&gt;Add a new Business Data List Web Part to your SharePoint page      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/21_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Add Business Data List Web Part " border="0" alt="Add Business Data List Web Part " src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/21_thumb.png" width="244" height="111" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click on the ‘Open the tool pane’ link &lt;/li&gt;    &lt;li&gt;Click on the icon to show the available External Content Types      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/23_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Open the picker to select your External Content Type" border="0" alt="Open the picker to select your External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/23_thumb.png" width="248" height="168" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select our ‘ BCSMetaManFilteredOracleStoredProcedure.FilteredEmployee’ External Content Type, click ‘OK’      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/24_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Select the FilteredEmployee External Content Type" border="0" alt="Select the FilteredEmployee External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/24_thumb.png" width="244" height="59" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click ‘OK’ on the tool pane &lt;/li&gt;    &lt;li&gt;Click the ‘Add’ link on the Business Data List Web Part to add the second Filter option      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/26_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="To use multiple BCS filters click the Add link" border="0" alt="To use multiple BCS filters click the Add link" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/26_thumb.png" width="244" height="43" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Change the second Filter to be the P_SALARY and enter values for the filters and click ‘Retrieve Data’ &lt;/li&gt;    &lt;li&gt;Your Oracle data provided by Stored Procedure is now displayed in the SharePoint Web Part  &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/28_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="View your filtered data provided by Oracle stored procedure" border="0" alt="View your filtered data provided by Oracle stored procedure" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e47d1727ebbb_E99/28_thumb.png" width="244" height="61" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;We hope this walkthrough will be useful for you. If you have any questions feel free to email them to &lt;a href="mailto:support@lightningtools.com"&gt;&lt;font color="#0072bc"&gt;support@lightningtools.com&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;Dmitry Kaloshin/&amp;gt;&lt;/p&gt;&lt;img src="http://lightningtools.com/blog/aggbug/298.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Lightning Tools</dc:creator>
            <guid>http://lightningtools.com/blog/archive/2011/09/07/bcs-filters-and-oracle-stored-procedures-with-parameters-in-sharepoint.aspx</guid>
            <pubDate>Wed, 07 Sep 2011 13:35:51 GMT</pubDate>
            <wfw:comment>http://lightningtools.com/blog/comments/298.aspx</wfw:comment>
            <comments>http://lightningtools.com/blog/archive/2011/09/07/bcs-filters-and-oracle-stored-procedures-with-parameters-in-sharepoint.aspx#feedback</comments>
            <wfw:commentRss>http://lightningtools.com/blog/comments/commentRss/298.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Business Connectivity Service Associations using Oracle Stored Procedures in SharePoint 2010</title>
            <link>http://lightningtools.com/blog/archive/2011/09/06/business-connectivity-service-associations-using-oracle-stored-procedures-in-sharepoint.aspx</link>
            <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;In this walkthrough we will demonstrate you how to connect to Oracle Database Server and use stored procedures to create an association between two External Content Types using &lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx" target="_blank"&gt;BCS Meta Man&lt;/a&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;&lt;/font&gt;&lt;/u&gt;.&lt;/p&gt;  &lt;p&gt;We are going to follow on from the ‘&lt;a href="http://www.lightningtools.com/blog/archive/2011/09/05/oracle-stored-procedures-and-the-business-connectivity-services-in-sharepoint.aspx" target="_blank"&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;Oracle Stored Procedures and the Business Connectivity Services in SharePoint 2010&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;’&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Microsoft SharePoint Server 2010 &lt;/li&gt;    &lt;li&gt;Microsoft Visual Studio 2010 Professional or higher &lt;/li&gt;    &lt;li&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;&lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx" target="_blank"&gt;BCS Meta Man&lt;/a&gt;&lt;/font&gt;&lt;/u&gt; &lt;/li&gt;    &lt;li&gt;Oracle clients (This &lt;a href="http://www.lightningtools.com/bcs-meta-man/faq.aspx" target="_blank"&gt;FAQ&lt;/a&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;&lt;/font&gt;&lt;/u&gt; describes what should be installed) &lt;/li&gt;    &lt;li&gt;Oracle stored procedures for such as:      &lt;ol&gt;       &lt;li&gt;create or replace function get_all_countries  &lt;br /&gt;return sys_refcursor           &lt;br /&gt;is           &lt;br /&gt;  v_countries sys_refcursor;           &lt;br /&gt;begin           &lt;br /&gt;  open v_countries for select * from countries;           &lt;br /&gt;  return v_countries;           &lt;br /&gt;end get_all_countries; &lt;/li&gt;        &lt;li&gt;create or replace function get_country_by_id(p_id in char)  &lt;br /&gt;return sys_refcursor           &lt;br /&gt;is           &lt;br /&gt;  v_countries sys_refcursor;           &lt;br /&gt;begin           &lt;br /&gt;  open v_countries for select * from countries where country_id=p_id;           &lt;br /&gt;  return v_countries;           &lt;br /&gt;end get_country_by_id; &lt;/li&gt;        &lt;li&gt;create or replace function get_all_regions  &lt;br /&gt;return sys_refcursor           &lt;br /&gt;is           &lt;br /&gt;  v_regions sys_refcursor;           &lt;br /&gt;begin           &lt;br /&gt;  open v_regions for select * from regions;           &lt;br /&gt;  return v_regions;           &lt;br /&gt;end get_all_regions; &lt;/li&gt;        &lt;li&gt;create or replace function get_region_by_id(p_id in number)          &lt;br /&gt;return sys_refcursor           &lt;br /&gt;is           &lt;br /&gt;  v_regions sys_refcursor;           &lt;br /&gt;begin           &lt;br /&gt;  open v_regions for select * from regions where region_id=p_id;           &lt;br /&gt;  return v_regions;           &lt;br /&gt;end get_region_by_id; &lt;/li&gt;        &lt;li&gt;create or replace function get_countries_by_region_id(p_id in number)          &lt;br /&gt;return sys_refcursor           &lt;br /&gt;is           &lt;br /&gt;  v_countries sys_refcursor;           &lt;br /&gt;begin           &lt;br /&gt;  open v_countries for select * from countries where region_id=p_id;           &lt;br /&gt;  return v_countries;           &lt;br /&gt;end get_countries_by_region_id; &lt;/li&gt;     &lt;/ol&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;Walkthrough&lt;/strong&gt; &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Using the ‘&lt;a href="http://www.lightningtools.com/blog/archive/2011/09/05/oracle-stored-procedures-and-the-business-connectivity-services-in-sharepoint.aspx" target="_blank"&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;Oracle Stored Procedures and the Business Connectivity Services in SharePoint 2010&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;’ Tutorial create two External Content Types “Country” and “Region” with Finder (Read List operation) and SpecificFinder (Read Item operation) methods only. &lt;/li&gt;    &lt;li&gt;You should have the following External Content Types on your Diagram      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/2_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Both External Content Types on the design surface" border="0" alt="Both External Content Types on the design surface" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/2_thumb.png" width="244" height="151" /&gt;&lt;/a&gt; &lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Switch to the ‘Toolbox’ pane in Visual Studio (Ctrl-Alt-X) &lt;/li&gt;    &lt;li&gt;Select the ‘Association’ toolbox item from the list      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/4_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Select the Association toolbox control" border="0" alt="Select the Association toolbox control" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/4_thumb.png" width="299" height="101" /&gt;&lt;/a&gt; &lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;With the Association selected, Click and Drag from ‘Region’ to ‘Country’      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/5_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and Drop between your two External Content Types" border="0" alt="Drag and Drop between your two External Content Types" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/5_thumb.png" width="244" height="148" /&gt;&lt;/a&gt; &lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;When you release the ‘Association Configuration’ dialog will show &lt;/li&gt;    &lt;li&gt;Switch back to the ‘BCS Meta Man Data Source Explorer’ tool window pane &lt;/li&gt;    &lt;li&gt;Drag the Association Stored Procedure onto the Arrow in the ‘Association Configuration’ dialog, it will turn green when OK to release      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/8_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and Drop the Oracle Association Stored Procedure" border="0" alt="Drag and Drop the Oracle Association Stored Procedure" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/8_thumb.png" width="244" height="131" /&gt;&lt;/a&gt; &lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The dialog will update with the selected Stored Procedure      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/9_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Association Configuration dialog" border="0" alt="Association Configuration dialog" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/9_thumb.png" width="244" height="193" /&gt;&lt;/a&gt; &lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select ‘P_ID’ in the Parameter and ‘REGION_ID’ in the Identifier drop-down list boxes, Click ‘Save’      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/10_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Map the Oracle stored procedure parameter to identifier" border="0" alt="Map the Oracle stored procedure parameter to identifier" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/10_thumb.png" width="244" height="193" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The diagram will update to show an arrow indicating we have an association between the two External Content Types      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/11_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Association has been created" border="0" alt="Association has been created" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/11_thumb.png" width="244" height="163" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Press F5 to deploy, this will load up your SharePoint Page once deployed &lt;/li&gt;    &lt;li&gt;Add a new Business Data List Web Part to your SharePoint page      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/13_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Add Business Data List Web Part " border="0" alt="Add Business Data List Web Part " src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/13_thumb.png" width="244" height="111" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click on the ‘Open the tool pane’ link &lt;/li&gt;    &lt;li&gt;Click on the icon to show the available External Content Types      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/15_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Open the picker to select your External Content Type" border="0" alt="Open the picker to select your External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/15_thumb.png" width="244" height="165" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select our ‘BCSMetaMan1.Region’ External Content Type, click OK  &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/16_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Select the Region External Content Type" border="0" alt="Select the Region External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/16_thumb.png" width="244" height="79" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click ‘OK’ on the tool pane &lt;/li&gt;    &lt;li&gt;The external data provided by Oracle stored procedure is now displayed in the SharePoint Web Part      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/18_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External data provided by Oracle stored procedure is now shown within SharePoint 2010" border="0" alt="External data provided by Oracle stored procedure is now shown within SharePoint 2010" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/18_thumb.png" width="244" height="88" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Next, Add a new ‘Business Data Related List’ Web Part to the page &lt;/li&gt;    &lt;li&gt;Configure the Web Part to use the ‘BCSMetaMan1.Country’ External Content Type &lt;/li&gt;    &lt;li&gt;The Web Part will display a message saying the following      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/21_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Need to setup web part connection" border="0" alt="Need to setup web part connection" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/21_thumb.png" width="244" height="47" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;To do this we can set up the connection using the small arrow from the top right of our Web Part      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/22_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Use a web part menu to create a connection" border="0" alt="Use a web part menu to create a connection" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/22_thumb.png" width="244" height="86" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Once this is done we can click on the arrows next to an item in our ‘Region’ web part and the countries related to this region will display on our ‘Country’ web part      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/23_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Related list web part now shows the association data provided by Oracle stored procedure" border="0" alt="Related list web part now shows the association data provided by Oracle stored procedure" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/e122eaa9a95b_EBD1/23_thumb.png" width="244" height="155" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;We hope this walkthrough will be useful for you. If you have any questions feel free to email them to &lt;a href="mailto:support@lightningtools.com"&gt;&lt;font color="#0072bc"&gt;&lt;u&gt;support@lightningtools.com&lt;/u&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;Dmitry Kaloshin/&amp;gt;&lt;/p&gt;&lt;img src="http://lightningtools.com/blog/aggbug/297.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Lightning Tools</dc:creator>
            <guid>http://lightningtools.com/blog/archive/2011/09/06/business-connectivity-service-associations-using-oracle-stored-procedures-in-sharepoint.aspx</guid>
            <pubDate>Tue, 06 Sep 2011 13:21:05 GMT</pubDate>
            <wfw:comment>http://lightningtools.com/blog/comments/297.aspx</wfw:comment>
            <comments>http://lightningtools.com/blog/archive/2011/09/06/business-connectivity-service-associations-using-oracle-stored-procedures-in-sharepoint.aspx#feedback</comments>
            <wfw:commentRss>http://lightningtools.com/blog/comments/commentRss/297.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Oracle Stored Procedures and the Business Connectivity Services in SharePoint 2010</title>
            <link>http://lightningtools.com/blog/archive/2011/09/05/oracle-stored-procedures-and-the-business-connectivity-services-in-sharepoint.aspx</link>
            <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;In this walkthrough we will demonstrate how to integrate Oracle stored procedures with Microsoft SharePoint 2010 and display the data on SharePoint 2010 page. In order to do that we will describe how to create a new external content type by means of &lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx" target="_blank"&gt;BCS Meta Man&lt;/a&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;&lt;/font&gt;&lt;/u&gt;.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Microsoft SharePoint Server 2010 &lt;/li&gt;    &lt;li&gt;Microsoft Visual Studio 2010 Professional or higher &lt;/li&gt;    &lt;li&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;&lt;a href="http://www.lightningtools.com/bcs/bcs-meta-man.aspx" target="_blank"&gt;BCS Meta Man&lt;/a&gt;&lt;/font&gt;&lt;/u&gt; &lt;/li&gt;    &lt;li&gt;Oracle clients (This &lt;a href="http://www.lightningtools.com/bcs-meta-man/faq.aspx" target="_blank"&gt;FAQ&lt;/a&gt;&lt;u&gt;&lt;font color="#0066cc"&gt;&lt;/font&gt;&lt;/u&gt; describes what should be installed) &lt;/li&gt;    &lt;li&gt;Oracle stored procedures for CRUD operations such as:      &lt;ol&gt;       &lt;li&gt;create or replace function get_all_countries  &lt;br /&gt;return sys_refcursor           &lt;br /&gt;is           &lt;br /&gt;  v_countries sys_refcursor;           &lt;br /&gt;begin           &lt;br /&gt;  open v_countries for select * from countries;           &lt;br /&gt;  return v_countries;           &lt;br /&gt;end get_all_countries; &lt;/li&gt;        &lt;li&gt;create or replace function get_country_by_id(p_id in char)  &lt;br /&gt;return sys_refcursor           &lt;br /&gt;is           &lt;br /&gt;  v_countries sys_refcursor;           &lt;br /&gt;begin           &lt;br /&gt;  open v_countries for select * from countries where country_id=p_id;           &lt;br /&gt;  return v_countries;           &lt;br /&gt;end get_country_by_id; &lt;/li&gt;        &lt;li&gt;create or replace function get_country_ids  &lt;br /&gt;return sys_refcursor           &lt;br /&gt;is           &lt;br /&gt;  v_country_ids sys_refcursor;           &lt;br /&gt;begin           &lt;br /&gt;  open v_country_ids for select country_id from countries;           &lt;br /&gt;  return v_country_ids;           &lt;br /&gt;end get_country_ids; &lt;/li&gt;        &lt;li&gt;create or replace procedure create_country(p_id in char, p_name in varchar2, p_region in number)          &lt;br /&gt;is           &lt;br /&gt;begin           &lt;br /&gt;  insert into countries values(p_id, p_name, p_region);           &lt;br /&gt;end create_country; &lt;/li&gt;        &lt;li&gt;create or replace procedure update_country(p_id in char, p_name in varchar2, p_region in number)          &lt;br /&gt;is           &lt;br /&gt;begin           &lt;br /&gt;  update countries set country_name=p_name, region_id=p_region where country_id=p_id;           &lt;br /&gt;end update_country; &lt;/li&gt;        &lt;li&gt;create or replace procedure delete_country(p_id in char)          &lt;br /&gt;is           &lt;br /&gt;begin           &lt;br /&gt;  delete from countries where country_id=p_id;           &lt;br /&gt;end delete_country; &lt;/li&gt;     &lt;/ol&gt;   &lt;/li&gt; &lt;/ul&gt; &lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;Walkthrough&lt;/strong&gt;   &lt;ol&gt;   &lt;li&gt;Open Visual Studio 2010 &lt;/li&gt;    &lt;li&gt;Add a New Project &lt;/li&gt;    &lt;li&gt;Expand the “SharePoint” node, select “Lightning Tools (2010)” node and then the “BCS Meta Man” project type &lt;/li&gt;    &lt;li&gt;Give your project a name i.e OracleStoredProceduresBCSMetaManDemo and click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/4_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Create OracleStoredProceduresBCSMetaManDemo project" border="0" alt="Create OracleStoredProceduresBCSMetaManDemo project" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/4_thumb.png" width="334" height="235" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;On the next dialog box, enter the name of where you want to deploy your model, and click “Finish” button      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/5_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Deploy as a farm solution" border="0" alt="Deploy as a farm solution" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/5_thumb.png" width="334" height="266" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;If prompted, click “Trial” on the licensing dialog &lt;/li&gt;    &lt;li&gt;To show the “BCS Meta Man Data Source Explorer” we need to enable it from the Menu item, this new window can be docked so it doesn’t get in your way      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/7_4.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Open the BCS Meta Man Data Source Explorer" border="0" alt="Open the BCS Meta Man Data Source Explorer" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/7_thumb_1.png" width="334" height="168" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click the “Add Connection” button to show the “Connection Dialog” &lt;/li&gt;    &lt;li&gt;Select “ODBC Server” as Data Source type, enter Oracle ODBC connection string (for example it can be “&lt;strong&gt;Driver={Oracle in OraClient11g_home1};Dbq=XE_TAURUS;Uid=hr;Pwd=hr;Trusted_Connection=yes;&lt;/strong&gt;”), enter double quotes as left and right delimiters and “&lt;strong&gt;?&lt;/strong&gt;” as parameter symbol and click “Connect” button.       &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/9_4.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Oracle ODBC connection string" border="0" alt="Oracle ODBC connection string" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/9_thumb_1.png" width="334" height="274" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The Data Source Explorer will now be populated with your Oracle data      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/10_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="See the stored procedures available to use" border="0" alt="See the stored procedures available to use" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/10_thumb.png" width="225" height="334" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Drag and drop your Finder Stored Procedure onto the design surface and enter External Content type name, i.e “Country”, click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/11_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and drop a Finder stored procedure and Enter External Content type name" border="0" alt="Drag and drop a Finder stored procedure and Enter External Content type name" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/11_thumb.png" width="334" height="172" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Choose the Finder as the method type and click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/12_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Choose the Finder as the method type" border="0" alt="Choose the Finder as the method type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/12_thumb.png" width="338" height="134" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will be created on the Diagram      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/13_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type created on diagram " border="0" alt="External Content Type created on diagram " src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/13_thumb.png" width="214" height="113" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;In order to set an identifier right-click on the External Content Type, select “Manage External Content type” menu item      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/14_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Manage External Content type" border="0" alt="Manage External Content type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/14_thumb.png" width="334" height="99" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Click “Edit Identifiers” button on the “Entity Management” dialog, select an identifier and click “OK” and “Update” button then      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/15_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Set identifier " border="0" alt="Set identifier " src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/15_thumb.png" width="334" height="215" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new identifier      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/16_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with identifier" border="0" alt="External Content Type with identifier" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/16_thumb.png" width="213" height="127" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;From the “BCS Meta Man Data Source Explorer” drag and drop your Specific Finder stored procedure onto the existing External Content Type      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/17_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and drop Specific Finder stored procedure onto existing External Content Type" border="0" alt="Drag and drop Specific Finder stored procedure onto existing External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/17_thumb.png" width="334" height="160" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The “Stored Procedure Configuration” dialog will be displayed. Select “SpecificFinder” as the Method Type. Select the first Parameter – P_ID and set the Filter Type as Comparison and the Default Value as ‘0’. Click “OK”.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/18_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Configuring a Specific Finder stored procedure" border="0" alt="Configuring a Specific Finder stored procedure" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/18_thumb.png" width="338" height="318" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new Specific Finder Method      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/19_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with Finder and Specific Finder methods" border="0" alt="External Content Type with Finder and Specific Finder methods" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/19_thumb.png" width="216" height="146" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Next drag and drop the Id Enumerator stored procedure onto the existing External Content Type      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/20_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and drop Id Enumerator Stored Procedure onto existing External Content Type" border="0" alt="Drag and drop Id Enumerator Stored Procedure onto existing External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/20_thumb.png" width="334" height="140" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select “IdEnumerator” as the Method Type, Click “OK”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/21_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Configuring Id Enumerator stored procedure" border="0" alt="Configuring Id Enumerator stored procedure" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/21_thumb.png" width="338" height="134" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new Id Enumerator Method      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/22_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with Finder, Specific Finder and ID Enumerator methods" border="0" alt="External Content Type with Finder, Specific Finder and ID Enumerator methods" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/22_thumb.png" width="217" height="162" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;From the “BCS Meta Man Data Source Explorer” drag and drop your Creator stored procedure onto the existing External Content Type      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/23_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Drag and drop Creator stored procedure onto existing External Content Type" border="0" alt="Drag and drop Creator stored procedure onto existing External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/23_thumb.png" width="334" height="163" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The “Stored Procedure Configuration” dialog will be displayed. Select “Creator” as the Method Type. For each Parameter select the appropriate column to map it to. Click “OK”.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/24_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Configuring Creator stored procedure" border="0" alt="Configuring Creator stored procedure" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/24_thumb.png" width="338" height="276" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new Creator Method      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/25_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator methods" border="0" alt="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator methods" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/25_thumb.png" width="219" height="180" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Next drag and drop your Updater stored procedure onto the existing External Content Type &lt;/li&gt;    &lt;li&gt;Again the “Stored Procedure Configuration” dialog will be displayed. Select “Updater” as the Method Type. For each Parameter select the appropriate column to map it to. Click “OK”. &lt;/li&gt;    &lt;li&gt;The External Content Type will update with the new Updater Method      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/28_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator and Updater methods" border="0" alt="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator and Updater methods" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/28_thumb.png" width="220" height="195" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Finally drag and drop your Deleter stored procedure onto the existing External Content Type &lt;/li&gt;    &lt;li&gt;Again the “Stored Procedure Configuration” dialog will be displayed. Select “Deleter” as the Method Type. Click “OK”. &lt;/li&gt;    &lt;li&gt;The complete External Content Type will look like the following      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/31_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator, Updater and Deleter methods" border="0" alt="External Content Type with with Finder, Specific Finder, ID Enumerator, Creator, Updater and Deleter methods" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/31_thumb.png" width="216" height="210" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Press F5 to deploy The External Content Type, this will load up your SharePoint Page once deployed &lt;/li&gt;    &lt;li&gt;Add a new External list by selection on SharePoint page “Site Action”-&amp;gt;“More Options…”-&amp;gt;“External List”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/33_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Add a new external list" border="0" alt="Add a new external list" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/33_thumb.png" width="334" height="202" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Give your External List a name and Click on the icon to show the available External Content Types      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/34_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Select the available External Content Type" border="0" alt="Select the available External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/34_thumb.png" width="278" height="334" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Select created OracleStoredProceduresBCSMetaManDemo.Country External Content Type, click “OK”. Click “Create” button then.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/35_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Select Country External Content Type" border="0" alt="Select Country External Content Type" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/35_thumb.png" width="334" height="83" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;The external data provided by Oracle stored procedure is now displayed in the SharePoint External List      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/36_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="External data provided by Oracle stored procedure is now shown within SharePoint 2010" border="0" alt="External data provided by Oracle stored procedure is now shown within SharePoint 2010" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/36_thumb.png" width="334" height="211" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;You can hover over the first column of your list and you’ll see a drop down appear. If you click the drop down arrow you’ll get a number of options for that particular row of data – one of which will be View Item.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/37_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="View items through External List" border="0" alt="View items through External List" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/37_thumb.png" width="334" height="86" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;You will be presented with the View Item dialog      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/38_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="View Item dialog" border="0" alt="View Item dialog" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/38_thumb.png" width="334" height="183" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Now click “Edit item” on the ribbon of the dialog. This option is only available if you create an Updater method for your External Content Type. Clicking on this link will open up a dialog form that allows you to edit that row of data and save it.      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/39_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Edit Item dialog" border="0" alt="Edit Item dialog" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/39_thumb.png" width="334" height="186" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;While viewing the external list, if you click the Items tab on the ribbon you’ll see a New Item button      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/40_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Add new data to Oracle database through the external list" border="0" alt="Add new data to Oracle database through the external list" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/40_thumb.png" width="334" height="141" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;This will bring up the “New Item” dialog where you can add a new Country. We will enter information about new Country and  click “Save”      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/41_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="New Item Dialog" border="0" alt="New Item Dialog" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/41_thumb.png" width="334" height="201" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;This will insert a new row directly to your Oracle database      &lt;p&gt;&lt;a href="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/42_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Updated External data provided by Oracle stored procedure is now shown within SharePoint 2010" border="0" alt="Updated External data provided by Oracle stored procedure is now shown within SharePoint 2010" src="http://lightningtools.com/blog/images/lightningtools_com/blog/Windows-Live-Writer/Oracle-Stored_F4B4/42_thumb.png" width="334" height="79" /&gt;&lt;/a&gt;&lt;/p&gt;   &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;We hope this walkthrough will be useful for you. If you have any questions feel free to email them to &lt;a href="mailto:support@lightningtools.com"&gt;&lt;font color="#0072bc"&gt;support@lightningtools.com&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;Dmitry Kaloshin/&amp;gt;&lt;/p&gt;&lt;img src="http://lightningtools.com/blog/aggbug/296.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Lightning Tools</dc:creator>
            <guid>http://lightningtools.com/blog/archive/2011/09/05/oracle-stored-procedures-and-the-business-connectivity-services-in-sharepoint.aspx</guid>
            <pubDate>Mon, 05 Sep 2011 19:35:03 GMT</pubDate>
            <wfw:comment>http://lightningtools.com/blog/comments/296.aspx</wfw:comment>
            <comments>http://lightningtools.com/blog/archive/2011/09/05/oracle-stored-procedures-and-the-business-connectivity-services-in-sharepoint.aspx#feedback</comments>
            <wfw:commentRss>http://lightningtools.com/blog/comments/commentRss/296.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>
