示例#1
0
 public void InstallService(string path)
 {
     InitializationService.InstallService(path);
 }
示例#2
0
 public void StopService(string path)
 {
     InitializationService.StopService(path);
 }
示例#3
0
 public bool Triggers()
 {
     return(InitializationService.Triggers(new MasterDbContext(this.masterDbContextOptions, this.options), new ServerDbContext(this.serverDbContextOptions)));
 }
示例#4
0
 public Node GetNode(int nodeId)
 {
     return(InitializationService.GetNode(nodeId, new ServerDbContext(this.serverDbContextOptions), this.database));
 }
示例#5
0
 public bool SynchronizationMethod(INode node)
 {
     return(InitializationService.SynchronizationMethod(node, new MasterDbContext(this.masterDbContextOptions, this.options), new ServerDbContext(this.serverDbContextOptions)));
 }
示例#6
0
 public bool Router()
 {
     return(InitializationService.Router(new MasterDbContext(this.masterDbContextOptions, this.options), new ServerDbContext(this.serverDbContextOptions)));
 }
示例#7
0
 public bool NodeGroups(INode node)
 {
     return(InitializationService.NodeGroups(node, new MasterDbContext(this.masterDbContextOptions, this.options), new ServerDbContext(this.serverDbContextOptions)));
 }
示例#8
0
 public void CreateTables(string path, IConfiguration configuration)
 {
     InitializationService.CreateTables(path, configuration);
 }
示例#9
0
 public void RunOnlyOnce(string path, string syncUrlPort)
 {
     InitializationService.RunOnlyOnce(path, syncUrlPort);
 }