ReadFrom Method (Func(GraphStore), GraphReader)
[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 populate it with a GraphReader.
Namespace: System.Dataflow
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
PublicSharedFunctionReadFrom ( _
createStoreAsFunc(OfGraphStore), _
readerAsGraphReader _
) AsGraphStore
'Usage
DimcreateStoreAsFunc(OfGraphStore)
DimreaderAsGraphReaderDimreturnValueAsGraphStorereturnValue = GraphStore.ReadFrom(createStore, _
reader)
publicstaticGraphStoreReadFrom(
Func<GraphStore> createStore,
GraphReaderreader
)
public:
staticGraphStore^ ReadFrom(
Func<GraphStore^>^ createStore,
GraphReader^ reader
)
publicstaticfunctionReadFrom(
createStore : Func<GraphStore>,
reader : GraphReader
) : GraphStore
Parameters
- createStore
Type: System. . :: . .Func< (Of < ( <'GraphStore> ) > ) >
The delegate that creates the graph store.
- reader
Type: System.Dataflow. . :: . .GraphReader
The reader.
Return Value
Type: System.Dataflow. . :: . .GraphStore
The graph store.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).