コード例 #1
0
 public DataSession(DataApplication application, string userAccount)
 {
     this.Application = application;
     this.UserAccount = userAccount;
     this.FStorages   = new DataStorage[application.Metadata.Classes.Count];
     this.FCentralServerConnection      = new CentralServerConnection((Integro.InMeta.Runtime.CentralServer.CentralServer)null, application.CentralServerAddress);
     this.FScriptLibraries              = new ScriptLibraries(this);
     this.FNewObjectsWithoutGeneratedId = new List <DataObject>();
     this.FUpdateLogMode    = application.Settings.UpdateLogMode;
     this.CheckRefIntegrity = application.Settings.CheckRefIntegrity;
     this.RegisterLiveSessions();
 }
コード例 #2
0
 public CodeGenerator(DataApplication application, CodeGeneratorOptions options)
 {
     this.Application = application;
     this.Options     = options;
 }