このリポジトリをGit Cloneします。
git clone https://github.com/Intersystems-jp/iris-dotnet-nativesdk-samples
dotnet配下の各サンプルディレクトリにあるsamples.csprojファイルの内容を環境に合わせる
例えば、Windowsの一般的な環境では、
<ItemGroup>
<Reference Include="InterSystems.Data.Utils">
<HintPath>c:\Intersystems\iris\dev\dotnet\bin\net8.0\InterSystems.Data.Utils.dll</HintPath>
</Reference>
<Reference Include="InterSystems.Data.IRISClient">
<HintPath>c:\Intersystems\iris\dev\dotnet\bin\net8.0\InterSystems.Data.IRISClient.dll</HintPath>
</Reference>
</ItemGroup>
稼働中のIRISバージョンを表示する
(ついでにSamples.ADBK.clsのロードも行う)
samples.csprojファイルをIDE(Visual StudioやVSCode)で開いて、ビルドして実行
Samples.ADBKというクラスのインスタンスにアクセスするサンプル
samples.csprojファイルをIDE(Visual StudioやVSCode)で開いて、ビルドして実行
Samples.ADBKというクラスのインスタンスにグローバルアクセスするサンプル
samples.csprojファイルをIDE(Visual StudioやVSCode)で開いて、ビルドして実行
Samples.ADBKというクラスのインスタンスにグローバルアクセスするサンプル
Iteratorを使用して繰り返し処理
samples.csprojファイルをIDE(Visual StudioやVSCode)で開いて、ビルドして実行
ADO-NETを使用してSQLアクセスするサンプル
samples.csprojファイルをIDE(Visual StudioやVSCode)で開いて、ビルドして実行