-
January 21st, 2011, 11:46 AM
#1
How to debug .NET DataAdapter
helloworlddataadapter sample is working fine, now i am trying to create dataadapter which connects to SQL SERVER and retrieve data. but i am confused how to start with where exactly i need to write the code, how to debug the application. let anyone tell me where to start developing application and which one 1st i need create. is that necessary to develop metadataAdapter else only dataadapter and webclient is enough?
-
January 21st, 2011, 01:38 PM
#2
A more complex but still minimal starting point is the remote version of the StockListDemo Data Adapter.
The example uses a basic .NET Metadata Adapter (LiteralBasedProvider) which is provided by the library, but concentrates on the Data Adapter.
You can also start developing your own Data Adapter as a replacement for the demo one, while still leaning on the LiteralBasedProvider.
See DOCS-SDKs\sdk_adapter_dotnet\examples\Remote_StockListD emo_Adapters.
It is introduced in DOCS-SDKs\sdk_adapter_dotnet\doc\DotNet Adapters.pdf (notes on logging are also included).
With these guidelines, you can setup a .NET project that includes the supplied source files and libraries.
By default, the project should produce a new dll, to be loaded by the provided DotNetServer_N2.exe
To simplify debugging of the code, it is advisable that you follow chapter 1.5 of the doc, which lets you have the entry point of the Remote Server process ìnside your project, bypassing DotNetServer_N2.exe.
Similar Threads
-
By minhphan200677 in forum Adapter SDKs
Replies: 18
Last Post: November 17th, 2014, 10:10 AM
-
By gengliangyu2008 in forum General
Replies: 2
Last Post: November 10th, 2010, 10:40 AM
-
By brucehoch in forum Adapter SDKs
Replies: 3
Last Post: October 14th, 2010, 11:22 PM
-
By Irwin in forum Adapter SDKs
Replies: 11
Last Post: April 30th, 2010, 08:42 AM
-
By amarin in forum Adapter SDKs
Replies: 4
Last Post: August 21st, 2008, 09:23 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 06:01 PM.
Bookmarks