Skip to content

Session

Sam Gerené edited this page Dec 7, 2017 · 24 revisions

Introduction

The Session class is the core class of the CDP4-SDK for API developers that wish to develop C# applications that need to interface with ECSS-E-TM-10-25A Annex C. It provides a layer of abstraction exposes the following methods that can be used to Create, Read, Update and Delete objects from an Annex C data-source.

ISession interface

The Session class implements the ISession interface that exposes the following core methods:

method description async support
Open Open a connection to a data-source x
Read Read Things from a data-source x
Write Write updates to Things to a data-source x
Refresh Update the Cache with updated Things from a data-source x
Reload Reload all Things from a data-source for all open [[TopContainers TopContainer]]
Close Close the connection to a data-source and clear the Cache -

The ISession interface exposes more convenience methods that are explained in the following sections.

Open

Clone this wiki locally