1. protected override mmDataAccessBase CreateDataAccessObject(string dataAccessClassName) 2. { 3. if (mmAppBase.DefaultDataAccessMode == mmDataAccessMode.Local) 4. { 5. return new InventoryDataAccess(); 6. } 7. else 8. { 9. WSHttpBinding binding = new WSHttpBinding(); 10. binding.MaxReceivedMessageSize = 147483647; 11. EndpointAddress address = new EndpointAddress("http://kjm9300/WCF Data Service Template/Service.svc/mex"); 12. return new mmDataAccessWCFSql(binding, address, "InventoryDataAccess"); 13. } 14. }I substituted mmDataAccessWCFOleDb for mmDataAccessWCFSql since I am using OleDb data (vfp data tables). That’s where the problem is. The attached jpg clearly indicates (via intellisense)that mmDataAccessWCFOleDb does not permit the parameters to be passed to the method as does mmDataAccessWCFSql . Perhaps version 4 of mmDataAccessWCFOleDb has not been completed as of yet. Perhaps mmDataAccessWCFOleDb needs to be handled differently than mmDataAccessWCFSql and the documentation needs to be updated. Perhaps the documentation for this segment has not been completed.
WSHttpBinding binding = new WSHttpBinding()
is also presenting me with a challenge. Please see the third image in the attached jpg to see the tool tip that vs2010 is throwing when I hover my mouse over the green underline.