13.07.2015 Views

Using the Caché Managed Provider for .NET - InterSystems ...

Using the Caché Managed Provider for .NET - InterSystems ...

Using the Caché Managed Provider for .NET - InterSystems ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Setting Up <strong>the</strong> <strong>Caché</strong> <strong>Managed</strong> <strong>Provider</strong>2. In <strong>the</strong> Add Reference window, click on Browse...3. Browse to \Dev\dotnet\Bin and select <strong>InterSystems</strong>.Data.CacheClient.dll (seeDefault <strong>Caché</strong> Installation Directory in <strong>the</strong> <strong>Caché</strong> Installation Guide <strong>for</strong> <strong>the</strong> location of on your system).4. Click OK.In <strong>the</strong> Visual Studio Solution Explorer, <strong>the</strong> <strong>InterSystems</strong>.Data.CacheClient assembly should nowbe listed under References:Add <strong>Using</strong> Statements to <strong>the</strong> ApplicationAdd <strong>the</strong> <strong>Using</strong> statements <strong>for</strong> <strong>the</strong> <strong>Caché</strong> <strong>Provider</strong> be<strong>for</strong>e <strong>the</strong> beginning of your application's namespace.Both CacheClient and CacheTypes are included in <strong>the</strong> <strong>InterSystems</strong>.Data.CacheClient assembly.using <strong>InterSystems</strong>.Data.CacheClient;using <strong>InterSystems</strong>.Data.CacheTypes;namespace DotNetSample {...}8 <strong>Using</strong> <strong>the</strong> <strong>Caché</strong> <strong>Managed</strong> <strong>Provider</strong> <strong>for</strong> .<strong>NET</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!