Click or drag to resize

IBackendCreatePersistentNamedGraph Method (String, IGlobalVariables, String, String, String, String)

Creates a new INamedGraph backend instance with persistence with the graph model provided by the graph model file and a name.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 8.0beta
Syntax
C#
INamedGraph CreatePersistentNamedGraph(
	string modelFilename,
	IGlobalVariables globalVariables,
	string graphName,
	string persistenceProvider,
	string connectionParameters,
	params string[] parameters
)

Parameters

modelFilename
Type: SystemString
Filename of a graph model file.
globalVariables
Type: de.unika.ipd.grGen.libGrIGlobalVariables
An object implementing the IGlobalVariables interface, serving as global variables.
graphName
Type: SystemString
Name of the graph.
persistenceProvider
Type: SystemString
The name of the persistence provider (for the persistent named graph).
connectionParameters
Type: SystemString
The connection parameters to configure the persistence provider.
parameters
Type: SystemString
Backend specific parameters.

Return Value

Type: INamedGraph
The new INamedGraph backend instance.
See Also