+ optionsBuilder.ConfigureWarnings(warnings =>
+ warnings.Default(WarningBehavior.Ignore)
+ .Log(CoreEventId.IncludeIgnoredWarning, CoreEventId.ModelValidationWarning)
+ .Throw(RelationalEventId.QueryClientEvaluationWarning))
+
+
+ optionsBuilder.ConfigureWarnings(warnings =>
+ warnings.Default(WarningBehavior.Ignore)
+ .Log(CoreEventId.IncludeIgnoredWarning, CoreEventId.ModelValidationWarning)
+ .Throw(RelationalEventId.QueryClientEvaluationWarning))
+
+ LoggerCategory.Database.Sql.Name
.
+
+ var blogs = context.Blogs
+ .Where(b => EF.Property<DateTime>(b, "LastUpdated") > DateTime.Now.AddDays(-5))
+
+
+ context.Blogs.Include(blog => blog.Posts);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags).ThenInclude(tag => tag.TagInfo)
+ .Include(blog => blog.Contributors);
+
+
+ context.Blogs.Include(blog => ((SpecialBlog)blog).SpecialPosts);
+
+
+ context.Blogs.Include(blog => (blog as SpecialBlog).SpecialPosts);
+
+
+ context.Blogs.Include(blog => blog.Posts);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags).ThenInclude(tag => tag.TagInfo)
+ .Include(blog => blog.Contributors);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => ((SpecialPost)post).SpecialTags);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => (post as SpecialPost).SpecialTags);
+
+
+ context.Blogs.Include(blog => blog.Posts);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags).ThenInclude(tag => tag.TagInfo)
+ .Include(blog => blog.Contributors);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => ((SpecialPost)post).SpecialTags);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => (post as SpecialPost).SpecialTags);
+
+
+ context.Blogs.Include("Posts");
+
+
+ context.Blogs.Include("Posts.Tags");
+
+
+ context.Blogs
+ .Include("Posts.Tags.TagInfo')
+ .Include("Contributors");
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services.AddDbContext<MyContext>(options => options.UseSqlServer(connectionString));
+ }
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services.AddDbContext<MyContext>(options => options.UseSqlServer(connectionString));
+ }
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services.AddDbContext<MyContext>(ServiceLifetime.Scoped);
+ }
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services.AddDbContext<MyContext>(ServiceLifetime.Scoped);
+ }
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services
+ .AddEntityFrameworkSqlServer()
+ .AddDbContext<MyContext>((serviceProvider, options) =>
+ options.UseSqlServer(connectionString)
+ .UseInternalServiceProvider(serviceProvider));
+ }
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services
+ .AddEntityFrameworkSqlServer()
+ .AddDbContext<MyContext>((serviceProvider, options) =>
+ options.UseSqlServer(connectionString)
+ .UseInternalServiceProvider(serviceProvider));
+ }
+
+
+ optionsBuilder.ConfigureWarnings(warnings =>
+ warnings.Default(WarningBehavior.Ignore)
+ .Log(CoreEventId.IncludeIgnoredWarning, CoreEventId.ModelValidationWarning)
+ .Throw(RelationalEventId.QueryClientEvaluationWarning))
+
+
+ optionsBuilder.ConfigureWarnings(warnings =>
+ warnings.Default(WarningBehavior.Ignore)
+ .Log(CoreEventId.IncludeIgnoredWarning, CoreEventId.ModelValidationWarning)
+ .Throw(RelationalEventId.QueryClientEvaluationWarning))
+
+ LoggerCategory.Database.Sql.Name
.
+
+ var blogs = context.Blogs
+ .Where(b => EF.Property<DateTime>(b, "LastUpdated") > DateTime.Now.AddDays(-5))
+
+
+ context.Blogs.Include(blog => blog.Posts);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags).ThenInclude(tag => tag.TagInfo)
+ .Include(blog => blog.Contributors);
+
+
+ context.Blogs.Include(blog => ((SpecialBlog)blog).SpecialPosts);
+
+
+ context.Blogs.Include(blog => (blog as SpecialBlog).SpecialPosts);
+
+
+ context.Blogs.Include(blog => blog.Posts);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags).ThenInclude(tag => tag.TagInfo)
+ .Include(blog => blog.Contributors);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => ((SpecialPost)post).SpecialTags);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => (post as SpecialPost).SpecialTags);
+
+
+ context.Blogs.Include(blog => blog.Posts);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags).ThenInclude(tag => tag.TagInfo)
+ .Include(blog => blog.Contributors);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => ((SpecialPost)post).SpecialTags);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => (post as SpecialPost).SpecialTags);
+
+
+ context.Blogs.Include("Posts");
+
+
+ context.Blogs.Include("Posts.Tags");
+
+
+ context.Blogs
+ .Include("Posts.Tags.TagInfo')
+ .Include("Contributors");
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services.AddDbContext<MyContext>(options => options.UseSqlServer(connectionString));
+ }
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services.AddDbContext<MyContext>(options => options.UseSqlServer(connectionString));
+ }
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services.AddDbContext<MyContext>(ServiceLifetime.Scoped);
+ }
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services.AddDbContext<MyContext>(ServiceLifetime.Scoped);
+ }
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services
+ .AddEntityFrameworkSqlServer()
+ .AddDbContext<MyContext>((serviceProvider, options) =>
+ options.UseSqlServer(connectionString)
+ .UseInternalServiceProvider(serviceProvider));
+ }
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services
+ .AddEntityFrameworkSqlServer()
+ .AddDbContext<MyContext>((serviceProvider, options) =>
+ options.UseSqlServer(connectionString)
+ .UseInternalServiceProvider(serviceProvider));
+ }
+
+
+ optionsBuilder.ConfigureWarnings(warnings =>
+ warnings.Default(WarningBehavior.Ignore)
+ .Log(CoreEventId.IncludeIgnoredWarning, CoreEventId.ModelValidationWarning)
+ .Throw(RelationalEventId.QueryClientEvaluationWarning))
+
+
+ optionsBuilder.ConfigureWarnings(warnings =>
+ warnings.Default(WarningBehavior.Ignore)
+ .Log(CoreEventId.IncludeIgnoredWarning, CoreEventId.ModelValidationWarning)
+ .Throw(RelationalEventId.QueryClientEvaluationWarning))
+
+ LoggerCategory.Database.Sql.Name
.
+
+ var blogs = context.Blogs
+ .Where(b => EF.Property<DateTime>(b, "LastUpdated") > DateTime.Now.AddDays(-5))
+
+
+ context.Blogs.Include(blog => blog.Posts);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags).ThenInclude(tag => tag.TagInfo)
+ .Include(blog => blog.Contributors);
+
+
+ context.Blogs.Include(blog => ((SpecialBlog)blog).SpecialPosts);
+
+
+ context.Blogs.Include(blog => (blog as SpecialBlog).SpecialPosts);
+
+
+ context.Blogs.Include(blog => blog.Posts);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags).ThenInclude(tag => tag.TagInfo)
+ .Include(blog => blog.Contributors);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => ((SpecialPost)post).SpecialTags);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => (post as SpecialPost).SpecialTags);
+
+
+ context.Blogs.Include(blog => blog.Posts);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => post.Tags).ThenInclude(tag => tag.TagInfo)
+ .Include(blog => blog.Contributors);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => ((SpecialPost)post).SpecialTags);
+
+
+ context.Blogs
+ .Include(blog => blog.Posts).ThenInclude(post => (post as SpecialPost).SpecialTags);
+
+
+ context.Blogs.Include("Posts");
+
+
+ context.Blogs.Include("Posts.Tags");
+
+
+ context.Blogs
+ .Include("Posts.Tags.TagInfo')
+ .Include("Contributors");
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services.AddDbContext<MyContext>(options => options.UseSqlServer(connectionString));
+ }
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services.AddDbContext<MyContext>(options => options.UseSqlServer(connectionString));
+ }
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services.AddDbContext<MyContext>(ServiceLifetime.Scoped);
+ }
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services.AddDbContext<MyContext>(ServiceLifetime.Scoped);
+ }
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services
+ .AddEntityFrameworkSqlServer()
+ .AddDbContext<MyContext>((serviceProvider, options) =>
+ options.UseSqlServer(connectionString)
+ .UseInternalServiceProvider(serviceProvider));
+ }
+
+
+ public void ConfigureServices(IServiceCollection services)
+ {
+ var connectionString = "connection string to database";
+
+ services
+ .AddEntityFrameworkSqlServer()
+ .AddDbContext<MyContext>((serviceProvider, options) =>
+ options.UseSqlServer(connectionString)
+ .UseInternalServiceProvider(serviceProvider));
+ }
+
+ 401
+ diff --git "a/\346\233\276\345\277\227\345\213\207/src/views/error/404.vue" "b/\346\233\276\345\277\227\345\213\207/src/views/error/404.vue" new file mode 100644 index 0000000000000000000000000000000000000000..288eff3f1b401e6baab61d7fca4dca383f6fe4e2 --- /dev/null +++ "b/\346\233\276\345\277\227\345\213\207/src/views/error/404.vue" @@ -0,0 +1,3 @@ + +404
+ diff --git "a/\346\233\276\345\277\227\345\213\207/src/views/form/index.vue" "b/\346\233\276\345\277\227\345\213\207/src/views/form/index.vue" new file mode 100644 index 0000000000000000000000000000000000000000..f4d66d3bdb73260c97bcb8fa8b9b10d6775dccbc --- /dev/null +++ "b/\346\233\276\345\277\227\345\213\207/src/views/form/index.vue" @@ -0,0 +1,85 @@ + +