Пример #1
0
 public void Initialize()
 {
     GraphEnvironment.SetBaseUri("http://localhost:7474/");
     ModelBuilder.Add(new MyClassConfig());
     ModelBuilder.Add(new ManagerConfig());
     //Add the assemblies to the builder. We should pass Assembly path and Assmebly Name.
     ModelBuilder.AddAssembly((new System.Uri(System.Reflection.Assembly.GetExecutingAssembly().CodeBase)).AbsolutePath);
 }