diff --git a/DAL/WebApiContext.cs b/DAL/WebApiContext.cs index b96be13..097493f 100644 --- a/DAL/WebApiContext.cs +++ b/DAL/WebApiContext.cs @@ -48,162 +48,160 @@ namespace DAL { modelBuilder.Entity(entity => { - entity.ToTable("Subsidiary", "webapi"); + entity.ToTable("TBSTF_SUBSIDIARY", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("WindreamInputFolder", "webapi"); + entity.ToTable("TBSTF_WINDREAM_INPUT_FOLDER", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("WindreamSearchToDepartment", "webapi"); + entity.ToTable("TBSTF_WINDREAM_SEARCH_TO_DEPARTMENT", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("WindreamSearchItemToWindreamSearchToDepartment", "webapi"); + entity.ToTable("TBSTF_WINDREAM_SEARCH_ITEM_TO_WINDREAM_SEARCH_TO_DEPARTMENT", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("WindreamSearchItem", "webapi"); + entity.ToTable("TBSTF_WINDREAM_SEARCH_ITEM", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("WindreamSearch", "webapi"); + entity.ToTable("TBSTF_WINDREAM_SEARCH", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("WindreamIndexToWindreamSearchToDepartment", "webapi"); + entity.ToTable("TBSTF_WINDREAM_INDEX_TO_WINDREAM_SEARCH_TO_DEPARTMENT", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("WindreamIndex", "webapi"); + entity.ToTable("TBSTF_WINDREAM_INDEX", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("WindreamColumnsToDepartment", "webapi"); + entity.ToTable("TBSTF_WINDREAM_COLUMNS_TO_DEPARTMENT", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("WebAppToWebAppRole", "webapi"); + entity.ToTable("TBSTF_WEB_APP_TO_WEB_APP_ROLE", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("WebAppToWebAppAdditionalRole", "webapi"); + entity.ToTable("TBSTF_WEB_APP_TO_WEB_APP_ADDITIONAL_ROLE", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("WebAppToDepartment", "webapi"); + entity.ToTable("TBSTF_WEB_APP_TO_DEPARTMENT", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("WebAppAdditionalRole", "webapi"); + entity.ToTable("TBSTF_WEB_APP_ADDITIONAL_ROLE", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("EmployeeToWebApp", "webapi"); + entity.ToTable("TBSTF_EMPLOYEE_TO_WEB_APP", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("EmployeeToDepartment", "webapi"); + entity.ToTable("TBSTF_EMPLOYEE_TO_DEPARTMENT", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("EmployeeToAttribute", "webapi"); + entity.ToTable("TBSTF_EMPLOYEE_TO_ATTRIBUTE", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("Employee", "webapi"); + entity.ToTable("TBSTF_EMPLOYEE", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("DocumentArtToDepartment", "webapi"); + entity.ToTable("TBSTF_DOCUMENT_ART_TO_DEPARTMENT", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("DepartmentToWebAppToEmployeeForWindream", "webapi"); + entity.ToTable("TBSTF_DEPARTMENT_TO_WEB_APP_TO_EMPLOYEE_FOR_WINDREAM", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("WebAppRole", "webapi"); + entity.ToTable("TBSTF_WEB_APP_ROLE", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("WebApp", "webapi"); + entity.ToTable("TBSTF_WEB_APP", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("Rang", "webapi"); + entity.ToTable("TBSTF_RANG", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("Project", "webapi"); + entity.ToTable("TBSTF_PROJECT", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("EmployeeStatus", "webapi"); + entity.ToTable("TBSTF_EMPLOYEE_STATUS", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("EmployeeAttribute", "webapi"); + entity.ToTable("TBSTF_EMPLOYEE_ATTRIBUTE", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("DocumentArt", "webapi"); + entity.ToTable("TBSTF_DOCUMENT_ART", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("Department", "webapi"); + entity.ToTable("TBSTF_DEPARTMENT", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("CostCentre", "webapi"); + entity.ToTable("TBSTF_COST_CENTRE", "dbo"); }); - + modelBuilder.Entity(entity => { - entity.ToTable("AdWebAppToWebAppRole", "webapi"); + entity.ToTable("TBSTF_AD_WEB_APP_TO_WEB_APP_ROLE", "dbo"); }); - modelBuilder.Entity(entity => { - entity.ToTable("WebAppUser", "webapi"); + entity.ToTable("TBSTF_WEB_APP_USER", "dbo"); }); modelBuilder.Entity(entity => { - entity.ToTable("WebAppEmployeeInfo", "webapi"); + entity.ToTable("TBSTF_WEB_APP_EMPLOYEE_INFO", "dbo"); }); base.OnModelCreating(modelBuilder); } - } }