Represents a connection to the C1 CMS data system.

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

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