Giter Site home page Giter Site logo

quickstarts-dotnet's Introduction

quickstarts-dotnet

This code shows ADO.NET, XEP, Native, multi-model, and Entity Framework access. It is required for the .NET QuickStart which can be found here: .NET QuickStart.

Contents

  • adoNETplaystocks.cs to see how to store and retrieve data relationally
  • xepplaystocks.cs to see how to quickly store objects
  • nativeplaystocks.cs to see how to run methods within InterSystems IRIS
  • multiplay.cs to see multi-model access using ADO.NET, XEP, and Native API
  • Program.cs to see how to use Entity Framework, a third-party tool to work with objects

Configuration files

  • config.txt: contains connection details for ADO.NET, XEP, Native API and multi-model.
  • App.config: located in EFPlay folder, contains connections details, parameters and initial settings for Entity Framework.

How to Run

  1. Verify you have an instance of InterSystems IRIS, and an IDE that supports .NET (such as Microsoft Visual Studio). If you are using AWS, Azure, or GCP, that you have followed the steps to change the password for InterSystems IRIS.

  2. If you are using AWS, GCP, or Microsoft Azure, load the sample stock data into InterSystems IRIS:
    $ iris load http://github.com/intersystems/Samples-Stock-Data
    If you are using InterSystems Labs, the sample stock data is already loaded. You can skip to the next step.

  3. Clone the repo and open it in your IDE.

  4. With Microsoft Visual Studio:

    • Select FileOpenProject/Solution. Choose the quickstarts-dotnet.sln file you recently cloned.
    • Select ViewSolution Explorer to view project structure.
    • Right click on Solution. Select AddExisting item. Choose config.txt.
    • Open config.txt file and modify the IP and password to be the correct values for your InterSystems IRIS instance. Port and username are most likely the defaults but you can verify those as well.
    • Due to its complexity, Entity Framework requires a few more steps to set up the IDE and configuration file. Please follow our instructions in section 6 - "Use Entity Framework, an example of a third-party API, to store objects to InterSystems IRIS", of .NET QuickStart.

You should now have several classes for ADO.NET, XEP, Native API, multi-model and Entity Framework.

Detailed instructions are included on the .NET QuickStart page.

quickstarts-dotnet's People

Contributors

isc-ddo avatar duongdo27 avatar semanej avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.