Returns an IQueryable of the given IData interface.
If no storage supports the given IData interface, an exception is thrown.
Namespace: Composite.DataAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
Syntax
Visual Basic |
---|
Public Function Get(Of TData As {Class, IData}) As IQueryable(Of TData) |
Visual C++ |
---|
public:
generic<typename TData>
where TData : ref class, IData
IQueryable<TData>^ Get() |
Type Parameters
Return Value
Returns an IQueryable of the given IData interface for further querying
Examples
CopyC#
using (DataConnection connection = new DataConnection())
{
var q =
from d in connection.Get<IMyDataType>()
where d.Name == "Foo"
select d;
}
See Also