コード例 #1
0
 internal AssignWorklowStepsPage(MVCGridViewType listViewType, Table table, Tables selectedTables, string webAppRootDirectory, string webAppName, string apiName, ViewNames viewNames, string viewName, string jqueryUITheme, GeneratedSqlType generatedSqlType, AppendAddEditRecordContentType appendAddEditRecordContentType, ApplicationVersion appVersion = ApplicationVersion.ProfessionalPlus, bool isUseWebApi = false, bool isUseAuditLogging = false, string webApiBaseAddress = "")
 {
     this._table                          = table;
     this._selectedTables                 = selectedTables;
     this._webAppRootDirectory            = webAppRootDirectory + "Pages\\";
     this._webAppName                     = webAppName;
     this._apiName                        = apiName;
     this._viewName                       = viewName.Trim();
     this._directory                      = webAppRootDirectory + MyConstants.DirectoryRazorPage + this._table.Name + "\\";
     this._appendAddEditRecordContentType = appendAddEditRecordContentType;
     this._appVersion                     = appVersion;
     this.Generate();
 }
コード例 #2
0
 internal AddEditPartialPage(MVCGridViewType viewType, Table table, Tables selectedTables, string webAppName, string apiName, string webAppRootDirectory, AppendAddEditRecordContentType appendAddEditRecordContentType, string viewName = "", ApplicationVersion appVersion = ApplicationVersion.ProfessionalPlus)
 {
     this._viewType       = viewType;
     this._table          = table;
     this._selectedTables = selectedTables;
     this._webAppName     = webAppName;
     this._apiName        = apiName;
     this._viewName       = viewName.Trim();
     this._appVersion     = appVersion;
     this._appendAddEditRecordContentType = appendAddEditRecordContentType;
     this._directory = this._appendAddEditRecordContentType != AppendAddEditRecordContentType.Unbound ? webAppRootDirectory + MyConstants.DirectoryRazorPageShared : webAppRootDirectory + "Pages\\" + this._table.Name + "\\";
     this.Generate();
 }
コード例 #3
0
 internal AddEditPartialPageModel(MVCGridViewType viewType, Table table, Tables selectedTables, string webAppName, string apiName, string webAppRootDirectory, AppendAddEditRecordContentType appendAddEditRecordContentType, bool isUseWebApi)
 {
     this._viewType                       = viewType;
     this._table                          = table;
     this._selectedTables                 = selectedTables;
     this._webAppRootDirectory            = webAppRootDirectory + "Pages\\";
     this._webAppName                     = webAppName;
     this._apiName                        = apiName;
     this._isUseWebApi                    = isUseWebApi;
     this._commaDelimitedColNames         = new StringBuilder();
     this._appendAddEditRecordContentType = appendAddEditRecordContentType;
     this._directory                      = this._appendAddEditRecordContentType != AppendAddEditRecordContentType.Unbound ? webAppRootDirectory + "PartialModels\\" : webAppRootDirectory + "Pages\\" + this._table.Name + "Pages\\";
     this.Generate();
 }