Rename and controllers group add
This commit is contained in:
parent
20d1287dc3
commit
4059f6e1ee
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
|
||||
namespace VOL.Builder
|
||||
namespace LM.Builder
|
||||
{
|
||||
public class Class1
|
||||
{
|
||||
|
|
@ -3,10 +3,10 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VOL.Core.BaseProvider;
|
||||
using VOL.Entity.DomainModels;
|
||||
using VOL.Core.Extensions.AutofacManager;
|
||||
namespace VOL.Builder.IRepositories
|
||||
using LM.Core.BaseProvider;
|
||||
using LM.Entity.DomainModels;
|
||||
using LM.Core.Extensions.AutofacManager;
|
||||
namespace LM.Builder.IRepositories
|
||||
{
|
||||
public partial interface ISys_TableInfoRepository : IDependency,IRepository<Sys_TableInfo>
|
||||
{
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using VOL.Core.BaseProvider;
|
||||
using VOL.Entity.DomainModels;
|
||||
using LM.Core.BaseProvider;
|
||||
using LM.Entity.DomainModels;
|
||||
|
||||
namespace VOL.Builder.IServices
|
||||
namespace LM.Builder.IServices
|
||||
{
|
||||
public partial interface ISys_TableInfoService : IService<Sys_TableInfo>
|
||||
{
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
using VOL.Core.BaseProvider;
|
||||
using VOL.Entity.DomainModels;
|
||||
using LM.Core.BaseProvider;
|
||||
using LM.Entity.DomainModels;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using VOL.Core.Utilities;
|
||||
using LM.Core.Utilities;
|
||||
|
||||
namespace VOL.Builder.IServices
|
||||
namespace LM.Builder.IServices
|
||||
{
|
||||
public partial interface ISys_TableInfoService
|
||||
{
|
||||
|
|
@ -28,8 +28,8 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\VOL.Core\VOL.Core.csproj" />
|
||||
<ProjectReference Include="..\VOL.Entity\VOL.Entity.csproj" />
|
||||
<ProjectReference Include="..\LM.Core\LM.Core.csproj" />
|
||||
<ProjectReference Include="..\LM.Entity\LM.Entity.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
},
|
||||
"VOL.Builder": {
|
||||
"LM.Builder": {
|
||||
"commandName": "Project",
|
||||
"launchBrowser": true,
|
||||
"environmentVariables": {
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
using VOL.Builder.IRepositories;
|
||||
using VOL.Core.BaseProvider;
|
||||
using VOL.Core.DbContext;
|
||||
using VOL.Core.Extensions.AutofacManager;
|
||||
using VOL.Entity.DomainModels;
|
||||
using LM.Builder.IRepositories;
|
||||
using LM.Core.BaseProvider;
|
||||
using LM.Core.DbContext;
|
||||
using LM.Core.Extensions.AutofacManager;
|
||||
using LM.Entity.DomainModels;
|
||||
|
||||
namespace VOL.Builder.Repositories
|
||||
namespace LM.Builder.Repositories
|
||||
{
|
||||
public partial class Sys_TableInfoRepository : RepositoryBase<Sys_TableInfo>, ISys_TableInfoRepository
|
||||
{
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
using VOL.Builder.Utility;
|
||||
using LM.Builder.Utility;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.DependencyModel;
|
||||
using Newtonsoft.Json;
|
||||
|
|
@ -11,18 +11,18 @@ using System.Reflection;
|
|||
using System.Runtime.Loader;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VOL.Core.Const;
|
||||
using VOL.Core.DBManager;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.Extensions;
|
||||
using VOL.Core.ManageUser;
|
||||
using VOL.Core.Utilities;
|
||||
using VOL.Entity.DomainModels;
|
||||
using VOL.Entity.DomainModels.Sys;
|
||||
using VOL.Entity.SystemModels;
|
||||
using VOL.Core.Configuration;
|
||||
using LM.Core.Const;
|
||||
using LM.Core.DBManager;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.Extensions;
|
||||
using LM.Core.ManageUser;
|
||||
using LM.Core.Utilities;
|
||||
using LM.Entity.DomainModels;
|
||||
using LM.Entity.DomainModels.Sys;
|
||||
using LM.Entity.SystemModels;
|
||||
using LM.Core.Configuration;
|
||||
|
||||
namespace VOL.Builder.Services
|
||||
namespace LM.Builder.Services
|
||||
{
|
||||
public partial class Sys_TableInfoService
|
||||
{
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
using VOL.Builder.IRepositories;
|
||||
using VOL.Builder.IServices;
|
||||
using VOL.Core.BaseProvider;
|
||||
using VOL.Core.Extensions.AutofacManager;
|
||||
using VOL.Entity.DomainModels;
|
||||
using LM.Builder.IRepositories;
|
||||
using LM.Builder.IServices;
|
||||
using LM.Core.BaseProvider;
|
||||
using LM.Core.Extensions.AutofacManager;
|
||||
using LM.Entity.DomainModels;
|
||||
|
||||
namespace VOL.Builder.Services
|
||||
namespace LM.Builder.Services
|
||||
{
|
||||
public partial class Sys_TableInfoService : ServiceBase<Sys_TableInfo, ISys_TableInfoRepository>, ISys_TableInfoService, IDependency
|
||||
{
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
using System.IO;
|
||||
using System.Linq;
|
||||
using VOL.Core.Extensions;
|
||||
using LM.Core.Extensions;
|
||||
|
||||
namespace VOL.Builder.Utility
|
||||
namespace LM.Builder.Utility
|
||||
{
|
||||
public class ProjectPath
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.BaseInterface
|
||||
namespace LM.Core.BaseInterface
|
||||
{
|
||||
public interface IServices
|
||||
{
|
||||
|
|
@ -8,12 +8,12 @@ using System.Diagnostics.CodeAnalysis;
|
|||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Threading.Tasks;
|
||||
using VOL.Core.DbContext;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.Utilities;
|
||||
using VOL.Entity.SystemModels;
|
||||
using LM.Core.DbContext;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.Utilities;
|
||||
using LM.Entity.SystemModels;
|
||||
|
||||
namespace VOL.Core.BaseProvider
|
||||
namespace LM.Core.BaseProvider
|
||||
{
|
||||
public interface IRepository<TEntity> where TEntity : BaseEntity
|
||||
{
|
||||
|
|
@ -5,12 +5,12 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using VOL.Core.CacheManager;
|
||||
using VOL.Core.Utilities;
|
||||
using VOL.Entity.DomainModels;
|
||||
using VOL.Entity.SystemModels;
|
||||
using LM.Core.CacheManager;
|
||||
using LM.Core.Utilities;
|
||||
using LM.Entity.DomainModels;
|
||||
using LM.Entity.SystemModels;
|
||||
|
||||
namespace VOL.Core.BaseProvider
|
||||
namespace LM.Core.BaseProvider
|
||||
{
|
||||
public interface IService<T> where T : BaseEntity
|
||||
{
|
||||
|
|
@ -11,16 +11,16 @@ using System.Linq;
|
|||
using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
using System.Threading.Tasks;
|
||||
using VOL.Core.DbContext;
|
||||
using VOL.Core.DBManager;
|
||||
using VOL.Core.DbSqlSugar;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.Extensions;
|
||||
using VOL.Core.Utilities;
|
||||
using VOL.Entity;
|
||||
using VOL.Entity.SystemModels;
|
||||
using LM.Core.DbContext;
|
||||
using LM.Core.DBManager;
|
||||
using LM.Core.DbSqlSugar;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.Extensions;
|
||||
using LM.Core.Utilities;
|
||||
using LM.Entity;
|
||||
using LM.Entity.SystemModels;
|
||||
|
||||
namespace VOL.Core.BaseProvider
|
||||
namespace LM.Core.BaseProvider
|
||||
{
|
||||
public abstract class RepositoryBase<TEntity> where TEntity : BaseEntity, new()
|
||||
{
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using System.IO;
|
||||
using VOL.Core.Extensions;
|
||||
using VOL.Core.Extensions.AutofacManager;
|
||||
using LM.Core.Extensions;
|
||||
using LM.Core.Extensions.AutofacManager;
|
||||
|
||||
namespace VOL.Core.BaseProvider.ServerMapPath
|
||||
namespace LM.Core.BaseProvider.ServerMapPath
|
||||
{
|
||||
public interface IPathProvider : IDependency
|
||||
{
|
||||
|
|
@ -7,24 +7,24 @@ using System.IO;
|
|||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
using VOL.Core.CacheManager;
|
||||
using VOL.Core.Configuration;
|
||||
using VOL.Core.Const;
|
||||
using VOL.Core.DBManager;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.Extensions;
|
||||
using VOL.Core.Extensions.AutofacManager;
|
||||
using VOL.Core.Filters;
|
||||
using VOL.Core.ManageUser;
|
||||
using VOL.Core.Services;
|
||||
using VOL.Core.Tenancy;
|
||||
using VOL.Core.Utilities;
|
||||
using VOL.Core.WorkFlow;
|
||||
using VOL.Entity;
|
||||
using VOL.Entity.DomainModels;
|
||||
using VOL.Entity.SystemModels;
|
||||
using LM.Core.CacheManager;
|
||||
using LM.Core.Configuration;
|
||||
using LM.Core.Const;
|
||||
using LM.Core.DBManager;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.Extensions;
|
||||
using LM.Core.Extensions.AutofacManager;
|
||||
using LM.Core.Filters;
|
||||
using LM.Core.ManageUser;
|
||||
using LM.Core.Services;
|
||||
using LM.Core.Tenancy;
|
||||
using LM.Core.Utilities;
|
||||
using LM.Core.WorkFlow;
|
||||
using LM.Entity;
|
||||
using LM.Entity.DomainModels;
|
||||
using LM.Entity.SystemModels;
|
||||
|
||||
namespace VOL.Core.BaseProvider
|
||||
namespace LM.Core.BaseProvider
|
||||
{
|
||||
public abstract class ServiceBase<T, TRepository> : ServiceFunFilter<T>
|
||||
where T : BaseEntity, new()
|
||||
|
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VOL.Core.CacheManager
|
||||
namespace LM.Core.CacheManager
|
||||
{
|
||||
public interface ICacheService : IDisposable
|
||||
{
|
||||
|
|
@ -4,7 +4,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace VOL.Core.CacheManager
|
||||
namespace LM.Core.CacheManager
|
||||
{
|
||||
public class MemoryCacheService : ICacheService
|
||||
{
|
||||
|
|
@ -4,10 +4,10 @@ using StackExchange.Redis;
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using VOL.Core.Configuration;
|
||||
using VOL.Core.Const;
|
||||
using LM.Core.Configuration;
|
||||
using LM.Core.Const;
|
||||
|
||||
namespace VOL.Core.CacheManager
|
||||
namespace LM.Core.CacheManager
|
||||
{
|
||||
public class RedisCacheService : ICacheService
|
||||
{
|
||||
|
|
@ -3,10 +3,10 @@ using Microsoft.Extensions.Configuration;
|
|||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Options;
|
||||
using System.IO;
|
||||
using VOL.Core.Const;
|
||||
using VOL.Core.Extensions;
|
||||
using LM.Core.Const;
|
||||
using LM.Core.Extensions;
|
||||
|
||||
namespace VOL.Core.Configuration
|
||||
namespace LM.Core.Configuration
|
||||
{
|
||||
public static class AppSetting
|
||||
{
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VOL.Core.Const
|
||||
namespace LM.Core.Const
|
||||
{
|
||||
public class ApplicationContentType
|
||||
{
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VOL.Core.Const
|
||||
namespace LM.Core.Const
|
||||
{
|
||||
public static class DBType
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Const
|
||||
namespace LM.Core.Const
|
||||
{
|
||||
public struct HtmlElementType
|
||||
{
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace VOL.Core.Const
|
||||
namespace LM.Core.Const
|
||||
{
|
||||
/// <summary>
|
||||
/// 加密对应密钥Key
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Const
|
||||
namespace LM.Core.Const
|
||||
{
|
||||
public struct SqlDbTypeName
|
||||
{
|
||||
|
|
@ -6,15 +6,15 @@ using System.Collections.Generic;
|
|||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using VOL.Core.Configuration;
|
||||
using VOL.Core.Extensions;
|
||||
using VOL.Core.Filters;
|
||||
using VOL.Core.Middleware;
|
||||
using VOL.Core.Services;
|
||||
using VOL.Core.Utilities;
|
||||
using VOL.Entity.DomainModels;
|
||||
using LM.Core.Configuration;
|
||||
using LM.Core.Extensions;
|
||||
using LM.Core.Filters;
|
||||
using LM.Core.Middleware;
|
||||
using LM.Core.Services;
|
||||
using LM.Core.Utilities;
|
||||
using LM.Entity.DomainModels;
|
||||
|
||||
namespace VOL.Core.Controllers.Basic
|
||||
namespace LM.Core.Controllers.Basic
|
||||
{
|
||||
[JWTAuthorize, ApiController]
|
||||
public class ApiBaseController<IServiceBase> : VolController
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using VOL.Core.Filters;
|
||||
using LM.Core.Filters;
|
||||
|
||||
namespace VOL.Core.Controllers.Basic
|
||||
namespace LM.Core.Controllers.Basic
|
||||
{
|
||||
[JWTAuthorize, ApiController]
|
||||
public class VolController : Controller
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.DBManager
|
||||
namespace LM.Core.DBManager
|
||||
{
|
||||
public class DBConnectionAttribute : Attribute
|
||||
{
|
||||
|
|
@ -5,14 +5,14 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using VOL.Core.Configuration;
|
||||
using VOL.Core.Const;
|
||||
using VOL.Core.DbContext;
|
||||
using VOL.Core.DbSqlSugar;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.Extensions;
|
||||
using LM.Core.Configuration;
|
||||
using LM.Core.Const;
|
||||
using LM.Core.DbContext;
|
||||
using LM.Core.DbSqlSugar;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.Extensions;
|
||||
|
||||
namespace VOL.Core.DBManager
|
||||
namespace LM.Core.DBManager
|
||||
{
|
||||
public partial class DBServerProvider: DbManger
|
||||
{
|
||||
|
|
@ -5,12 +5,12 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VOL.Core.DBManager;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.ManageUser;
|
||||
using VOL.Core.Utilities;
|
||||
using LM.Core.DBManager;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.ManageUser;
|
||||
using LM.Core.Utilities;
|
||||
|
||||
namespace VOL.Core.DbSqlSugar
|
||||
namespace LM.Core.DbSqlSugar
|
||||
{
|
||||
public class DbManger
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.DBManage
|
||||
namespace LM.Core.DBManage
|
||||
{
|
||||
public struct DbName
|
||||
{
|
||||
|
|
@ -8,14 +8,14 @@ using System.Linq.Expressions;
|
|||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VOL.Core.BaseProvider;
|
||||
using VOL.Core.Configuration;
|
||||
using VOL.Core.DbContext;
|
||||
using VOL.Core.DBManager;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.Extensions;
|
||||
using LM.Core.BaseProvider;
|
||||
using LM.Core.Configuration;
|
||||
using LM.Core.DbContext;
|
||||
using LM.Core.DBManager;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.Extensions;
|
||||
|
||||
namespace VOL.Core.DBManager
|
||||
namespace LM.Core.DBManager
|
||||
{
|
||||
public static class SqlSugarExtension
|
||||
{
|
||||
|
|
@ -8,13 +8,13 @@ using System.Linq.Expressions;
|
|||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VOL.Core.Configuration;
|
||||
using VOL.Core.DBManager;
|
||||
using VOL.Core.DbSqlSugar;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.Extensions;
|
||||
using LM.Core.Configuration;
|
||||
using LM.Core.DBManager;
|
||||
using LM.Core.DbSqlSugar;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.Extensions;
|
||||
|
||||
namespace VOL.Core.DBManager
|
||||
namespace LM.Core.DBManager
|
||||
{
|
||||
public static class SqlSugarRegister
|
||||
{
|
||||
|
|
@ -4,9 +4,9 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VOL.Core.DBManager;
|
||||
using LM.Core.DBManager;
|
||||
|
||||
namespace VOL.Core.DbContext
|
||||
namespace LM.Core.DbContext
|
||||
{
|
||||
public abstract class DbContext
|
||||
{
|
||||
|
|
@ -6,13 +6,13 @@ using System;
|
|||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Runtime.Loader;
|
||||
using VOL.Core.DBManager;
|
||||
using VOL.Core.DbSqlSugar;
|
||||
using VOL.Core.Extensions;
|
||||
using VOL.Core.Extensions.AutofacManager;
|
||||
using VOL.Entity.SystemModels;
|
||||
using LM.Core.DBManager;
|
||||
using LM.Core.DbSqlSugar;
|
||||
using LM.Core.Extensions;
|
||||
using LM.Core.Extensions.AutofacManager;
|
||||
using LM.Entity.SystemModels;
|
||||
|
||||
namespace VOL.Core.DbContext
|
||||
namespace LM.Core.DbContext
|
||||
{
|
||||
public class VOLContext : DbContext, IDependency
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Enums
|
||||
namespace LM.Core.Enums
|
||||
{
|
||||
public enum ActionPermissionOptions
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Enums
|
||||
namespace LM.Core.Enums
|
||||
{
|
||||
public struct ApiMessage
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Enums
|
||||
namespace LM.Core.Enums
|
||||
{
|
||||
public enum ApiStatutsCode
|
||||
{
|
||||
|
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VOL.Core.Enums
|
||||
namespace LM.Core.Enums
|
||||
{
|
||||
public enum CPrefix
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Enums
|
||||
namespace LM.Core.Enums
|
||||
{
|
||||
public enum DbCurrentType
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Enums
|
||||
namespace LM.Core.Enums
|
||||
{
|
||||
public enum LinqExpressionType
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Enums
|
||||
namespace LM.Core.Enums
|
||||
{
|
||||
public enum LoggerType
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Enums
|
||||
namespace LM.Core.Enums
|
||||
{
|
||||
public enum QueryOrderBy
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Enums
|
||||
namespace LM.Core.Enums
|
||||
{
|
||||
public enum ResponseType
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Enums
|
||||
namespace LM.Core.Enums
|
||||
{
|
||||
public enum UserAgent
|
||||
{
|
||||
|
|
@ -3,12 +3,12 @@ using Microsoft.AspNetCore.Mvc.Filters;
|
|||
using System.IdentityModel.Tokens.Jwt;
|
||||
using System.Net;
|
||||
using System.Security.Claims;
|
||||
using VOL.Core.Configuration;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.Services;
|
||||
using VOL.Core.Utilities;
|
||||
using LM.Core.Configuration;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.Services;
|
||||
using LM.Core.Utilities;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
public static class AuthorizationResponse
|
||||
{
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
using VOL.Core.Extensions;
|
||||
using LM.Core.Extensions;
|
||||
using System;
|
||||
using VOL.Core.Configuration;
|
||||
using LM.Core.Configuration;
|
||||
|
||||
namespace VOL.Core.Extensions.AutofacManager
|
||||
namespace LM.Core.Extensions.AutofacManager
|
||||
{
|
||||
public class AutofacContainerModule
|
||||
{
|
||||
|
|
@ -10,19 +10,19 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Runtime.Loader;
|
||||
using VOL.Core.CacheManager;
|
||||
using VOL.Core.Configuration;
|
||||
using VOL.Core.Const;
|
||||
using VOL.Core.DBManager;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.Extensions.AutofacManager;
|
||||
//using VOL.Core.KafkaManager.IService;
|
||||
//using VOL.Core.KafkaManager.Service;
|
||||
using VOL.Core.ManageUser;
|
||||
using VOL.Core.ObjectActionValidator;
|
||||
using VOL.Core.Services;
|
||||
using LM.Core.CacheManager;
|
||||
using LM.Core.Configuration;
|
||||
using LM.Core.Const;
|
||||
using LM.Core.DBManager;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.Extensions.AutofacManager;
|
||||
//using LM.Core.KafkaManager.IService;
|
||||
//using LM.Core.KafkaManager.Service;
|
||||
using LM.Core.ManageUser;
|
||||
using LM.Core.ObjectActionValidator;
|
||||
using LM.Core.Services;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
public static class AutofacContainerModuleExtension
|
||||
{
|
||||
|
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VOL.Core.Extensions.AutofacManager
|
||||
namespace LM.Core.Extensions.AutofacManager
|
||||
{
|
||||
public interface IDependency
|
||||
{
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using VOL.Core.Enums;
|
||||
using LM.Core.Enums;
|
||||
using System;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
public static class CacheKeyExtensions
|
||||
{
|
||||
|
|
@ -5,9 +5,9 @@ using System.Collections.Generic;
|
|||
using System.Data;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using VOL.Core.Controllers.Basic;
|
||||
using LM.Core.Controllers.Basic;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
public static class ConvertJsonExtension
|
||||
{
|
||||
|
|
@ -9,18 +9,18 @@ using System.Linq;
|
|||
using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using VOL.Core.Configuration;
|
||||
using VOL.Core.Const;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.Utilities;
|
||||
using VOL.Entity;
|
||||
using VOL.Entity.DomainModels;
|
||||
using LM.Core.Configuration;
|
||||
using LM.Core.Const;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.Utilities;
|
||||
using LM.Entity;
|
||||
using LM.Entity.DomainModels;
|
||||
/*
|
||||
* jxx 2017-08-09
|
||||
* 通用实体属操作
|
||||
*/
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
public static class EntityProperties
|
||||
{
|
||||
|
|
@ -5,7 +5,7 @@ using System.Linq;
|
|||
using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
/// <summary>
|
||||
/// 泛型扩展
|
||||
|
|
@ -11,7 +11,7 @@ using System.IO;
|
|||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
public static class HtmlHelperViewExtensions
|
||||
{
|
||||
|
|
@ -4,13 +4,13 @@ using System.Linq;
|
|||
using System.Linq.Expressions;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VOL.Core.Configuration;
|
||||
using VOL.Core.DBManager;
|
||||
using VOL.Core.DbSqlSugar;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.Extensions;
|
||||
using LM.Core.Configuration;
|
||||
using LM.Core.DBManager;
|
||||
using LM.Core.DbSqlSugar;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.Extensions;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
|
||||
public static class IdentityCode
|
||||
|
|
@ -4,9 +4,9 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
using VOL.Core.Enums;
|
||||
using LM.Core.Enums;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
public static class LambdaExtensions
|
||||
{
|
||||
|
|
@ -13,7 +13,7 @@ using System.Web;
|
|||
using System.Xml;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
|
||||
public static class ObjectExtension
|
||||
|
|
@ -3,9 +3,9 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using VOL.Core.Enums;
|
||||
using LM.Core.Enums;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
public static class HttpContextExtension
|
||||
{
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using VOL.Core.Enums;
|
||||
using LM.Core.Enums;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
public static class ResponseMsg
|
||||
{
|
||||
|
|
@ -3,7 +3,7 @@ using System.IO;
|
|||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
public static class SecurityEncDecryptExtensions
|
||||
{
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
using VOL.Core.BaseProvider.ServerMapPath;
|
||||
using LM.Core.BaseProvider.ServerMapPath;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using VOL.Core.Extensions.AutofacManager;
|
||||
using LM.Core.Extensions.AutofacManager;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
public static class ServerExtension
|
||||
{
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
using VOL.Core.Extensions;
|
||||
using LM.Core.Extensions;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
public static class ServiceProviderManagerExtension
|
||||
{
|
||||
|
|
@ -6,7 +6,7 @@ using System.Collections.Generic;
|
|||
using System.IO;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
public static class StaticDefaultFileExtensions
|
||||
{
|
||||
|
|
@ -5,7 +5,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
public static class StaticHttpContextExtensions
|
||||
{
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text.RegularExpressions;
|
||||
using VOL.Core.Const;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.ManageUser;
|
||||
using LM.Core.Const;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.ManageUser;
|
||||
|
||||
namespace VOL.Core.Extensions
|
||||
namespace LM.Core.Extensions
|
||||
{
|
||||
public static class StringExtension
|
||||
{
|
||||
|
|
@ -2,13 +2,13 @@
|
|||
using Microsoft.AspNetCore.Mvc.Filters;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.Extensions;
|
||||
using VOL.Core.ObjectActionValidator;
|
||||
using VOL.Core.Services;
|
||||
using VOL.Core.Utilities;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.Extensions;
|
||||
using LM.Core.ObjectActionValidator;
|
||||
using LM.Core.Services;
|
||||
using LM.Core.Utilities;
|
||||
|
||||
namespace VOL.Core.Filters
|
||||
namespace LM.Core.Filters
|
||||
{
|
||||
public class ActionExecuteFilter : IActionFilter
|
||||
{
|
||||
|
|
@ -2,10 +2,10 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.Extensions;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.Extensions;
|
||||
|
||||
namespace VOL.Core.Filters
|
||||
namespace LM.Core.Filters
|
||||
{
|
||||
public class ActionPermissionAttribute : TypeFilterAttribute
|
||||
{
|
||||
|
|
@ -2,14 +2,14 @@
|
|||
using Microsoft.AspNetCore.Mvc.Filters;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using VOL.Core.Configuration;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.ManageUser;
|
||||
using VOL.Core.Services;
|
||||
using VOL.Core.Utilities;
|
||||
using VOL.Entity.AttributeManager;
|
||||
using LM.Core.Configuration;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.ManageUser;
|
||||
using LM.Core.Services;
|
||||
using LM.Core.Utilities;
|
||||
using LM.Entity.AttributeManager;
|
||||
|
||||
namespace VOL.Core.Filters
|
||||
namespace LM.Core.Filters
|
||||
{
|
||||
/// <summary>
|
||||
/// 1、控制器或controller设置了AllowAnonymousAttribute直接返回
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Filters
|
||||
namespace LM.Core.Filters
|
||||
{
|
||||
public class ActionPermissionRequirement
|
||||
{
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
using VOL.Core.Enums;
|
||||
using LM.Core.Enums;
|
||||
|
||||
namespace VOL.Core.Filters
|
||||
namespace LM.Core.Filters
|
||||
{
|
||||
public class ApiActionPermissionAttribute : ActionPermissionAttribute
|
||||
{
|
||||
|
|
@ -6,12 +6,12 @@ using System.IdentityModel.Tokens.Jwt;
|
|||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Security.Claims;
|
||||
using VOL.Core.Configuration;
|
||||
using VOL.Core.Extensions;
|
||||
using VOL.Core.ManageUser;
|
||||
using static VOL.Core.Filters.ApiTaskAttribute;
|
||||
using LM.Core.Configuration;
|
||||
using LM.Core.Extensions;
|
||||
using LM.Core.ManageUser;
|
||||
using static LM.Core.Filters.ApiTaskAttribute;
|
||||
|
||||
namespace VOL.Core.Filters
|
||||
namespace LM.Core.Filters
|
||||
{
|
||||
public class ApiAuthorizeFilter : IAuthorizationFilter
|
||||
{
|
||||
|
|
@ -5,11 +5,11 @@ using Microsoft.Extensions.Primitives;
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using VOL.Core.Configuration;
|
||||
using VOL.Core.Extensions;
|
||||
using VOL.Core.Quartz;
|
||||
using LM.Core.Configuration;
|
||||
using LM.Core.Extensions;
|
||||
using LM.Core.Quartz;
|
||||
|
||||
namespace VOL.Core.Filters
|
||||
namespace LM.Core.Filters
|
||||
{
|
||||
public interface IApiTaskFilter : IFilterMetadata
|
||||
{
|
||||
|
|
@ -3,12 +3,12 @@ using Microsoft.AspNetCore.Mvc.Filters;
|
|||
using System;
|
||||
using System.Net;
|
||||
using System.Security.Claims;
|
||||
using VOL.Core.Configuration;
|
||||
using VOL.Core.Extensions;
|
||||
using VOL.Core.ManageUser;
|
||||
using VOL.Core.Utilities;
|
||||
using LM.Core.Configuration;
|
||||
using LM.Core.Extensions;
|
||||
using LM.Core.ManageUser;
|
||||
using LM.Core.Utilities;
|
||||
|
||||
namespace VOL.Core.Filters
|
||||
namespace LM.Core.Filters
|
||||
{
|
||||
public interface IFixedTokenFilter : IFilterMetadata
|
||||
{
|
||||
|
|
@ -3,7 +3,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Filters
|
||||
namespace LM.Core.Filters
|
||||
{
|
||||
public class JWTAuthorizeAttribute : AuthorizeAttribute
|
||||
{
|
||||
|
|
@ -4,12 +4,12 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.Utilities;
|
||||
using VOL.Core.WorkFlow;
|
||||
using VOL.Entity.DomainModels;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.Utilities;
|
||||
using LM.Core.WorkFlow;
|
||||
using LM.Entity.DomainModels;
|
||||
|
||||
namespace VOL.Core.Filters
|
||||
namespace LM.Core.Filters
|
||||
{
|
||||
public abstract class ServiceFunFilter<T> where T : class
|
||||
{
|
||||
|
|
@ -2,12 +2,12 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using VOL.Core.Const;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.ManageUser;
|
||||
using VOL.Core.UserManager;
|
||||
using LM.Core.Const;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.ManageUser;
|
||||
using LM.Core.UserManager;
|
||||
|
||||
namespace VOL.Core.Infrastructure
|
||||
namespace LM.Core.Infrastructure
|
||||
{
|
||||
public static class DictionaryHandler
|
||||
{
|
||||
|
|
@ -2,14 +2,14 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using VOL.Core.CacheManager;
|
||||
using VOL.Core.DBManager;
|
||||
using VOL.Core.DbSqlSugar;
|
||||
using VOL.Core.Extensions.AutofacManager;
|
||||
using VOL.Core.Services;
|
||||
using VOL.Entity.DomainModels;
|
||||
using LM.Core.CacheManager;
|
||||
using LM.Core.DBManager;
|
||||
using LM.Core.DbSqlSugar;
|
||||
using LM.Core.Extensions.AutofacManager;
|
||||
using LM.Core.Services;
|
||||
using LM.Entity.DomainModels;
|
||||
|
||||
namespace VOL.Core.Infrastructure
|
||||
namespace LM.Core.Infrastructure
|
||||
{
|
||||
public static class DictionaryManager
|
||||
{
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
//using System.Collections.Generic;
|
||||
//using System.Text;
|
||||
|
||||
//namespace VOL.Core.KafkaManager.IService
|
||||
//namespace LM.Core.KafkaManager.IService
|
||||
//{
|
||||
// public interface IKafkaConsumer<TKey, TValue> : IDisposable
|
||||
// {
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
//using System.Text;
|
||||
//using System.Threading.Tasks;
|
||||
|
||||
//namespace VOL.Core.KafkaManager.IService
|
||||
//namespace LM.Core.KafkaManager.IService
|
||||
//{
|
||||
// public interface IKafkaProducer<TKey, TValue>
|
||||
// {
|
||||
|
|
@ -2,9 +2,9 @@
|
|||
//using System;
|
||||
//using System.Collections.Generic;
|
||||
//using System.Text;
|
||||
//using VOL.Core.Configuration;
|
||||
//using LM.Core.Configuration;
|
||||
|
||||
//namespace VOL.Core.KafkaManager
|
||||
//namespace LM.Core.KafkaManager
|
||||
//{
|
||||
// /// <summary>
|
||||
// /// 配置类
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
//using System.Text;
|
||||
//using System.Text.RegularExpressions;
|
||||
|
||||
//namespace VOL.Core.KafkaManager
|
||||
//namespace LM.Core.KafkaManager
|
||||
//{
|
||||
// /// <summary>
|
||||
// /// 辅助类
|
||||
|
|
@ -3,12 +3,12 @@
|
|||
//using System.Collections.Generic;
|
||||
//using System.Text;
|
||||
//using System.Threading.Tasks;
|
||||
//using VOL.Core.Configuration;
|
||||
//using VOL.Core.Enums;
|
||||
//using VOL.Core.KafkaManager.IService;
|
||||
//using VOL.Core.Services;
|
||||
//using LM.Core.Configuration;
|
||||
//using LM.Core.Enums;
|
||||
//using LM.Core.KafkaManager.IService;
|
||||
//using LM.Core.Services;
|
||||
|
||||
//namespace VOL.Core.KafkaManager.Service
|
||||
//namespace LM.Core.KafkaManager.Service
|
||||
//{
|
||||
// /// <summary>
|
||||
// /// 消费者 (Message.Key的数据类型为string、Message.Value的数据类型为string)
|
||||
|
|
@ -3,11 +3,11 @@
|
|||
//using System.Collections.Generic;
|
||||
//using System.Text;
|
||||
//using System.Threading.Tasks;
|
||||
//using VOL.Core.Enums;
|
||||
//using VOL.Core.KafkaManager.IService;
|
||||
//using VOL.Core.Services;
|
||||
//using LM.Core.Enums;
|
||||
//using LM.Core.KafkaManager.IService;
|
||||
//using LM.Core.Services;
|
||||
|
||||
//namespace VOL.Core.KafkaManager.Service
|
||||
//namespace LM.Core.KafkaManager.Service
|
||||
//{
|
||||
// /// <summary>
|
||||
// /// 生产者 控制器或Service里面构造函数注入即可调用
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\VOL.Entity\VOL.Entity.csproj" />
|
||||
<ProjectReference Include="..\LM.Entity\LM.Entity.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VOL.Core.Middleware
|
||||
namespace LM.Core.Middleware
|
||||
{
|
||||
public class ActionLog : Attribute
|
||||
{
|
||||
|
|
@ -7,13 +7,13 @@ using System;
|
|||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VOL.Core.Const;
|
||||
using VOL.Core.Enums;
|
||||
using VOL.Core.Extensions;
|
||||
using VOL.Core.ManageUser;
|
||||
using VOL.Core.Services;
|
||||
using LM.Core.Const;
|
||||
using LM.Core.Enums;
|
||||
using LM.Core.Extensions;
|
||||
using LM.Core.ManageUser;
|
||||
using LM.Core.Services;
|
||||
|
||||
namespace VOL.Core.Middleware
|
||||
namespace LM.Core.Middleware
|
||||
{
|
||||
|
||||
public class ExceptionHandlerMiddleWare
|
||||
|
|
@ -4,7 +4,7 @@ using System.IO;
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.Middleware
|
||||
namespace LM.Core.Middleware
|
||||
{
|
||||
public class HttpRequestMiddleware
|
||||
{
|
||||
|
|
@ -3,7 +3,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace VOL.Core.ModelBinder
|
||||
namespace LM.Core.ModelBinder
|
||||
{
|
||||
public class BaseBinderProvider : IModelBinderProvider
|
||||
{
|
||||
|
|
@ -28,8 +28,8 @@ namespace VOL.Core.ModelBinder
|
|||
AddType(typeof(Dictionary<string, object>));
|
||||
AddType(typeof(List<Dictionary<string, object>>));
|
||||
AddType(typeof(List<object>));
|
||||
AddType(typeof(List<VOL.Entity.DomainModels.Sys_TableColumn>));
|
||||
AddType(typeof(VOL.Entity.DomainModels.Sys_TableInfo));
|
||||
AddType(typeof(List<LM.Entity.DomainModels.Sys_TableColumn>));
|
||||
AddType(typeof(LM.Entity.DomainModels.Sys_TableInfo));
|
||||
}
|
||||
/// <summary>
|
||||
/// 增加一个委托用于调用 return new BaseModelBinder();时对参数进行行校验,待完..
|
||||
|
|
@ -2,9 +2,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using VOL.Entity.DomainModels;
|
||||
using LM.Entity.DomainModels;
|
||||
|
||||
namespace VOL.Core.ModelBinder
|
||||
namespace LM.Core.ModelBinder
|
||||
{
|
||||
public class BaseModelBinder : IModelBinder
|
||||
{
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
|
||||
namespace VOL.Core.ModelBinder
|
||||
namespace LM.Core.ModelBinder
|
||||
{
|
||||
public class BinderObject<T> where T : class
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.ObjectActionValidator
|
||||
namespace LM.Core.ObjectActionValidator
|
||||
{
|
||||
/// <summary>
|
||||
/// 普通参数配置
|
||||
|
|
@ -8,12 +8,12 @@ using System.Linq;
|
|||
using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using VOL.Core.Extensions;
|
||||
using VOL.Core.Filters;
|
||||
using VOL.Core.Utilities;
|
||||
using LM.Core.Extensions;
|
||||
using LM.Core.Filters;
|
||||
using LM.Core.Utilities;
|
||||
|
||||
|
||||
namespace VOL.Core.ObjectActionValidator
|
||||
namespace LM.Core.ObjectActionValidator
|
||||
{
|
||||
public static class MethodsValidator
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VOL.Core.ObjectActionValidator
|
||||
namespace LM.Core.ObjectActionValidator
|
||||
{
|
||||
public class ObjectModelValidatorState
|
||||
{
|
||||
|
|
@ -4,10 +4,10 @@ using System.Collections.Generic;
|
|||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using VOL.Core.Infrastructure;
|
||||
using VOL.Core.ObjectActionValidator;
|
||||
using LM.Core.Infrastructure;
|
||||
using LM.Core.ObjectActionValidator;
|
||||
|
||||
namespace VOL.Core.ObjectActionValidator
|
||||
namespace LM.Core.ObjectActionValidator
|
||||
{
|
||||
//General
|
||||
public class ObjectGeneralValidatorFilter :Attribute, IFilterMetadata
|
||||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
|
||||
namespace VOL.Core.ObjectActionValidator
|
||||
namespace LM.Core.ObjectActionValidator
|
||||
{
|
||||
public class ObjectModelValidatorFilter : Attribute
|
||||
{
|
||||
|
|
@ -5,10 +5,10 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using VOL.Core.Extensions;
|
||||
using VOL.Core.Filters;
|
||||
using LM.Core.Extensions;
|
||||
using LM.Core.Filters;
|
||||
|
||||
namespace VOL.Core.ObjectActionValidator
|
||||
namespace LM.Core.ObjectActionValidator
|
||||
{
|
||||
public class NullObjectModelValidator : IObjectModelValidator
|
||||
{
|
||||
|
|
@ -3,10 +3,10 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq.Expressions;
|
||||
using System.Text;
|
||||
using VOL.Core.Extensions;
|
||||
using VOL.Entity.DomainModels;
|
||||
using LM.Core.Extensions;
|
||||
using LM.Entity.DomainModels;
|
||||
|
||||
namespace VOL.Core.ObjectActionValidator
|
||||
namespace LM.Core.ObjectActionValidator
|
||||
{
|
||||
/// <summary>
|
||||
/// 对方法指定属性校验,此处配置完成就不用每处都写if esle判断值是合法
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
},
|
||||
"VOL.Core": {
|
||||
"LM.Core": {
|
||||
"commandName": "Project",
|
||||
"launchBrowser": true,
|
||||
"environmentVariables": {
|
||||
|
|
@ -7,9 +7,9 @@ using System.Net.Http;
|
|||
using System.Net.Http.Headers;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VOL.Core.Extensions;
|
||||
using LM.Core.Extensions;
|
||||
|
||||
namespace VOL.Core.Quartz
|
||||
namespace LM.Core.Quartz
|
||||
{
|
||||
public static class HttpManager
|
||||
{
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue