This commit is contained in:
王炜翔 2024-09-16 20:08:31 +08:00
parent 65355d1a37
commit b6e1a27ace
2 changed files with 20 additions and 25 deletions

View File

@ -1,7 +1,6 @@
 
using asg_form.Controllers.Store; using asg_form.Controllers.Store;
using asg_form.Controllers.Team; using asg_form.Controllers.Team;
using asg_form.Controllers.Teamregistration;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.DataEncryption; using Microsoft.EntityFrameworkCore.DataEncryption;
@ -238,7 +237,7 @@ namespace asg_form.Controllers
public DbSet<StoreinfoDB> T_Storeinfo { get; set; } public DbSet<StoreinfoDB> T_Storeinfo { get; set; }
public DbSet<T_config> T_config { get; set; } public DbSet<T_config> T_config { get; set; }
public DbSet<TaskDB> T_Task { get; set; } public DbSet<TaskDB> T_Task { get; set; }
public DbSet<ComformDB> T_Comform { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{ {
string connStr = @"Server=localhost\SQLEXPRESS;Database=master;Trusted_Connection=True;TrustServerCertificate=true"; string connStr = @"Server=localhost\SQLEXPRESS;Database=master;Trusted_Connection=True;TrustServerCertificate=true";

View File

@ -1,23 +1,19 @@
# .NET Desktop # Starter pipeline
# Build and run tests for .NET Desktop or Windows classic desktop solutions. # Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that publish symbols, save build artifacts, and more: # Add steps that build, run tests, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net # https://aka.ms/yaml
variables: # pipeline-level
branch: 'azure_branch'
trigger: trigger:
- master - master
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
git remote add github https://<username>:<password>@github.com/Brian-Ding/ant-design-blazor.git
git checkout -b $(branch)
git push -u github $(branch)
pool:
vmImage: 'windows-latest'
variables:
solution: '*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
steps:
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'
displayName: 'Command Line Script'