Share via


ReadFrom Method (Func(GraphStore), Stream)

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

Creates a GraphStore using a delegate and populates it from a stream.

Namespace:  System.Dataflow
Assembly:  System.Dataflow (in System.Dataflow.dll)

Syntax

'Declaration
PublicSharedFunctionReadFrom ( _
    createDocAsFunc(OfGraphStore), _
    streamAsStream _
) AsGraphStore
'Usage
DimcreateDocAsFunc(OfGraphStore)
DimstreamAsStreamDimreturnValueAsGraphStorereturnValue = GraphStore.ReadFrom(createDoc, _
    stream)
publicstaticGraphStoreReadFrom(
    Func<GraphStore> createDoc,
    Streamstream
)
public:
staticGraphStore^ ReadFrom(
    Func<GraphStore^>^ createDoc, 
    Stream^ stream
)
publicstaticfunctionReadFrom(
    createDoc : Func<GraphStore>, 
    stream : Stream
) : GraphStore

Parameters

Return Value

Type: System.Dataflow. . :: . .GraphStore
The graph store.

.NET Framework Security

See Also

Reference

GraphStore Class

GraphStore Members

ReadFrom Overload

System.Dataflow Namespace