Represents a connection to the Orckestra CMS data system.

Namespace: Composite.Data
Assembly: Composite (in Composite.dll) Version: 5.3.6135.33083

Syntax

C#
public class DataConnection : ImplementationContainer<DataConnectionImplementation>, 
	IDisposable
Visual Basic
Public Class DataConnection _
	Inherits ImplementationContainer(Of DataConnectionImplementation) _
	Implements IDisposable
Visual C++
public ref class DataConnection : public ImplementationContainer<DataConnectionImplementation^>, 
	IDisposable

Examples

Here is an example of how to use it
CopyC#
using (DataConnection connection = new DataConnection())
{
   var q = 
      from d in connection.Get<IMyDataType>()
      where d.Name == "Foo"
      select d;
}

Inheritance Hierarchy

System..::..Object
  ImplementationContainer<(Of <(<'DataConnectionImplementation>)>)>
    Composite.Data..::..DataConnection

See Also