From b5c1397193c356c9f88e2e04ef7617a93512d2df Mon Sep 17 00:00:00 2001 From: shuxinqin Date: Sun, 19 Dec 2021 15:38:56 +0800 Subject: [PATCH] using C#10 --- src/Chloe.Extension/Chloe.Extension.csproj | 55 +++++++------- src/Chloe.Extension/DbActionBag.cs | 4 +- src/Chloe.Extension/DbContextExtension.cs | 3 - .../DbContextExtension_NETCORE.cs | 3 - src/Chloe.Extension/FieldsResolver.cs | 6 +- src/Chloe.Extension/GlobalUsings.cs | 3 + src/Chloe.Extension/MappingExtentions.cs | 3 +- .../ParameterTwoExpressionReplacer.cs | 1 - src/Chloe.Extension/QueryExtension.cs | 3 - src/Chloe.Extension/Utils.cs | 8 +- src/Chloe.MySql/Chloe.MySql.csproj | 55 +++++++------- src/Chloe.MySql/DDL/MySqlTableGenerator.cs | 4 - src/Chloe.MySql/DataTypeAttribute.cs | 6 +- src/Chloe.MySql/DatabaseProvider.cs | 1 - src/Chloe.MySql/DbParamCollection.cs | 4 +- .../EvaluableDbExpressionTransformer.cs | 1 - src/Chloe.MySql/GlobalUsings.cs | 4 + .../MethodHandlers/Average_Handler.cs | 1 - .../MethodHandlers/Compare_Handler.cs | 2 - .../MethodHandlers/Contains_Handler.cs | 3 - .../MethodHandlers/Else_Handler.cs | 1 - .../MethodHandlers/EndsWith_Handler.cs | 1 - src/Chloe.MySql/MethodHandlers/In_Handler.cs | 2 - .../MethodHandlers/IsNullOrEmpty_Handler.cs | 2 - src/Chloe.MySql/MethodHandlers/Max_Handler.cs | 1 - .../MethodHandlers/MethodHandlerHelper.cs | 2 - src/Chloe.MySql/MethodHandlers/Min_Handler.cs | 1 - .../MethodHandlers/Parse_Handler.cs | 1 - .../MethodHandlers/StartsWith_Handler.cs | 1 - .../MethodHandlers/Substring_Handler.cs | 1 - src/Chloe.MySql/MethodHandlers/Sum_Handler.cs | 1 - src/Chloe.MySql/MySqlContext.cs | 4 - src/Chloe.MySql/MySqlContextExtension.cs | 3 +- src/Chloe.MySql/PropertyBuilderExtensions.cs | 3 - src/Chloe.MySql/SqlGenerator.cs | 2 - .../SqlGenerator_AggregateHandlers.cs | 3 - .../SqlGenerator_BinaryWithMethodHandlers.cs | 2 - src/Chloe.MySql/SqlGenerator_Helper.cs | 2 - .../SqlGenerator_MethodHandlers.cs | 6 +- src/Chloe.MySql/UtilExceptions.cs | 4 +- src/Chloe.MySql/Utils.cs | 2 - src/Chloe.Oracle/Chloe.Oracle.csproj | 55 +++++++------- src/Chloe.Oracle/DDL/OracleTableGenerator.cs | 4 - src/Chloe.Oracle/DataTypeAttribute.cs | 6 +- src/Chloe.Oracle/DatabaseProvider.cs | 1 - src/Chloe.Oracle/DbExpressionHelper.cs | 1 - src/Chloe.Oracle/DbParamCollection.cs | 4 +- .../EvaluableDbExpressionTransformer.cs | 1 - src/Chloe.Oracle/GlobalUsings.cs | 4 + .../MethodHandlers/Average_Handler.cs | 1 - .../MethodHandlers/Compare_Handler.cs | 2 - .../MethodHandlers/Contains_Handler.cs | 3 - .../MethodHandlers/DiffDays_Handler.cs | 1 - .../MethodHandlers/DiffHours_Handler.cs | 1 - .../DiffMilliseconds_Handler.cs | 1 - .../MethodHandlers/DiffMinutes_Handler.cs | 1 - .../MethodHandlers/DiffSeconds_Handler.cs | 1 - .../MethodHandlers/Else_Handler.cs | 1 - .../MethodHandlers/EndsWith_Handler.cs | 1 - src/Chloe.Oracle/MethodHandlers/In_Handler.cs | 2 - .../MethodHandlers/IsNullOrEmpty_Handler.cs | 2 - .../MethodHandlers/Max_Handler.cs | 1 - .../MethodHandlers/MethodHandlerHelper.cs | 2 - .../MethodHandlers/Min_Handler.cs | 1 - .../NextValueForSequence_Handler.cs | 1 - .../MethodHandlers/Parse_Handler.cs | 1 - .../MethodHandlers/StartsWith_Handler.cs | 1 - .../MethodHandlers/Sum_Handler.cs | 1 - src/Chloe.Oracle/OracleContext.cs | 4 - src/Chloe.Oracle/OracleSemantics.cs | 1 - src/Chloe.Oracle/PropertyBuilderExtensions.cs | 3 - src/Chloe.Oracle/SqlGenerator.cs | 2 - .../SqlGenerator_AggregateHandlers.cs | 3 - .../SqlGenerator_BinaryWithMethodHandlers.cs | 2 - src/Chloe.Oracle/SqlGenerator_Helper.cs | 3 - .../SqlGenerator_MethodHandlers.cs | 6 +- src/Chloe.Oracle/UtilConstants.cs | 3 +- src/Chloe.Oracle/UtilExceptions.cs | 3 +- src/Chloe.Oracle/Utils.cs | 3 - src/Chloe.PostgreSQL/Chloe.PostgreSQL.csproj | 55 +++++++------- .../DDL/PostgreSQLTableGenerator.cs | 4 - src/Chloe.PostgreSQL/DataTypeAttribute.cs | 6 +- src/Chloe.PostgreSQL/DatabaseProvider.cs | 1 - src/Chloe.PostgreSQL/DbParamCollection.cs | 4 +- .../EvaluableDbExpressionTransformer.cs | 1 - src/Chloe.PostgreSQL/GlobalUsings.cs | 4 + .../MethodHandlers/AddDays_Handler.cs | 1 - .../MethodHandlers/AddHours_Handler.cs | 1 - .../MethodHandlers/Average_Handler.cs | 1 - .../MethodHandlers/Compare_Handler.cs | 2 - .../MethodHandlers/Contains_Handler.cs | 3 - .../MethodHandlers/Else_Handler.cs | 1 - .../MethodHandlers/EndsWith_Handler.cs | 1 - .../MethodHandlers/In_Handler.cs | 2 - .../MethodHandlers/IsNullOrEmpty_Handler.cs | 2 - .../MethodHandlers/Max_Handler.cs | 1 - .../MethodHandlers/MethodHandlerHelper.cs | 2 - .../MethodHandlers/Min_Handler.cs | 1 - .../NextValueForSequence_Handler.cs | 1 - .../MethodHandlers/Parse_Handler.cs | 1 - .../MethodHandlers/StartsWith_Handler.cs | 1 - .../MethodHandlers/Sum_Handler.cs | 1 - src/Chloe.PostgreSQL/PostgreSQLContext.cs | 4 - .../PostgreSQLContext_Helper.cs | 3 - .../PropertyBuilderExtensions.cs | 3 - src/Chloe.PostgreSQL/SqlGenerator.cs | 2 - .../SqlGenerator_AggregateHandlers.cs | 3 - .../SqlGenerator_BinaryWithMethodHandlers.cs | 2 - src/Chloe.PostgreSQL/SqlGenerator_Helper.cs | 3 - .../SqlGenerator_MethodHandlers.cs | 6 +- src/Chloe.PostgreSQL/UtilExceptions.cs | 4 +- src/Chloe.PostgreSQL/Utils.cs | 2 - src/Chloe.SQLite/Chloe.SQLite.csproj | 55 +++++++------- src/Chloe.SQLite/ChloeSQLiteCommand.cs | 1 - .../ChloeSQLiteConcurrentConnection.cs | 2 - src/Chloe.SQLite/ChloeSQLiteDataReader.cs | 1 - src/Chloe.SQLite/ChloeSQLiteTransaction.cs | 1 - src/Chloe.SQLite/DDL/SQLiteTableGenerator.cs | 5 -- src/Chloe.SQLite/DataTypeAttribute.cs | 6 +- src/Chloe.SQLite/DatabaseProvider.cs | 1 - src/Chloe.SQLite/DbParamCollection.cs | 4 +- .../EvaluableDbExpressionTransformer.cs | 1 - src/Chloe.SQLite/GlobalUsings.cs | 4 + .../MethodHandlers/Average_Handler.cs | 1 - .../MethodHandlers/Compare_Handler.cs | 2 - .../MethodHandlers/Contains_Handler.cs | 3 - .../MethodHandlers/Else_Handler.cs | 1 - .../MethodHandlers/EndsWith_Handler.cs | 1 - src/Chloe.SQLite/MethodHandlers/In_Handler.cs | 2 - .../MethodHandlers/IsNullOrEmpty_Handler.cs | 2 - .../MethodHandlers/Max_Handler.cs | 1 - .../MethodHandlers/MethodHandlerHelper.cs | 2 - .../MethodHandlers/Min_Handler.cs | 1 - .../MethodHandlers/Parse_Handler.cs | 1 - .../MethodHandlers/StartsWith_Handler.cs | 1 - .../MethodHandlers/Sum_Handler.cs | 1 - src/Chloe.SQLite/PropertyBuilderExtensions.cs | 3 - src/Chloe.SQLite/ReaderWriterLockWrapper.cs | 3 +- src/Chloe.SQLite/SQLiteContext.cs | 4 - src/Chloe.SQLite/SqlGenerator.cs | 2 - .../SqlGenerator_AggregateHandlers.cs | 3 - .../SqlGenerator_BinaryWithMethodHandlers.cs | 2 - src/Chloe.SQLite/SqlGenerator_Helper.cs | 2 - .../SqlGenerator_MethodHandlers.cs | 6 +- src/Chloe.SQLite/UtilExceptions.cs | 4 +- src/Chloe.SQLite/Utils.cs | 2 - src/Chloe.SqlServer/Chloe.SqlServer.csproj | 71 +++++++++--------- .../DDL/SqlServerTableGenerator.cs | 4 - src/Chloe.SqlServer/DataTypeAttribute.cs | 6 +- src/Chloe.SqlServer/DatabaseProvider.cs | 1 - src/Chloe.SqlServer/DbParamCollection.cs | 4 +- .../EvaluableDbExpressionTransformer.cs | 1 - src/Chloe.SqlServer/GlobalUsings.cs | 4 + .../MethodHandlers/Average_Handler.cs | 1 - .../MethodHandlers/Compare_Handler.cs | 2 - .../MethodHandlers/Contains_Handler.cs | 3 - .../MethodHandlers/Else_Handler.cs | 1 - .../MethodHandlers/EndsWith_Handler.cs | 1 - .../MethodHandlers/In_Handler.cs | 2 - .../MethodHandlers/IsNullOrEmpty_Handler.cs | 2 - .../MethodHandlers/Max_Handler.cs | 1 - .../MethodHandlers/MethodHandlerHelper.cs | 1 - .../MethodHandlers/Min_Handler.cs | 1 - .../NextValueForSequence_Handler.cs | 1 - .../MethodHandlers/Parse_Handler.cs | 1 - .../MethodHandlers/StartsWith_Handler.cs | 1 - .../MethodHandlers/Sum_Handler.cs | 1 - src/Chloe.SqlServer/MsSqlContext.cs | 4 - src/Chloe.SqlServer/MsSqlContextExtension.cs | 4 +- src/Chloe.SqlServer/MsSqlContext_Helper.cs | 3 - .../PropertyBuilderExtensions.cs | 3 - src/Chloe.SqlServer/SqlGenerator.cs | 2 - .../SqlGenerator_AggregateHandlers.cs | 3 - .../SqlGenerator_BinaryWithMethodHandlers.cs | 2 - src/Chloe.SqlServer/SqlGenerator_Helper.cs | 3 - .../SqlGenerator_MethodHandlers.cs | 6 +- .../SqlGenerator_OffsetFetch.cs | 1 - src/Chloe.SqlServer/UtilExceptions.cs | 4 +- src/Chloe.SqlServer/Utils.cs | 2 - .../Annotations/AutoIncrementAttribute.cs | 4 +- src/Chloe/Annotations/ColumnAttribute.cs | 3 +- src/Chloe/Annotations/DbFunctionAttribute.cs | 4 +- src/Chloe/Annotations/NavigationAttribute.cs | 4 +- .../Annotations/NonAutoIncrementAttribute.cs | 4 +- src/Chloe/Annotations/NotMappedAttribute.cs | 4 +- src/Chloe/Annotations/NotNullAttribute.cs | 4 +- src/Chloe/Annotations/SequenceAttribute.cs | 4 +- src/Chloe/Annotations/TableAttribute.cs | 4 +- .../Annotations/UpdateIgnoreAttribute.cs | 4 +- src/Chloe/Chloe.csproj | 73 ++++++++++--------- src/Chloe/Core/DbCommandInfo.cs | 4 +- src/Chloe/Core/IAsyncEnumerator.cs | 1 - src/Chloe/Core/IEntityState.cs | 1 - .../BooleanResultExpressionTransformer.cs | 4 +- .../Visitors/DbExpressionEvaluableJudge.cs | 1 - .../Core/Visitors/DbExpressionEvaluator.cs | 2 - .../Core/Visitors/DefaultExpressionParser.cs | 2 - .../EvaluableDbExpressionTransformerBase.cs | 1 - .../Core/Visitors/ExpressionEvaluator.cs | 2 - .../Core/Visitors/ExpressionVisitorBase.cs | 2 - src/Chloe/Core/Visitors/ExpressionVisitor`.cs | 3 +- .../Core/Visitors/InitMemberExtractor.cs | 4 +- .../JoinConditionExpressionTransformer.cs | 2 - src/Chloe/DDL/TableCreateMode.cs | 6 +- src/Chloe/DDL/TableGenerator.cs | 5 -- src/Chloe/Data/AdoExtension.cs | 6 -- src/Chloe/Data/AdoSession.cs | 2 - src/Chloe/Data/DataReaderConstant.cs | 1 - src/Chloe/Data/DataReaderDecorator.cs | 3 +- src/Chloe/Data/DataReaderExtension.cs | 3 +- src/Chloe/Data/DbCommandDecorator.cs | 3 +- src/Chloe/Data/ExternalAdoSession.cs | 3 +- src/Chloe/Data/IAdoSession.cs | 1 - src/Chloe/Data/IDbValueReader.cs | 3 +- src/Chloe/Data/InnerAdoSession.cs | 2 - src/Chloe/Data/InternalAdoSession.cs | 3 +- src/Chloe/Data/InternalDataReader.cs | 4 +- src/Chloe/Data/OutputParameter.cs | 4 +- src/Chloe/DbContext.cs | 3 - src/Chloe/DbContext_Helper.cs | 3 - src/Chloe/DbExpressions/DbAddExpression.cs | 3 +- .../DbExpressions/DbAggregateExpression.cs | 4 +- src/Chloe/DbExpressions/DbBinaryExpression.cs | 3 +- src/Chloe/DbExpressions/DbBitAndExpression.cs | 4 +- src/Chloe/DbExpressions/DbBitOrExpression.cs | 4 +- .../DbExpressions/DbCaseWhenExpression.cs | 4 +- src/Chloe/DbExpressions/DbColumn.cs | 3 +- .../DbExpressions/DbConstantExpression.cs | 4 +- .../DbExpressions/DbConvertExpression.cs | 4 +- src/Chloe/DbExpressions/DbDivideExpression.cs | 3 +- src/Chloe/DbExpressions/DbExpression.cs | 4 +- .../DbExpressions/DbExpressionVisitor.cs | 5 +- .../DbExpressions/DbExpressionVisitor`.cs | 4 +- src/Chloe/DbExpressions/DbInsertExpression.cs | 4 +- .../DbExpressions/DbMainTableExpression.cs | 4 +- src/Chloe/DbExpressions/DbMemberExpression.cs | 1 - .../DbExpressions/DbMethodCallExpression.cs | 4 +- src/Chloe/DbExpressions/DbModuloExpression.cs | 3 +- .../DbExpressions/DbMultiplyExpression.cs | 3 +- src/Chloe/DbExpressions/DbNegateExpression.cs | 4 +- .../DbExpressions/DbParameterExpression.cs | 3 +- .../DbExpressions/DbSqlQueryExpression.cs | 5 +- .../DbExpressions/DbSubQueryExpression.cs | 5 +- .../DbExpressions/DbSubtractExpression.cs | 3 +- src/Chloe/DbExpressions/DbTable.cs | 4 +- src/Chloe/DbExpressions/DbUpdateExpression.cs | 4 +- src/Chloe/DbParam.cs | 3 +- src/Chloe/DbParamList.cs | 5 +- .../CollectionPropertyDescriptor.cs | 1 - .../Descriptors/ComplexPropertyDescriptor.cs | 1 - .../Descriptors/ConstructorDescriptor.cs | 2 - src/Chloe/Descriptors/PropertyDescriptor.cs | 3 - .../PropertyDescriptorExtension.cs | 1 - src/Chloe/Descriptors/TypeDescriptor.cs | 2 - .../Entity/CollectionPropertyDefinition.cs | 5 +- src/Chloe/Entity/ComplexPropertyBuilder.cs | 3 +- src/Chloe/Entity/ComplexPropertyDefinition.cs | 4 +- src/Chloe/Entity/EntityType.cs | 3 - src/Chloe/Entity/EntityTypeBuilder.cs | 4 +- src/Chloe/Entity/IComplexPropertyBuilder.cs | 3 +- src/Chloe/Entity/IEntityTypeBuilder.cs | 3 +- src/Chloe/Entity/InternalEntityTypeBuilder.cs | 3 - src/Chloe/Entity/PrimitivePropertyBuilder.cs | 3 +- .../Entity/PrimitivePropertyDefinition.cs | 1 - src/Chloe/Entity/PropertyBase.cs | 3 +- src/Chloe/Entity/PropertyDefinition.cs | 4 +- src/Chloe/Entity/PropertyNameExtractor.cs | 1 - src/Chloe/Entity/TypeDefinition.cs | 3 - src/Chloe/Exceptions/ChloeException.cs | 4 +- src/Chloe/Exceptions/UnbelievableException.cs | 4 +- src/Chloe/Extensions/DbExpressionExtension.cs | 2 - src/Chloe/Extensions/ExpressionExtension.cs | 2 - src/Chloe/GlobalUsings.cs | 11 +++ src/Chloe/IDbContext.cs | 4 +- src/Chloe/IDbSession.cs | 1 - src/Chloe/IGroupingQuery.cs | 3 +- src/Chloe/IIncludableQuery.cs | 4 +- src/Chloe/IJoinQuery`.cs | 3 +- src/Chloe/IOrderedQuery`.cs | 3 +- src/Chloe/IQuery.cs | 4 +- src/Chloe/IQuery`.cs | 4 +- src/Chloe/ITransientTransaction.cs | 3 +- src/Chloe/Infrastructure/DbConfiguration.cs | 1 - .../Infrastructure/EntityTypeContainer.cs | 3 - .../Infrastructure/IDbConnectionFactory.cs | 3 +- .../Infrastructure/IDbParameterAssembler.cs | 3 +- src/Chloe/Infrastructure/IDbValueConverter.cs | 4 +- .../DbCommandInterceptionContext`.cs | 5 +- .../Interception/DbInterception.cs | 5 +- src/Chloe/Infrastructure/MappingType.cs | 3 +- .../Infrastructure/MappingTypeBuilder.cs | 3 +- src/Chloe/Infrastructure/MappingTypeSystem.cs | 2 - .../Activators/CollectionObjectActivator.cs | 2 - .../Activators/ComplexObjectActivator.cs | 2 - .../Activators/PrimitiveObjectActivator.cs | 1 - .../Mapper/Activators/RootEntityActivator.cs | 1 - .../Mapper/Binders/PrimitiveMemberBinder.cs | 1 - src/Chloe/Mapper/IEntityKey.cs | 2 - src/Chloe/Mapper/IFitter.cs | 2 - src/Chloe/Mapper/IMRM.cs | 1 - src/Chloe/Mapper/ObjectConstructor.cs | 2 - src/Chloe/Mapper/ObjectMemberMapper.cs | 2 - src/Chloe/Query/GroupingQuery.cs | 2 - src/Chloe/Query/IncludableQuery`.cs | 2 - src/Chloe/Query/Internals/DapperRow.cs | 5 -- .../Query/Internals/DapperRowMetaObject.cs | 2 - .../Internals/DapperRowObjectActivator.cs | 1 - src/Chloe/Query/Internals/DapperTable.cs | 3 - .../Query/Internals/DataReaderEnumerator.cs | 8 -- src/Chloe/Query/Internals/InternalQuery.cs | 3 - src/Chloe/Query/Internals/InternalSqlQuery.cs | 8 -- src/Chloe/Query/Internals/QueryEnumerator.cs | 8 -- .../JoinQueryParameterExpressionReplacer.cs | 3 +- src/Chloe/Query/JoinQuery`.cs | 2 - .../CollectionObjectActivatorCreator.cs | 3 - .../Mapping/ComplexObjectActivatorCreator.cs | 3 - .../Query/Mapping/IObjectActivatorCreator.cs | 1 - .../PrimitiveObjectActivatorCreator.cs | 1 - .../Query/Model/CollectionObjectModel.cs | 1 - src/Chloe/Query/Model/ComplexObjectModel.cs | 3 - src/Chloe/Query/Model/IObjectModel.cs | 3 - src/Chloe/Query/Model/ObjectModelBase.cs | 1 - src/Chloe/Query/Model/PrimitiveObjectModel.cs | 2 - src/Chloe/Query/Model/QueryModel.cs | 2 - src/Chloe/Query/OrderedQuery`.cs | 1 - src/Chloe/Query/Query.Async.cs | 5 +- .../AggregateQueryExpression.cs | 3 +- .../QueryExpressions/DistinctExpression.cs | 4 +- .../GroupingQueryExpression.cs | 2 - .../IgnoreAllFiltersExpression.cs | 4 +- .../QueryExpressions/IncludeExpression.cs | 4 +- .../QueryExpressions/JoinQueryExpression.cs | 4 +- .../Query/QueryExpressions/OrderExpression.cs | 3 +- .../Query/QueryExpressions/QueryExpression.cs | 4 +- .../QueryExpressionVisitor`.cs | 4 +- .../QueryExpressions/RootQueryExpression.cs | 4 +- .../QueryExpressions/SelectExpression.cs | 3 +- .../Query/QueryExpressions/SkipExpression.cs | 4 +- .../Query/QueryExpressions/TakeExpression.cs | 4 +- .../Query/QueryExpressions/WhereExpression.cs | 3 +- src/Chloe/Query/QueryHelper.cs | 4 +- src/Chloe/Query/QueryState/IQueryState.cs | 1 - src/Chloe/Query/QueryState/LimitQueryState.cs | 1 - src/Chloe/Query/QueryState/QueryStateBase.cs | 2 - src/Chloe/Query/QueryState/RootQueryState.cs | 3 - src/Chloe/Query/QueryState/SkipQueryState.cs | 1 - src/Chloe/Query/QueryState/TakeQueryState.cs | 1 - src/Chloe/Query/Query`.cs | 3 - src/Chloe/Query/ScopeParameterDictionary.cs | 4 +- .../Query/Visitors/GeneralExpressionParser.cs | 3 - .../Query/Visitors/QueryExpressionResolver.cs | 1 - src/Chloe/Query/Visitors/SelectorResolver.cs | 1 - src/Chloe/RDBMS/ISqlBuilder.cs | 4 +- src/Chloe/RDBMS/SqlGeneratorBase.cs | 3 - src/Chloe/Reflection/DelegateFactory.cs | 7 +- src/Chloe/Reflection/Emit/ClassGenerator.cs | 3 - .../Reflection/Emit/DelegateGenerator.cs | 2 - src/Chloe/Reflection/Emit/EmitHelper.cs | 3 +- .../Reflection/InstanceCreatorContainer.cs | 5 +- src/Chloe/Reflection/MemberMapper.cs | 5 +- src/Chloe/Reflection/ReflectionExtension.cs | 3 +- src/Chloe/Sql.cs | 4 +- src/Chloe/Utility/PairList.cs | 5 +- src/Chloe/Utility/PrimaryKeyHelper.cs | 3 - src/Chloe/Utility/PublicConstants.cs | 3 - src/Chloe/Utility/PublicHelper.cs | 3 - src/Chloe/Utility/StringSet.cs | 4 +- src/Chloe/Utility/UtilConstants.cs | 3 +- src/Chloe/Utility/Utils.cs | 2 - src/tools/Chloe.MySql.nuspec | 8 +- src/tools/Chloe.Oracle.nuspec | 8 +- src/tools/Chloe.PostgreSQL.nuspec | 8 +- src/tools/Chloe.SQLite.nuspec | 8 +- src/tools/Chloe.SqlServer.nuspec | 8 +- src/tools/Chloe.nuspec | 2 +- 375 files changed, 399 insertions(+), 1062 deletions(-) create mode 100644 src/Chloe.Extension/GlobalUsings.cs create mode 100644 src/Chloe.MySql/GlobalUsings.cs create mode 100644 src/Chloe.Oracle/GlobalUsings.cs create mode 100644 src/Chloe.PostgreSQL/GlobalUsings.cs create mode 100644 src/Chloe.SQLite/GlobalUsings.cs create mode 100644 src/Chloe.SqlServer/GlobalUsings.cs create mode 100644 src/Chloe/GlobalUsings.cs diff --git a/src/Chloe.Extension/Chloe.Extension.csproj b/src/Chloe.Extension/Chloe.Extension.csproj index b1202cf6..665bfeb0 100644 --- a/src/Chloe.Extension/Chloe.Extension.csproj +++ b/src/Chloe.Extension/Chloe.Extension.csproj @@ -1,34 +1,35 @@  - - netstandard2.0;net45;net5.0 + + netstandard2.0;net45;net5.0 + 10.0 - 4.12.0 - 4.12.0.0 - 4.12.0.0 - A lightweight and high-performance Object/Relational Mapping(ORM) library. - Chloe.Extension - Chloe.ORM - Shuxin Qin - Copyright 2016-2021. - false - + 4.12.0 + 4.12.0.0 + 4.12.0.0 + A lightweight and high-performance Object/Relational Mapping(ORM) library. + Chloe.Extension + Chloe.ORM + Shuxin Qin + Copyright 2016-2021. + false + - - bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml - + + bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml + - - netcore - - - netcore;net5 - - - netfx;net45 - + + netcore + + + netcore;net5 + + + netfx;net45 + - - - + + + diff --git a/src/Chloe.Extension/DbActionBag.cs b/src/Chloe.Extension/DbActionBag.cs index 9e17588b..980ad89c 100644 --- a/src/Chloe.Extension/DbActionBag.cs +++ b/src/Chloe.Extension/DbActionBag.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; +using System.Data; using System.Linq.Expressions; namespace Chloe diff --git a/src/Chloe.Extension/DbContextExtension.cs b/src/Chloe.Extension/DbContextExtension.cs index 1932fbf5..56e162ef 100644 --- a/src/Chloe.Extension/DbContextExtension.cs +++ b/src/Chloe.Extension/DbContextExtension.cs @@ -2,10 +2,7 @@ using Chloe.Extension; using Chloe.Infrastructure; using Chloe.Threading.Tasks; -using System; -using System.Collections.Generic; using System.Data; -using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Threading.Tasks; diff --git a/src/Chloe.Extension/DbContextExtension_NETCORE.cs b/src/Chloe.Extension/DbContextExtension_NETCORE.cs index 00148edb..4d1a6b22 100644 --- a/src/Chloe.Extension/DbContextExtension_NETCORE.cs +++ b/src/Chloe.Extension/DbContextExtension_NETCORE.cs @@ -1,8 +1,5 @@ using Chloe.Infrastructure; -using System; -using System.Collections.Generic; using System.Data; -using System.Linq; using System.Threading.Tasks; namespace Chloe diff --git a/src/Chloe.Extension/FieldsResolver.cs b/src/Chloe.Extension/FieldsResolver.cs index 0129d836..79282fc3 100644 --- a/src/Chloe.Extension/FieldsResolver.cs +++ b/src/Chloe.Extension/FieldsResolver.cs @@ -1,9 +1,5 @@ -using Chloe.Descriptors; -using Chloe.Extensions; -using Chloe.Infrastructure; +using Chloe.Extensions; using Chloe.Reflection; -using System; -using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq.Expressions; diff --git a/src/Chloe.Extension/GlobalUsings.cs b/src/Chloe.Extension/GlobalUsings.cs new file mode 100644 index 00000000..f386124f --- /dev/null +++ b/src/Chloe.Extension/GlobalUsings.cs @@ -0,0 +1,3 @@ +global using System; +global using System.Linq; +global using System.Collections.Generic; diff --git a/src/Chloe.Extension/MappingExtentions.cs b/src/Chloe.Extension/MappingExtentions.cs index b7f4c528..f2129aa7 100644 --- a/src/Chloe.Extension/MappingExtentions.cs +++ b/src/Chloe.Extension/MappingExtentions.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe.Entity { diff --git a/src/Chloe.Extension/ParameterTwoExpressionReplacer.cs b/src/Chloe.Extension/ParameterTwoExpressionReplacer.cs index f341d785..95d9cd0e 100644 --- a/src/Chloe.Extension/ParameterTwoExpressionReplacer.cs +++ b/src/Chloe.Extension/ParameterTwoExpressionReplacer.cs @@ -1,5 +1,4 @@ using Chloe.Extensions; -using System; using System.Linq.Expressions; namespace Chloe.Extension diff --git a/src/Chloe.Extension/QueryExtension.cs b/src/Chloe.Extension/QueryExtension.cs index 2c4d1618..9813db5e 100644 --- a/src/Chloe.Extension/QueryExtension.cs +++ b/src/Chloe.Extension/QueryExtension.cs @@ -2,9 +2,6 @@ using Chloe.Extension; using Chloe.Infrastructure; using Chloe.Reflection; -using System; -using System.Collections.Generic; -using System.Linq; using System.Linq.Expressions; using System.Reflection; diff --git a/src/Chloe.Extension/Utils.cs b/src/Chloe.Extension/Utils.cs index 396b5a2a..2946a270 100644 --- a/src/Chloe.Extension/Utils.cs +++ b/src/Chloe.Extension/Utils.cs @@ -1,10 +1,4 @@ -using Chloe.Infrastructure; -using Chloe.Reflection; -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Chloe.Extension +namespace Chloe.Extension { static class Utils { diff --git a/src/Chloe.MySql/Chloe.MySql.csproj b/src/Chloe.MySql/Chloe.MySql.csproj index 3821b1d7..08097278 100644 --- a/src/Chloe.MySql/Chloe.MySql.csproj +++ b/src/Chloe.MySql/Chloe.MySql.csproj @@ -1,34 +1,35 @@  - - netstandard2.0;net45;net5.0 + + netstandard2.0;net45;net5.0 + 10.0 - 4.18.0 - 4.18.0.0 - 4.18.0.0 - A lightweight and high-performance Object/Relational Mapping(ORM) library. - Chloe.MySql - Chloe.ORM - Shuxin Qin - Copyright 2016-2021. - false - + 4.19.0 + 4.19.0.0 + 4.19.0.0 + A lightweight and high-performance Object/Relational Mapping(ORM) library. + Chloe.MySql + Chloe.ORM + Shuxin Qin + Copyright 2016-2021. + false + - - bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml - + + bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml + - - netcore - - - netcore;net5 - - - netfx;net45 - + + netcore + + + netcore;net5 + + + netfx;net45 + - - - + + + diff --git a/src/Chloe.MySql/DDL/MySqlTableGenerator.cs b/src/Chloe.MySql/DDL/MySqlTableGenerator.cs index b90c5345..8c39412e 100644 --- a/src/Chloe.MySql/DDL/MySqlTableGenerator.cs +++ b/src/Chloe.MySql/DDL/MySqlTableGenerator.cs @@ -1,10 +1,6 @@ using Chloe.DDL; using Chloe.Descriptors; using Chloe.Reflection; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Xml.Linq; namespace Chloe.MySql.DDL diff --git a/src/Chloe.MySql/DataTypeAttribute.cs b/src/Chloe.MySql/DataTypeAttribute.cs index c755378d..70a66014 100644 --- a/src/Chloe.MySql/DataTypeAttribute.cs +++ b/src/Chloe.MySql/DataTypeAttribute.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Chloe.MySql +namespace Chloe.MySql { public class DataTypeAttribute : Attribute { diff --git a/src/Chloe.MySql/DatabaseProvider.cs b/src/Chloe.MySql/DatabaseProvider.cs index 388836f0..86730f77 100644 --- a/src/Chloe.MySql/DatabaseProvider.cs +++ b/src/Chloe.MySql/DatabaseProvider.cs @@ -1,5 +1,4 @@ using Chloe.Infrastructure; -using System; using System.Data; namespace Chloe.MySql diff --git a/src/Chloe.MySql/DbParamCollection.cs b/src/Chloe.MySql/DbParamCollection.cs index 6cd15a0b..d5a5e78a 100644 --- a/src/Chloe.MySql/DbParamCollection.cs +++ b/src/Chloe.MySql/DbParamCollection.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; +using System.Data; namespace Chloe.MySql { diff --git a/src/Chloe.MySql/EvaluableDbExpressionTransformer.cs b/src/Chloe.MySql/EvaluableDbExpressionTransformer.cs index 825df361..c786d7fb 100644 --- a/src/Chloe.MySql/EvaluableDbExpressionTransformer.cs +++ b/src/Chloe.MySql/EvaluableDbExpressionTransformer.cs @@ -1,7 +1,6 @@ using Chloe.Core.Visitors; using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; using System.Reflection; namespace Chloe.MySql diff --git a/src/Chloe.MySql/GlobalUsings.cs b/src/Chloe.MySql/GlobalUsings.cs new file mode 100644 index 00000000..2f8fb3fb --- /dev/null +++ b/src/Chloe.MySql/GlobalUsings.cs @@ -0,0 +1,4 @@ +global using System; +global using System.Text; +global using System.Linq; +global using System.Collections.Generic; diff --git a/src/Chloe.MySql/MethodHandlers/Average_Handler.cs b/src/Chloe.MySql/MethodHandlers/Average_Handler.cs index 51101c7b..07d68288 100644 --- a/src/Chloe.MySql/MethodHandlers/Average_Handler.cs +++ b/src/Chloe.MySql/MethodHandlers/Average_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.MySql.MethodHandlers { diff --git a/src/Chloe.MySql/MethodHandlers/Compare_Handler.cs b/src/Chloe.MySql/MethodHandlers/Compare_Handler.cs index 85e40868..5af5dea8 100644 --- a/src/Chloe.MySql/MethodHandlers/Compare_Handler.cs +++ b/src/Chloe.MySql/MethodHandlers/Compare_Handler.cs @@ -1,8 +1,6 @@ using Chloe.DbExpressions; using Chloe.RDBMS; using Chloe.InternalExtensions; -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.MySql.MethodHandlers diff --git a/src/Chloe.MySql/MethodHandlers/Contains_Handler.cs b/src/Chloe.MySql/MethodHandlers/Contains_Handler.cs index 5760c84d..b589fced 100644 --- a/src/Chloe.MySql/MethodHandlers/Contains_Handler.cs +++ b/src/Chloe.MySql/MethodHandlers/Contains_Handler.cs @@ -1,10 +1,7 @@ using Chloe.DbExpressions; using Chloe.RDBMS; using Chloe.InternalExtensions; -using System; using System.Collections; -using System.Collections.Generic; -using System.Linq; using System.Reflection; namespace Chloe.MySql.MethodHandlers diff --git a/src/Chloe.MySql/MethodHandlers/Else_Handler.cs b/src/Chloe.MySql/MethodHandlers/Else_Handler.cs index 4b048576..0fdcbc83 100644 --- a/src/Chloe.MySql/MethodHandlers/Else_Handler.cs +++ b/src/Chloe.MySql/MethodHandlers/Else_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; using static Chloe.DbExpressions.DbCaseWhenExpression; namespace Chloe.MySql.MethodHandlers diff --git a/src/Chloe.MySql/MethodHandlers/EndsWith_Handler.cs b/src/Chloe.MySql/MethodHandlers/EndsWith_Handler.cs index d88b9607..51693a65 100644 --- a/src/Chloe.MySql/MethodHandlers/EndsWith_Handler.cs +++ b/src/Chloe.MySql/MethodHandlers/EndsWith_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.MySql.MethodHandlers { diff --git a/src/Chloe.MySql/MethodHandlers/In_Handler.cs b/src/Chloe.MySql/MethodHandlers/In_Handler.cs index 6716ed9f..4c810bda 100644 --- a/src/Chloe.MySql/MethodHandlers/In_Handler.cs +++ b/src/Chloe.MySql/MethodHandlers/In_Handler.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.MySql.MethodHandlers diff --git a/src/Chloe.MySql/MethodHandlers/IsNullOrEmpty_Handler.cs b/src/Chloe.MySql/MethodHandlers/IsNullOrEmpty_Handler.cs index 12050345..0fc0d55e 100644 --- a/src/Chloe.MySql/MethodHandlers/IsNullOrEmpty_Handler.cs +++ b/src/Chloe.MySql/MethodHandlers/IsNullOrEmpty_Handler.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; -using System.Linq; namespace Chloe.MySql.MethodHandlers { diff --git a/src/Chloe.MySql/MethodHandlers/Max_Handler.cs b/src/Chloe.MySql/MethodHandlers/Max_Handler.cs index 3973228b..52da0039 100644 --- a/src/Chloe.MySql/MethodHandlers/Max_Handler.cs +++ b/src/Chloe.MySql/MethodHandlers/Max_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.MySql.MethodHandlers { diff --git a/src/Chloe.MySql/MethodHandlers/MethodHandlerHelper.cs b/src/Chloe.MySql/MethodHandlers/MethodHandlerHelper.cs index e0e89298..f8c81de2 100644 --- a/src/Chloe.MySql/MethodHandlers/MethodHandlerHelper.cs +++ b/src/Chloe.MySql/MethodHandlers/MethodHandlerHelper.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; -using Chloe.RDBMS; using Chloe.InternalExtensions; -using System; namespace Chloe.MySql.MethodHandlers { diff --git a/src/Chloe.MySql/MethodHandlers/Min_Handler.cs b/src/Chloe.MySql/MethodHandlers/Min_Handler.cs index 1e89fd33..d9ec0061 100644 --- a/src/Chloe.MySql/MethodHandlers/Min_Handler.cs +++ b/src/Chloe.MySql/MethodHandlers/Min_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.MySql.MethodHandlers { diff --git a/src/Chloe.MySql/MethodHandlers/Parse_Handler.cs b/src/Chloe.MySql/MethodHandlers/Parse_Handler.cs index 498c3a52..e19d9e5b 100644 --- a/src/Chloe.MySql/MethodHandlers/Parse_Handler.cs +++ b/src/Chloe.MySql/MethodHandlers/Parse_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; namespace Chloe.MySql.MethodHandlers { diff --git a/src/Chloe.MySql/MethodHandlers/StartsWith_Handler.cs b/src/Chloe.MySql/MethodHandlers/StartsWith_Handler.cs index 19fc495a..a61c2389 100644 --- a/src/Chloe.MySql/MethodHandlers/StartsWith_Handler.cs +++ b/src/Chloe.MySql/MethodHandlers/StartsWith_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.MySql.MethodHandlers { diff --git a/src/Chloe.MySql/MethodHandlers/Substring_Handler.cs b/src/Chloe.MySql/MethodHandlers/Substring_Handler.cs index 2bf607e5..616b39b3 100644 --- a/src/Chloe.MySql/MethodHandlers/Substring_Handler.cs +++ b/src/Chloe.MySql/MethodHandlers/Substring_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; namespace Chloe.MySql.MethodHandlers { diff --git a/src/Chloe.MySql/MethodHandlers/Sum_Handler.cs b/src/Chloe.MySql/MethodHandlers/Sum_Handler.cs index 00126205..71c0b35a 100644 --- a/src/Chloe.MySql/MethodHandlers/Sum_Handler.cs +++ b/src/Chloe.MySql/MethodHandlers/Sum_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.MySql.MethodHandlers { diff --git a/src/Chloe.MySql/MySqlContext.cs b/src/Chloe.MySql/MySqlContext.cs index cdf679bd..176e253e 100644 --- a/src/Chloe.MySql/MySqlContext.cs +++ b/src/Chloe.MySql/MySqlContext.cs @@ -5,13 +5,9 @@ using Chloe.Infrastructure; using Chloe.RDBMS; using Chloe.Threading.Tasks; -using System; -using System.Collections.Generic; using System.Data; -using System.Linq; using System.Linq.Expressions; using System.Reflection; -using System.Text; using System.Threading.Tasks; namespace Chloe.MySql diff --git a/src/Chloe.MySql/MySqlContextExtension.cs b/src/Chloe.MySql/MySqlContextExtension.cs index db7cfcd2..358d23d1 100644 --- a/src/Chloe.MySql/MySqlContextExtension.cs +++ b/src/Chloe.MySql/MySqlContextExtension.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe.MySql { diff --git a/src/Chloe.MySql/PropertyBuilderExtensions.cs b/src/Chloe.MySql/PropertyBuilderExtensions.cs index d7dd4a05..e876a125 100644 --- a/src/Chloe.MySql/PropertyBuilderExtensions.cs +++ b/src/Chloe.MySql/PropertyBuilderExtensions.cs @@ -1,7 +1,4 @@ using Chloe.Entity; -using System; -using System.Collections.Generic; -using System.Text; namespace Chloe.MySql { diff --git a/src/Chloe.MySql/SqlGenerator.cs b/src/Chloe.MySql/SqlGenerator.cs index 075528da..1a9b2154 100644 --- a/src/Chloe.MySql/SqlGenerator.cs +++ b/src/Chloe.MySql/SqlGenerator.cs @@ -4,8 +4,6 @@ using Chloe.InternalExtensions; using Chloe.RDBMS; using Chloe.Reflection; -using System; -using System.Collections.Generic; using System.Data; using System.Reflection; diff --git a/src/Chloe.MySql/SqlGenerator_AggregateHandlers.cs b/src/Chloe.MySql/SqlGenerator_AggregateHandlers.cs index 5f6e860c..abc8b901 100644 --- a/src/Chloe.MySql/SqlGenerator_AggregateHandlers.cs +++ b/src/Chloe.MySql/SqlGenerator_AggregateHandlers.cs @@ -1,8 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; -using System.Collections.Generic; -using System.Linq; namespace Chloe.MySql { diff --git a/src/Chloe.MySql/SqlGenerator_BinaryWithMethodHandlers.cs b/src/Chloe.MySql/SqlGenerator_BinaryWithMethodHandlers.cs index 9a2f1c35..755b0354 100644 --- a/src/Chloe.MySql/SqlGenerator_BinaryWithMethodHandlers.cs +++ b/src/Chloe.MySql/SqlGenerator_BinaryWithMethodHandlers.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.MySql diff --git a/src/Chloe.MySql/SqlGenerator_Helper.cs b/src/Chloe.MySql/SqlGenerator_Helper.cs index e44342a2..b38619d2 100644 --- a/src/Chloe.MySql/SqlGenerator_Helper.cs +++ b/src/Chloe.MySql/SqlGenerator_Helper.cs @@ -1,8 +1,6 @@ using Chloe.DbExpressions; using Chloe.RDBMS; using Chloe.Reflection; -using System; -using System.Collections.Generic; namespace Chloe.MySql { diff --git a/src/Chloe.MySql/SqlGenerator_MethodHandlers.cs b/src/Chloe.MySql/SqlGenerator_MethodHandlers.cs index 30ed2669..5a4a051e 100644 --- a/src/Chloe.MySql/SqlGenerator_MethodHandlers.cs +++ b/src/Chloe.MySql/SqlGenerator_MethodHandlers.cs @@ -1,8 +1,4 @@ -using Chloe.DbExpressions; -using Chloe.RDBMS; -using System; -using System.Collections.Generic; -using System.Linq; +using Chloe.RDBMS; using System.Reflection; namespace Chloe.MySql diff --git a/src/Chloe.MySql/UtilExceptions.cs b/src/Chloe.MySql/UtilExceptions.cs index 32c09c30..309a7616 100644 --- a/src/Chloe.MySql/UtilExceptions.cs +++ b/src/Chloe.MySql/UtilExceptions.cs @@ -1,6 +1,4 @@ -using System; -using System.Reflection; -using System.Text; +using System.Reflection; namespace Chloe.MySql { diff --git a/src/Chloe.MySql/Utils.cs b/src/Chloe.MySql/Utils.cs index b40c77a6..48caed19 100644 --- a/src/Chloe.MySql/Utils.cs +++ b/src/Chloe.MySql/Utils.cs @@ -1,6 +1,4 @@ using Chloe.Reflection; -using System; -using System.Collections.Generic; namespace Chloe.MySql { diff --git a/src/Chloe.Oracle/Chloe.Oracle.csproj b/src/Chloe.Oracle/Chloe.Oracle.csproj index 67a5cc45..d6699db9 100644 --- a/src/Chloe.Oracle/Chloe.Oracle.csproj +++ b/src/Chloe.Oracle/Chloe.Oracle.csproj @@ -1,34 +1,35 @@  - - netstandard2.0;net45;net5.0 + + netstandard2.0;net45;net5.0 + 10.0 - 4.18.0 - 4.18.0.0 - 4.18.0.0 - A lightweight and high-performance Object/Relational Mapping(ORM) library. - Chloe.Oracle - Chloe.ORM - Shuxin Qin - Copyright 2016-2021. - false - + 4.19.0 + 4.19.0.0 + 4.19.0.0 + A lightweight and high-performance Object/Relational Mapping(ORM) library. + Chloe.Oracle + Chloe.ORM + Shuxin Qin + Copyright 2016-2021. + false + - - bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml - + + bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml + - - netcore - - - netcore;net5 - - - netfx;net45 - + + netcore + + + netcore;net5 + + + netfx;net45 + - - - + + + diff --git a/src/Chloe.Oracle/DDL/OracleTableGenerator.cs b/src/Chloe.Oracle/DDL/OracleTableGenerator.cs index 588edfc7..1e859a88 100644 --- a/src/Chloe.Oracle/DDL/OracleTableGenerator.cs +++ b/src/Chloe.Oracle/DDL/OracleTableGenerator.cs @@ -1,10 +1,6 @@ using Chloe.DDL; using Chloe.Descriptors; using Chloe.Reflection; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Xml.Linq; namespace Chloe.Oracle.DDL diff --git a/src/Chloe.Oracle/DataTypeAttribute.cs b/src/Chloe.Oracle/DataTypeAttribute.cs index a6b1c5c6..ce3ed1e0 100644 --- a/src/Chloe.Oracle/DataTypeAttribute.cs +++ b/src/Chloe.Oracle/DataTypeAttribute.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Chloe.Oracle +namespace Chloe.Oracle { public class DataTypeAttribute : Attribute { diff --git a/src/Chloe.Oracle/DatabaseProvider.cs b/src/Chloe.Oracle/DatabaseProvider.cs index 87a51db3..b0a2ea02 100644 --- a/src/Chloe.Oracle/DatabaseProvider.cs +++ b/src/Chloe.Oracle/DatabaseProvider.cs @@ -1,5 +1,4 @@ using Chloe.Infrastructure; -using System; using System.Data; namespace Chloe.Oracle diff --git a/src/Chloe.Oracle/DbExpressionHelper.cs b/src/Chloe.Oracle/DbExpressionHelper.cs index a3da524b..f3919d5c 100644 --- a/src/Chloe.Oracle/DbExpressionHelper.cs +++ b/src/Chloe.Oracle/DbExpressionHelper.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.InternalExtensions; -using System; namespace Chloe.Oracle { diff --git a/src/Chloe.Oracle/DbParamCollection.cs b/src/Chloe.Oracle/DbParamCollection.cs index 6658bc4b..ab92c547 100644 --- a/src/Chloe.Oracle/DbParamCollection.cs +++ b/src/Chloe.Oracle/DbParamCollection.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; +using System.Data; namespace Chloe.Oracle { diff --git a/src/Chloe.Oracle/EvaluableDbExpressionTransformer.cs b/src/Chloe.Oracle/EvaluableDbExpressionTransformer.cs index 31a2b81c..cc4fc809 100644 --- a/src/Chloe.Oracle/EvaluableDbExpressionTransformer.cs +++ b/src/Chloe.Oracle/EvaluableDbExpressionTransformer.cs @@ -1,7 +1,6 @@ using Chloe.Core.Visitors; using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; using System.Reflection; namespace Chloe.Oracle diff --git a/src/Chloe.Oracle/GlobalUsings.cs b/src/Chloe.Oracle/GlobalUsings.cs new file mode 100644 index 00000000..2f8fb3fb --- /dev/null +++ b/src/Chloe.Oracle/GlobalUsings.cs @@ -0,0 +1,4 @@ +global using System; +global using System.Text; +global using System.Linq; +global using System.Collections.Generic; diff --git a/src/Chloe.Oracle/MethodHandlers/Average_Handler.cs b/src/Chloe.Oracle/MethodHandlers/Average_Handler.cs index 62dacf8a..09e0c146 100644 --- a/src/Chloe.Oracle/MethodHandlers/Average_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/Average_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.Oracle.MethodHandlers { diff --git a/src/Chloe.Oracle/MethodHandlers/Compare_Handler.cs b/src/Chloe.Oracle/MethodHandlers/Compare_Handler.cs index dd1a133a..0bba5338 100644 --- a/src/Chloe.Oracle/MethodHandlers/Compare_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/Compare_Handler.cs @@ -1,8 +1,6 @@ using Chloe.DbExpressions; using Chloe.RDBMS; using Chloe.InternalExtensions; -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.Oracle.MethodHandlers diff --git a/src/Chloe.Oracle/MethodHandlers/Contains_Handler.cs b/src/Chloe.Oracle/MethodHandlers/Contains_Handler.cs index 9b1c96a5..325c4428 100644 --- a/src/Chloe.Oracle/MethodHandlers/Contains_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/Contains_Handler.cs @@ -1,10 +1,7 @@ using Chloe.DbExpressions; using Chloe.RDBMS; using Chloe.InternalExtensions; -using System; using System.Collections; -using System.Collections.Generic; -using System.Linq; using System.Reflection; namespace Chloe.Oracle.MethodHandlers diff --git a/src/Chloe.Oracle/MethodHandlers/DiffDays_Handler.cs b/src/Chloe.Oracle/MethodHandlers/DiffDays_Handler.cs index d15c4bdb..3a6dd80a 100644 --- a/src/Chloe.Oracle/MethodHandlers/DiffDays_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/DiffDays_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; namespace Chloe.Oracle.MethodHandlers { diff --git a/src/Chloe.Oracle/MethodHandlers/DiffHours_Handler.cs b/src/Chloe.Oracle/MethodHandlers/DiffHours_Handler.cs index dafe6815..b06dc70c 100644 --- a/src/Chloe.Oracle/MethodHandlers/DiffHours_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/DiffHours_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; namespace Chloe.Oracle.MethodHandlers { diff --git a/src/Chloe.Oracle/MethodHandlers/DiffMilliseconds_Handler.cs b/src/Chloe.Oracle/MethodHandlers/DiffMilliseconds_Handler.cs index 584cdacf..88f7c1e1 100644 --- a/src/Chloe.Oracle/MethodHandlers/DiffMilliseconds_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/DiffMilliseconds_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; namespace Chloe.Oracle.MethodHandlers { diff --git a/src/Chloe.Oracle/MethodHandlers/DiffMinutes_Handler.cs b/src/Chloe.Oracle/MethodHandlers/DiffMinutes_Handler.cs index 86037c4f..656a2977 100644 --- a/src/Chloe.Oracle/MethodHandlers/DiffMinutes_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/DiffMinutes_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; namespace Chloe.Oracle.MethodHandlers { diff --git a/src/Chloe.Oracle/MethodHandlers/DiffSeconds_Handler.cs b/src/Chloe.Oracle/MethodHandlers/DiffSeconds_Handler.cs index 501f35cc..42022cd4 100644 --- a/src/Chloe.Oracle/MethodHandlers/DiffSeconds_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/DiffSeconds_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; namespace Chloe.Oracle.MethodHandlers { diff --git a/src/Chloe.Oracle/MethodHandlers/Else_Handler.cs b/src/Chloe.Oracle/MethodHandlers/Else_Handler.cs index 6d5feb35..c6f2bf63 100644 --- a/src/Chloe.Oracle/MethodHandlers/Else_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/Else_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; using static Chloe.DbExpressions.DbCaseWhenExpression; namespace Chloe.Oracle.MethodHandlers diff --git a/src/Chloe.Oracle/MethodHandlers/EndsWith_Handler.cs b/src/Chloe.Oracle/MethodHandlers/EndsWith_Handler.cs index 65cb6135..bcbb911e 100644 --- a/src/Chloe.Oracle/MethodHandlers/EndsWith_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/EndsWith_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.Oracle.MethodHandlers { diff --git a/src/Chloe.Oracle/MethodHandlers/In_Handler.cs b/src/Chloe.Oracle/MethodHandlers/In_Handler.cs index eb2bc866..dd11886e 100644 --- a/src/Chloe.Oracle/MethodHandlers/In_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/In_Handler.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.Oracle.MethodHandlers diff --git a/src/Chloe.Oracle/MethodHandlers/IsNullOrEmpty_Handler.cs b/src/Chloe.Oracle/MethodHandlers/IsNullOrEmpty_Handler.cs index ce298c76..cea9fb68 100644 --- a/src/Chloe.Oracle/MethodHandlers/IsNullOrEmpty_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/IsNullOrEmpty_Handler.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; -using System.Linq; namespace Chloe.Oracle.MethodHandlers { diff --git a/src/Chloe.Oracle/MethodHandlers/Max_Handler.cs b/src/Chloe.Oracle/MethodHandlers/Max_Handler.cs index a182b6da..6f931821 100644 --- a/src/Chloe.Oracle/MethodHandlers/Max_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/Max_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.Oracle.MethodHandlers { diff --git a/src/Chloe.Oracle/MethodHandlers/MethodHandlerHelper.cs b/src/Chloe.Oracle/MethodHandlers/MethodHandlerHelper.cs index e8ef7eab..330c201c 100644 --- a/src/Chloe.Oracle/MethodHandlers/MethodHandlerHelper.cs +++ b/src/Chloe.Oracle/MethodHandlers/MethodHandlerHelper.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; -using Chloe.RDBMS; using Chloe.InternalExtensions; -using System; using System.Reflection; namespace Chloe.Oracle.MethodHandlers diff --git a/src/Chloe.Oracle/MethodHandlers/Min_Handler.cs b/src/Chloe.Oracle/MethodHandlers/Min_Handler.cs index 5de89970..4374f807 100644 --- a/src/Chloe.Oracle/MethodHandlers/Min_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/Min_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.Oracle.MethodHandlers { diff --git a/src/Chloe.Oracle/MethodHandlers/NextValueForSequence_Handler.cs b/src/Chloe.Oracle/MethodHandlers/NextValueForSequence_Handler.cs index ce88c633..671f4bb1 100644 --- a/src/Chloe.Oracle/MethodHandlers/NextValueForSequence_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/NextValueForSequence_Handler.cs @@ -1,7 +1,6 @@ using Chloe.DbExpressions; using Chloe.RDBMS; using Chloe.InternalExtensions; -using System; namespace Chloe.Oracle.MethodHandlers { diff --git a/src/Chloe.Oracle/MethodHandlers/Parse_Handler.cs b/src/Chloe.Oracle/MethodHandlers/Parse_Handler.cs index 94ba00fe..a005db7a 100644 --- a/src/Chloe.Oracle/MethodHandlers/Parse_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/Parse_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; namespace Chloe.Oracle.MethodHandlers { diff --git a/src/Chloe.Oracle/MethodHandlers/StartsWith_Handler.cs b/src/Chloe.Oracle/MethodHandlers/StartsWith_Handler.cs index e9a44611..3cfd9ddd 100644 --- a/src/Chloe.Oracle/MethodHandlers/StartsWith_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/StartsWith_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.Oracle.MethodHandlers { diff --git a/src/Chloe.Oracle/MethodHandlers/Sum_Handler.cs b/src/Chloe.Oracle/MethodHandlers/Sum_Handler.cs index 24614373..6acc05bd 100644 --- a/src/Chloe.Oracle/MethodHandlers/Sum_Handler.cs +++ b/src/Chloe.Oracle/MethodHandlers/Sum_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.Oracle.MethodHandlers { diff --git a/src/Chloe.Oracle/OracleContext.cs b/src/Chloe.Oracle/OracleContext.cs index f3abdad8..509a3e75 100644 --- a/src/Chloe.Oracle/OracleContext.cs +++ b/src/Chloe.Oracle/OracleContext.cs @@ -6,13 +6,9 @@ using Chloe.Infrastructure; using Chloe.RDBMS; using Chloe.Utility; -using System; -using System.Collections.Generic; using System.Data; -using System.Linq; using System.Linq.Expressions; using System.Reflection; -using System.Text; using System.Threading.Tasks; namespace Chloe.Oracle diff --git a/src/Chloe.Oracle/OracleSemantics.cs b/src/Chloe.Oracle/OracleSemantics.cs index b2532e35..68116079 100644 --- a/src/Chloe.Oracle/OracleSemantics.cs +++ b/src/Chloe.Oracle/OracleSemantics.cs @@ -1,5 +1,4 @@ using Chloe.DbExpressions; -using System; using System.Reflection; namespace Chloe.Oracle diff --git a/src/Chloe.Oracle/PropertyBuilderExtensions.cs b/src/Chloe.Oracle/PropertyBuilderExtensions.cs index 7d5f247a..fc8062ff 100644 --- a/src/Chloe.Oracle/PropertyBuilderExtensions.cs +++ b/src/Chloe.Oracle/PropertyBuilderExtensions.cs @@ -1,7 +1,4 @@ using Chloe.Entity; -using System; -using System.Collections.Generic; -using System.Text; namespace Chloe.Oracle { diff --git a/src/Chloe.Oracle/SqlGenerator.cs b/src/Chloe.Oracle/SqlGenerator.cs index 0f19e2d3..532a75c1 100644 --- a/src/Chloe.Oracle/SqlGenerator.cs +++ b/src/Chloe.Oracle/SqlGenerator.cs @@ -4,8 +4,6 @@ using Chloe.InternalExtensions; using Chloe.RDBMS; using Chloe.Reflection; -using System; -using System.Collections.Generic; using System.Data; using System.Reflection; diff --git a/src/Chloe.Oracle/SqlGenerator_AggregateHandlers.cs b/src/Chloe.Oracle/SqlGenerator_AggregateHandlers.cs index 6aa8b3b1..7932c470 100644 --- a/src/Chloe.Oracle/SqlGenerator_AggregateHandlers.cs +++ b/src/Chloe.Oracle/SqlGenerator_AggregateHandlers.cs @@ -1,8 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; -using System.Collections.Generic; -using System.Linq; namespace Chloe.Oracle { diff --git a/src/Chloe.Oracle/SqlGenerator_BinaryWithMethodHandlers.cs b/src/Chloe.Oracle/SqlGenerator_BinaryWithMethodHandlers.cs index d7249591..c94681b1 100644 --- a/src/Chloe.Oracle/SqlGenerator_BinaryWithMethodHandlers.cs +++ b/src/Chloe.Oracle/SqlGenerator_BinaryWithMethodHandlers.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.Oracle diff --git a/src/Chloe.Oracle/SqlGenerator_Helper.cs b/src/Chloe.Oracle/SqlGenerator_Helper.cs index 3355eb4e..e60ab102 100644 --- a/src/Chloe.Oracle/SqlGenerator_Helper.cs +++ b/src/Chloe.Oracle/SqlGenerator_Helper.cs @@ -2,9 +2,6 @@ using Chloe.InternalExtensions; using Chloe.RDBMS; using Chloe.Reflection; -using System; -using System.Collections.Generic; -using System.Linq; namespace Chloe.Oracle { diff --git a/src/Chloe.Oracle/SqlGenerator_MethodHandlers.cs b/src/Chloe.Oracle/SqlGenerator_MethodHandlers.cs index be8224eb..1cd17fad 100644 --- a/src/Chloe.Oracle/SqlGenerator_MethodHandlers.cs +++ b/src/Chloe.Oracle/SqlGenerator_MethodHandlers.cs @@ -1,8 +1,4 @@ -using Chloe.DbExpressions; -using Chloe.RDBMS; -using System; -using System.Collections.Generic; -using System.Linq; +using Chloe.RDBMS; using System.Reflection; namespace Chloe.Oracle diff --git a/src/Chloe.Oracle/UtilConstants.cs b/src/Chloe.Oracle/UtilConstants.cs index 9659fe8b..0309119f 100644 --- a/src/Chloe.Oracle/UtilConstants.cs +++ b/src/Chloe.Oracle/UtilConstants.cs @@ -1,5 +1,4 @@ -using System; -using System.Reflection; +using System.Reflection; namespace Chloe.Oracle { diff --git a/src/Chloe.Oracle/UtilExceptions.cs b/src/Chloe.Oracle/UtilExceptions.cs index bfef4508..40e5fc53 100644 --- a/src/Chloe.Oracle/UtilExceptions.cs +++ b/src/Chloe.Oracle/UtilExceptions.cs @@ -1,5 +1,4 @@ -using System; -using System.Reflection; +using System.Reflection; namespace Chloe.Oracle { diff --git a/src/Chloe.Oracle/Utils.cs b/src/Chloe.Oracle/Utils.cs index 4b8f5f59..401675cd 100644 --- a/src/Chloe.Oracle/Utils.cs +++ b/src/Chloe.Oracle/Utils.cs @@ -1,8 +1,5 @@ using Chloe.Reflection; -using System; -using System.Collections.Generic; using System.Reflection; -using System.Text; namespace Chloe.Oracle { diff --git a/src/Chloe.PostgreSQL/Chloe.PostgreSQL.csproj b/src/Chloe.PostgreSQL/Chloe.PostgreSQL.csproj index 8e84dc91..1ae401a3 100644 --- a/src/Chloe.PostgreSQL/Chloe.PostgreSQL.csproj +++ b/src/Chloe.PostgreSQL/Chloe.PostgreSQL.csproj @@ -1,34 +1,35 @@  - - netstandard2.0;net45;net5.0 + + netstandard2.0;net45;net5.0 + 10.0 - 4.18.0 - 4.18.0.0 - 4.18.0.0 - A lightweight and high-performance Object/Relational Mapping(ORM) library. - Chloe.PostgreSQL - Chloe.ORM - Shuxin Qin - Copyright 2016-2021. - false - + 4.19.0 + 4.19.0.0 + 4.19.0.0 + A lightweight and high-performance Object/Relational Mapping(ORM) library. + Chloe.PostgreSQL + Chloe.ORM + Shuxin Qin + Copyright 2016-2021. + false + - - bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml - + + bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml + - - netcore - - - netcore;net5 - - - netfx;net45 - + + netcore + + + netcore;net5 + + + netfx;net45 + - - - + + + diff --git a/src/Chloe.PostgreSQL/DDL/PostgreSQLTableGenerator.cs b/src/Chloe.PostgreSQL/DDL/PostgreSQLTableGenerator.cs index 57bbffae..3482e68d 100644 --- a/src/Chloe.PostgreSQL/DDL/PostgreSQLTableGenerator.cs +++ b/src/Chloe.PostgreSQL/DDL/PostgreSQLTableGenerator.cs @@ -1,10 +1,6 @@ using Chloe.DDL; using Chloe.Descriptors; using Chloe.Reflection; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Xml.Linq; namespace Chloe.PostgreSQL.DDL diff --git a/src/Chloe.PostgreSQL/DataTypeAttribute.cs b/src/Chloe.PostgreSQL/DataTypeAttribute.cs index 338bb12c..49b59ba8 100644 --- a/src/Chloe.PostgreSQL/DataTypeAttribute.cs +++ b/src/Chloe.PostgreSQL/DataTypeAttribute.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Chloe.PostgreSQL +namespace Chloe.PostgreSQL { public class DataTypeAttribute : Attribute { diff --git a/src/Chloe.PostgreSQL/DatabaseProvider.cs b/src/Chloe.PostgreSQL/DatabaseProvider.cs index 9aefbe34..25ddb621 100644 --- a/src/Chloe.PostgreSQL/DatabaseProvider.cs +++ b/src/Chloe.PostgreSQL/DatabaseProvider.cs @@ -1,5 +1,4 @@ using Chloe.Infrastructure; -using System; using System.Data; namespace Chloe.PostgreSQL diff --git a/src/Chloe.PostgreSQL/DbParamCollection.cs b/src/Chloe.PostgreSQL/DbParamCollection.cs index 15837361..d04f699c 100644 --- a/src/Chloe.PostgreSQL/DbParamCollection.cs +++ b/src/Chloe.PostgreSQL/DbParamCollection.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; +using System.Data; namespace Chloe.PostgreSQL { diff --git a/src/Chloe.PostgreSQL/EvaluableDbExpressionTransformer.cs b/src/Chloe.PostgreSQL/EvaluableDbExpressionTransformer.cs index d3fa90a7..2aa3bbf9 100644 --- a/src/Chloe.PostgreSQL/EvaluableDbExpressionTransformer.cs +++ b/src/Chloe.PostgreSQL/EvaluableDbExpressionTransformer.cs @@ -1,7 +1,6 @@ using Chloe.Core.Visitors; using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; using System.Reflection; namespace Chloe.PostgreSQL diff --git a/src/Chloe.PostgreSQL/GlobalUsings.cs b/src/Chloe.PostgreSQL/GlobalUsings.cs new file mode 100644 index 00000000..2f8fb3fb --- /dev/null +++ b/src/Chloe.PostgreSQL/GlobalUsings.cs @@ -0,0 +1,4 @@ +global using System; +global using System.Text; +global using System.Linq; +global using System.Collections.Generic; diff --git a/src/Chloe.PostgreSQL/MethodHandlers/AddDays_Handler.cs b/src/Chloe.PostgreSQL/MethodHandlers/AddDays_Handler.cs index 7ecca946..13a1a9af 100644 --- a/src/Chloe.PostgreSQL/MethodHandlers/AddDays_Handler.cs +++ b/src/Chloe.PostgreSQL/MethodHandlers/AddDays_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; namespace Chloe.PostgreSQL.MethodHandlers { diff --git a/src/Chloe.PostgreSQL/MethodHandlers/AddHours_Handler.cs b/src/Chloe.PostgreSQL/MethodHandlers/AddHours_Handler.cs index 843c4bbc..f38ea148 100644 --- a/src/Chloe.PostgreSQL/MethodHandlers/AddHours_Handler.cs +++ b/src/Chloe.PostgreSQL/MethodHandlers/AddHours_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; namespace Chloe.PostgreSQL.MethodHandlers { diff --git a/src/Chloe.PostgreSQL/MethodHandlers/Average_Handler.cs b/src/Chloe.PostgreSQL/MethodHandlers/Average_Handler.cs index 06e103aa..918acd6d 100644 --- a/src/Chloe.PostgreSQL/MethodHandlers/Average_Handler.cs +++ b/src/Chloe.PostgreSQL/MethodHandlers/Average_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.PostgreSQL.MethodHandlers { diff --git a/src/Chloe.PostgreSQL/MethodHandlers/Compare_Handler.cs b/src/Chloe.PostgreSQL/MethodHandlers/Compare_Handler.cs index aa651927..92ed68c5 100644 --- a/src/Chloe.PostgreSQL/MethodHandlers/Compare_Handler.cs +++ b/src/Chloe.PostgreSQL/MethodHandlers/Compare_Handler.cs @@ -1,8 +1,6 @@ using Chloe.DbExpressions; using Chloe.RDBMS; using Chloe.InternalExtensions; -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.PostgreSQL.MethodHandlers diff --git a/src/Chloe.PostgreSQL/MethodHandlers/Contains_Handler.cs b/src/Chloe.PostgreSQL/MethodHandlers/Contains_Handler.cs index dad99e65..04de5020 100644 --- a/src/Chloe.PostgreSQL/MethodHandlers/Contains_Handler.cs +++ b/src/Chloe.PostgreSQL/MethodHandlers/Contains_Handler.cs @@ -1,10 +1,7 @@ using Chloe.DbExpressions; using Chloe.RDBMS; using Chloe.InternalExtensions; -using System; using System.Collections; -using System.Collections.Generic; -using System.Linq; using System.Reflection; namespace Chloe.PostgreSQL.MethodHandlers diff --git a/src/Chloe.PostgreSQL/MethodHandlers/Else_Handler.cs b/src/Chloe.PostgreSQL/MethodHandlers/Else_Handler.cs index 3735d9c0..ca9ace84 100644 --- a/src/Chloe.PostgreSQL/MethodHandlers/Else_Handler.cs +++ b/src/Chloe.PostgreSQL/MethodHandlers/Else_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; using static Chloe.DbExpressions.DbCaseWhenExpression; namespace Chloe.PostgreSQL.MethodHandlers diff --git a/src/Chloe.PostgreSQL/MethodHandlers/EndsWith_Handler.cs b/src/Chloe.PostgreSQL/MethodHandlers/EndsWith_Handler.cs index 56ddf86a..3d49c525 100644 --- a/src/Chloe.PostgreSQL/MethodHandlers/EndsWith_Handler.cs +++ b/src/Chloe.PostgreSQL/MethodHandlers/EndsWith_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.PostgreSQL.MethodHandlers { diff --git a/src/Chloe.PostgreSQL/MethodHandlers/In_Handler.cs b/src/Chloe.PostgreSQL/MethodHandlers/In_Handler.cs index 2ed5472b..f90c3ae0 100644 --- a/src/Chloe.PostgreSQL/MethodHandlers/In_Handler.cs +++ b/src/Chloe.PostgreSQL/MethodHandlers/In_Handler.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.PostgreSQL.MethodHandlers diff --git a/src/Chloe.PostgreSQL/MethodHandlers/IsNullOrEmpty_Handler.cs b/src/Chloe.PostgreSQL/MethodHandlers/IsNullOrEmpty_Handler.cs index 52a87e2a..07854e0f 100644 --- a/src/Chloe.PostgreSQL/MethodHandlers/IsNullOrEmpty_Handler.cs +++ b/src/Chloe.PostgreSQL/MethodHandlers/IsNullOrEmpty_Handler.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; -using System.Linq; namespace Chloe.PostgreSQL.MethodHandlers { diff --git a/src/Chloe.PostgreSQL/MethodHandlers/Max_Handler.cs b/src/Chloe.PostgreSQL/MethodHandlers/Max_Handler.cs index 23e543bb..189f11a6 100644 --- a/src/Chloe.PostgreSQL/MethodHandlers/Max_Handler.cs +++ b/src/Chloe.PostgreSQL/MethodHandlers/Max_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.PostgreSQL.MethodHandlers { diff --git a/src/Chloe.PostgreSQL/MethodHandlers/MethodHandlerHelper.cs b/src/Chloe.PostgreSQL/MethodHandlers/MethodHandlerHelper.cs index 99fcf472..08be8758 100644 --- a/src/Chloe.PostgreSQL/MethodHandlers/MethodHandlerHelper.cs +++ b/src/Chloe.PostgreSQL/MethodHandlers/MethodHandlerHelper.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; -using Chloe.RDBMS; using Chloe.InternalExtensions; -using System; namespace Chloe.PostgreSQL.MethodHandlers { diff --git a/src/Chloe.PostgreSQL/MethodHandlers/Min_Handler.cs b/src/Chloe.PostgreSQL/MethodHandlers/Min_Handler.cs index 80fd3924..730cc3da 100644 --- a/src/Chloe.PostgreSQL/MethodHandlers/Min_Handler.cs +++ b/src/Chloe.PostgreSQL/MethodHandlers/Min_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.PostgreSQL.MethodHandlers { diff --git a/src/Chloe.PostgreSQL/MethodHandlers/NextValueForSequence_Handler.cs b/src/Chloe.PostgreSQL/MethodHandlers/NextValueForSequence_Handler.cs index 907d6bdf..5d63a0ad 100644 --- a/src/Chloe.PostgreSQL/MethodHandlers/NextValueForSequence_Handler.cs +++ b/src/Chloe.PostgreSQL/MethodHandlers/NextValueForSequence_Handler.cs @@ -1,7 +1,6 @@ using Chloe.DbExpressions; using Chloe.RDBMS; using Chloe.InternalExtensions; -using System; namespace Chloe.PostgreSQL.MethodHandlers { diff --git a/src/Chloe.PostgreSQL/MethodHandlers/Parse_Handler.cs b/src/Chloe.PostgreSQL/MethodHandlers/Parse_Handler.cs index f0d9f69b..8f8d4c8f 100644 --- a/src/Chloe.PostgreSQL/MethodHandlers/Parse_Handler.cs +++ b/src/Chloe.PostgreSQL/MethodHandlers/Parse_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; namespace Chloe.PostgreSQL.MethodHandlers { diff --git a/src/Chloe.PostgreSQL/MethodHandlers/StartsWith_Handler.cs b/src/Chloe.PostgreSQL/MethodHandlers/StartsWith_Handler.cs index 722419d5..a079ab96 100644 --- a/src/Chloe.PostgreSQL/MethodHandlers/StartsWith_Handler.cs +++ b/src/Chloe.PostgreSQL/MethodHandlers/StartsWith_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.PostgreSQL.MethodHandlers { diff --git a/src/Chloe.PostgreSQL/MethodHandlers/Sum_Handler.cs b/src/Chloe.PostgreSQL/MethodHandlers/Sum_Handler.cs index 48d9b2fc..0e5ca0ca 100644 --- a/src/Chloe.PostgreSQL/MethodHandlers/Sum_Handler.cs +++ b/src/Chloe.PostgreSQL/MethodHandlers/Sum_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.PostgreSQL.MethodHandlers { diff --git a/src/Chloe.PostgreSQL/PostgreSQLContext.cs b/src/Chloe.PostgreSQL/PostgreSQLContext.cs index a5aef609..5f3e8f27 100644 --- a/src/Chloe.PostgreSQL/PostgreSQLContext.cs +++ b/src/Chloe.PostgreSQL/PostgreSQLContext.cs @@ -6,13 +6,9 @@ using Chloe.Infrastructure; using Chloe.RDBMS; using Chloe.Utility; -using System; -using System.Collections.Generic; using System.Data; -using System.Linq; using System.Linq.Expressions; using System.Reflection; -using System.Text; using System.Threading.Tasks; namespace Chloe.PostgreSQL diff --git a/src/Chloe.PostgreSQL/PostgreSQLContext_Helper.cs b/src/Chloe.PostgreSQL/PostgreSQLContext_Helper.cs index 280bfe67..cea07e0e 100644 --- a/src/Chloe.PostgreSQL/PostgreSQLContext_Helper.cs +++ b/src/Chloe.PostgreSQL/PostgreSQLContext_Helper.cs @@ -2,10 +2,7 @@ using Chloe.DbExpressions; using Chloe.Descriptors; using Chloe.Exceptions; -using System; -using System.Collections.Generic; using System.Data; -using System.Text; namespace Chloe.PostgreSQL { diff --git a/src/Chloe.PostgreSQL/PropertyBuilderExtensions.cs b/src/Chloe.PostgreSQL/PropertyBuilderExtensions.cs index 3736c9b4..d9661b16 100644 --- a/src/Chloe.PostgreSQL/PropertyBuilderExtensions.cs +++ b/src/Chloe.PostgreSQL/PropertyBuilderExtensions.cs @@ -1,7 +1,4 @@ using Chloe.Entity; -using System; -using System.Collections.Generic; -using System.Text; namespace Chloe.PostgreSQL { diff --git a/src/Chloe.PostgreSQL/SqlGenerator.cs b/src/Chloe.PostgreSQL/SqlGenerator.cs index dffd064f..042891bc 100644 --- a/src/Chloe.PostgreSQL/SqlGenerator.cs +++ b/src/Chloe.PostgreSQL/SqlGenerator.cs @@ -4,8 +4,6 @@ using Chloe.InternalExtensions; using Chloe.RDBMS; using Chloe.Reflection; -using System; -using System.Collections.Generic; using System.Data; using System.Reflection; diff --git a/src/Chloe.PostgreSQL/SqlGenerator_AggregateHandlers.cs b/src/Chloe.PostgreSQL/SqlGenerator_AggregateHandlers.cs index ebd98e35..35928df9 100644 --- a/src/Chloe.PostgreSQL/SqlGenerator_AggregateHandlers.cs +++ b/src/Chloe.PostgreSQL/SqlGenerator_AggregateHandlers.cs @@ -1,8 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; -using System.Collections.Generic; -using System.Linq; namespace Chloe.PostgreSQL { diff --git a/src/Chloe.PostgreSQL/SqlGenerator_BinaryWithMethodHandlers.cs b/src/Chloe.PostgreSQL/SqlGenerator_BinaryWithMethodHandlers.cs index 8c0b898e..0553186a 100644 --- a/src/Chloe.PostgreSQL/SqlGenerator_BinaryWithMethodHandlers.cs +++ b/src/Chloe.PostgreSQL/SqlGenerator_BinaryWithMethodHandlers.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.PostgreSQL diff --git a/src/Chloe.PostgreSQL/SqlGenerator_Helper.cs b/src/Chloe.PostgreSQL/SqlGenerator_Helper.cs index cc4771d6..6ed52038 100644 --- a/src/Chloe.PostgreSQL/SqlGenerator_Helper.cs +++ b/src/Chloe.PostgreSQL/SqlGenerator_Helper.cs @@ -1,9 +1,6 @@ using Chloe.DbExpressions; using Chloe.RDBMS; using Chloe.Reflection; -using System; -using System.Collections.Generic; -using System.Linq; namespace Chloe.PostgreSQL { diff --git a/src/Chloe.PostgreSQL/SqlGenerator_MethodHandlers.cs b/src/Chloe.PostgreSQL/SqlGenerator_MethodHandlers.cs index 914cb104..febcfef6 100644 --- a/src/Chloe.PostgreSQL/SqlGenerator_MethodHandlers.cs +++ b/src/Chloe.PostgreSQL/SqlGenerator_MethodHandlers.cs @@ -1,8 +1,4 @@ -using Chloe.DbExpressions; -using Chloe.RDBMS; -using System; -using System.Collections.Generic; -using System.Linq; +using Chloe.RDBMS; using System.Reflection; namespace Chloe.PostgreSQL diff --git a/src/Chloe.PostgreSQL/UtilExceptions.cs b/src/Chloe.PostgreSQL/UtilExceptions.cs index acd9d968..70d170a3 100644 --- a/src/Chloe.PostgreSQL/UtilExceptions.cs +++ b/src/Chloe.PostgreSQL/UtilExceptions.cs @@ -1,6 +1,4 @@ -using System; -using System.Reflection; -using System.Text; +using System.Reflection; namespace Chloe.PostgreSQL { diff --git a/src/Chloe.PostgreSQL/Utils.cs b/src/Chloe.PostgreSQL/Utils.cs index ab98f032..98f13d57 100644 --- a/src/Chloe.PostgreSQL/Utils.cs +++ b/src/Chloe.PostgreSQL/Utils.cs @@ -1,6 +1,4 @@ using Chloe.Reflection; -using System; -using System.Collections.Generic; namespace Chloe.PostgreSQL { diff --git a/src/Chloe.SQLite/Chloe.SQLite.csproj b/src/Chloe.SQLite/Chloe.SQLite.csproj index 0593e5e4..16ed08e4 100644 --- a/src/Chloe.SQLite/Chloe.SQLite.csproj +++ b/src/Chloe.SQLite/Chloe.SQLite.csproj @@ -1,34 +1,35 @@  - - netstandard2.0;net45;net5.0 + + netstandard2.0;net45;net5.0 + 10.0 - 4.18.0 - 4.18.0.0 - 4.18.0.0 - A lightweight and high-performance Object/Relational Mapping(ORM) library. - Chloe.SQLite - Chloe.ORM - Shuxin Qin - Copyright 2016-2021. - false - + 4.19.0 + 4.19.0.0 + 4.19.0.0 + A lightweight and high-performance Object/Relational Mapping(ORM) library. + Chloe.SQLite + Chloe.ORM + Shuxin Qin + Copyright 2016-2021. + false + - - bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml - + + bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml + - - netcore - - - netcore;net5 - - - netfx;net45 - + + netcore + + + netcore;net5 + + + netfx;net45 + - - - + + + diff --git a/src/Chloe.SQLite/ChloeSQLiteCommand.cs b/src/Chloe.SQLite/ChloeSQLiteCommand.cs index 57d4ef22..fc3fd49a 100644 --- a/src/Chloe.SQLite/ChloeSQLiteCommand.cs +++ b/src/Chloe.SQLite/ChloeSQLiteCommand.cs @@ -1,5 +1,4 @@ using Chloe.Data; -using System; using System.Data; namespace Chloe.SQLite diff --git a/src/Chloe.SQLite/ChloeSQLiteConcurrentConnection.cs b/src/Chloe.SQLite/ChloeSQLiteConcurrentConnection.cs index 3ba94f19..97de12d4 100644 --- a/src/Chloe.SQLite/ChloeSQLiteConcurrentConnection.cs +++ b/src/Chloe.SQLite/ChloeSQLiteConcurrentConnection.cs @@ -1,6 +1,4 @@ using Chloe.Data; -using System; -using System.Collections.Generic; using System.Data; using System.Threading; diff --git a/src/Chloe.SQLite/ChloeSQLiteDataReader.cs b/src/Chloe.SQLite/ChloeSQLiteDataReader.cs index 9c8c8a57..ebc18180 100644 --- a/src/Chloe.SQLite/ChloeSQLiteDataReader.cs +++ b/src/Chloe.SQLite/ChloeSQLiteDataReader.cs @@ -1,5 +1,4 @@ using Chloe.Data; -using System; using System.Data; namespace Chloe.SQLite diff --git a/src/Chloe.SQLite/ChloeSQLiteTransaction.cs b/src/Chloe.SQLite/ChloeSQLiteTransaction.cs index 6d0f13db..f0edadf7 100644 --- a/src/Chloe.SQLite/ChloeSQLiteTransaction.cs +++ b/src/Chloe.SQLite/ChloeSQLiteTransaction.cs @@ -1,5 +1,4 @@ using Chloe.Data; -using System; using System.Data; namespace Chloe.SQLite diff --git a/src/Chloe.SQLite/DDL/SQLiteTableGenerator.cs b/src/Chloe.SQLite/DDL/SQLiteTableGenerator.cs index f955af17..7aee66e5 100644 --- a/src/Chloe.SQLite/DDL/SQLiteTableGenerator.cs +++ b/src/Chloe.SQLite/DDL/SQLiteTableGenerator.cs @@ -1,11 +1,6 @@ using Chloe.DDL; using Chloe.Descriptors; using Chloe.Reflection; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Xml.Linq; namespace Chloe.SQLite.DDL { diff --git a/src/Chloe.SQLite/DataTypeAttribute.cs b/src/Chloe.SQLite/DataTypeAttribute.cs index 71407baa..53cbb866 100644 --- a/src/Chloe.SQLite/DataTypeAttribute.cs +++ b/src/Chloe.SQLite/DataTypeAttribute.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Chloe.SQLite +namespace Chloe.SQLite { public class DataTypeAttribute : Attribute { diff --git a/src/Chloe.SQLite/DatabaseProvider.cs b/src/Chloe.SQLite/DatabaseProvider.cs index 0fb70799..f57e2e52 100644 --- a/src/Chloe.SQLite/DatabaseProvider.cs +++ b/src/Chloe.SQLite/DatabaseProvider.cs @@ -1,5 +1,4 @@ using Chloe.Infrastructure; -using System; using System.Data; namespace Chloe.SQLite diff --git a/src/Chloe.SQLite/DbParamCollection.cs b/src/Chloe.SQLite/DbParamCollection.cs index 0db99520..fafe488e 100644 --- a/src/Chloe.SQLite/DbParamCollection.cs +++ b/src/Chloe.SQLite/DbParamCollection.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; +using System.Data; namespace Chloe.SQLite { diff --git a/src/Chloe.SQLite/EvaluableDbExpressionTransformer.cs b/src/Chloe.SQLite/EvaluableDbExpressionTransformer.cs index 93db51bc..abde0386 100644 --- a/src/Chloe.SQLite/EvaluableDbExpressionTransformer.cs +++ b/src/Chloe.SQLite/EvaluableDbExpressionTransformer.cs @@ -1,7 +1,6 @@ using Chloe.Core.Visitors; using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; using System.Reflection; namespace Chloe.SQLite diff --git a/src/Chloe.SQLite/GlobalUsings.cs b/src/Chloe.SQLite/GlobalUsings.cs new file mode 100644 index 00000000..2f8fb3fb --- /dev/null +++ b/src/Chloe.SQLite/GlobalUsings.cs @@ -0,0 +1,4 @@ +global using System; +global using System.Text; +global using System.Linq; +global using System.Collections.Generic; diff --git a/src/Chloe.SQLite/MethodHandlers/Average_Handler.cs b/src/Chloe.SQLite/MethodHandlers/Average_Handler.cs index e4974fa9..b7e8771f 100644 --- a/src/Chloe.SQLite/MethodHandlers/Average_Handler.cs +++ b/src/Chloe.SQLite/MethodHandlers/Average_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.SQLite.MethodHandlers { diff --git a/src/Chloe.SQLite/MethodHandlers/Compare_Handler.cs b/src/Chloe.SQLite/MethodHandlers/Compare_Handler.cs index d9cb0a8b..405186d6 100644 --- a/src/Chloe.SQLite/MethodHandlers/Compare_Handler.cs +++ b/src/Chloe.SQLite/MethodHandlers/Compare_Handler.cs @@ -1,8 +1,6 @@ using Chloe.DbExpressions; using Chloe.RDBMS; using Chloe.InternalExtensions; -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.SQLite.MethodHandlers diff --git a/src/Chloe.SQLite/MethodHandlers/Contains_Handler.cs b/src/Chloe.SQLite/MethodHandlers/Contains_Handler.cs index 04ab0ec4..2844205e 100644 --- a/src/Chloe.SQLite/MethodHandlers/Contains_Handler.cs +++ b/src/Chloe.SQLite/MethodHandlers/Contains_Handler.cs @@ -1,10 +1,7 @@ using Chloe.DbExpressions; using Chloe.RDBMS; using Chloe.InternalExtensions; -using System; using System.Collections; -using System.Collections.Generic; -using System.Linq; using System.Reflection; namespace Chloe.SQLite.MethodHandlers diff --git a/src/Chloe.SQLite/MethodHandlers/Else_Handler.cs b/src/Chloe.SQLite/MethodHandlers/Else_Handler.cs index 3ab193f5..dcb2639f 100644 --- a/src/Chloe.SQLite/MethodHandlers/Else_Handler.cs +++ b/src/Chloe.SQLite/MethodHandlers/Else_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; using static Chloe.DbExpressions.DbCaseWhenExpression; namespace Chloe.SQLite.MethodHandlers diff --git a/src/Chloe.SQLite/MethodHandlers/EndsWith_Handler.cs b/src/Chloe.SQLite/MethodHandlers/EndsWith_Handler.cs index a4847029..1dd76943 100644 --- a/src/Chloe.SQLite/MethodHandlers/EndsWith_Handler.cs +++ b/src/Chloe.SQLite/MethodHandlers/EndsWith_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.SQLite.MethodHandlers { diff --git a/src/Chloe.SQLite/MethodHandlers/In_Handler.cs b/src/Chloe.SQLite/MethodHandlers/In_Handler.cs index 0ccf6a67..e298c0d9 100644 --- a/src/Chloe.SQLite/MethodHandlers/In_Handler.cs +++ b/src/Chloe.SQLite/MethodHandlers/In_Handler.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.SQLite.MethodHandlers diff --git a/src/Chloe.SQLite/MethodHandlers/IsNullOrEmpty_Handler.cs b/src/Chloe.SQLite/MethodHandlers/IsNullOrEmpty_Handler.cs index 0ef7520d..e1edad2f 100644 --- a/src/Chloe.SQLite/MethodHandlers/IsNullOrEmpty_Handler.cs +++ b/src/Chloe.SQLite/MethodHandlers/IsNullOrEmpty_Handler.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; -using System.Linq; namespace Chloe.SQLite.MethodHandlers { diff --git a/src/Chloe.SQLite/MethodHandlers/Max_Handler.cs b/src/Chloe.SQLite/MethodHandlers/Max_Handler.cs index 0b466a21..2ffa61ee 100644 --- a/src/Chloe.SQLite/MethodHandlers/Max_Handler.cs +++ b/src/Chloe.SQLite/MethodHandlers/Max_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.SQLite.MethodHandlers { diff --git a/src/Chloe.SQLite/MethodHandlers/MethodHandlerHelper.cs b/src/Chloe.SQLite/MethodHandlers/MethodHandlerHelper.cs index 5e28acf2..04cb7270 100644 --- a/src/Chloe.SQLite/MethodHandlers/MethodHandlerHelper.cs +++ b/src/Chloe.SQLite/MethodHandlers/MethodHandlerHelper.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; -using Chloe.RDBMS; using Chloe.InternalExtensions; -using System; namespace Chloe.SQLite.MethodHandlers { diff --git a/src/Chloe.SQLite/MethodHandlers/Min_Handler.cs b/src/Chloe.SQLite/MethodHandlers/Min_Handler.cs index 1cfa55fc..602e9296 100644 --- a/src/Chloe.SQLite/MethodHandlers/Min_Handler.cs +++ b/src/Chloe.SQLite/MethodHandlers/Min_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.SQLite.MethodHandlers { diff --git a/src/Chloe.SQLite/MethodHandlers/Parse_Handler.cs b/src/Chloe.SQLite/MethodHandlers/Parse_Handler.cs index 98bbae34..57a18119 100644 --- a/src/Chloe.SQLite/MethodHandlers/Parse_Handler.cs +++ b/src/Chloe.SQLite/MethodHandlers/Parse_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; namespace Chloe.SQLite.MethodHandlers { diff --git a/src/Chloe.SQLite/MethodHandlers/StartsWith_Handler.cs b/src/Chloe.SQLite/MethodHandlers/StartsWith_Handler.cs index 467f1273..d4354035 100644 --- a/src/Chloe.SQLite/MethodHandlers/StartsWith_Handler.cs +++ b/src/Chloe.SQLite/MethodHandlers/StartsWith_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.SQLite.MethodHandlers { diff --git a/src/Chloe.SQLite/MethodHandlers/Sum_Handler.cs b/src/Chloe.SQLite/MethodHandlers/Sum_Handler.cs index 17ee9115..f5471bf7 100644 --- a/src/Chloe.SQLite/MethodHandlers/Sum_Handler.cs +++ b/src/Chloe.SQLite/MethodHandlers/Sum_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.SQLite.MethodHandlers { diff --git a/src/Chloe.SQLite/PropertyBuilderExtensions.cs b/src/Chloe.SQLite/PropertyBuilderExtensions.cs index 47788f77..f22063ad 100644 --- a/src/Chloe.SQLite/PropertyBuilderExtensions.cs +++ b/src/Chloe.SQLite/PropertyBuilderExtensions.cs @@ -1,7 +1,4 @@ using Chloe.Entity; -using System; -using System.Collections.Generic; -using System.Text; namespace Chloe.SQLite { diff --git a/src/Chloe.SQLite/ReaderWriterLockWrapper.cs b/src/Chloe.SQLite/ReaderWriterLockWrapper.cs index 2bed2ffa..7dcf865d 100644 --- a/src/Chloe.SQLite/ReaderWriterLockWrapper.cs +++ b/src/Chloe.SQLite/ReaderWriterLockWrapper.cs @@ -1,5 +1,4 @@ -using System; -using System.Threading; +using System.Threading; namespace Chloe.SQLite { diff --git a/src/Chloe.SQLite/SQLiteContext.cs b/src/Chloe.SQLite/SQLiteContext.cs index fcefeeac..bbad99b3 100644 --- a/src/Chloe.SQLite/SQLiteContext.cs +++ b/src/Chloe.SQLite/SQLiteContext.cs @@ -2,11 +2,7 @@ using Chloe.Descriptors; using Chloe.Infrastructure; using Chloe.RDBMS; -using System; -using System.Collections.Generic; using System.Data; -using System.Linq; -using System.Text; using System.Threading.Tasks; namespace Chloe.SQLite diff --git a/src/Chloe.SQLite/SqlGenerator.cs b/src/Chloe.SQLite/SqlGenerator.cs index 67092b87..64ee849f 100644 --- a/src/Chloe.SQLite/SqlGenerator.cs +++ b/src/Chloe.SQLite/SqlGenerator.cs @@ -4,8 +4,6 @@ using Chloe.InternalExtensions; using Chloe.RDBMS; using Chloe.Reflection; -using System; -using System.Collections.Generic; using System.Data; using System.Reflection; diff --git a/src/Chloe.SQLite/SqlGenerator_AggregateHandlers.cs b/src/Chloe.SQLite/SqlGenerator_AggregateHandlers.cs index c162de94..9791d900 100644 --- a/src/Chloe.SQLite/SqlGenerator_AggregateHandlers.cs +++ b/src/Chloe.SQLite/SqlGenerator_AggregateHandlers.cs @@ -1,8 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; -using System.Collections.Generic; -using System.Linq; namespace Chloe.SQLite { diff --git a/src/Chloe.SQLite/SqlGenerator_BinaryWithMethodHandlers.cs b/src/Chloe.SQLite/SqlGenerator_BinaryWithMethodHandlers.cs index 5c6b3510..c7b58f60 100644 --- a/src/Chloe.SQLite/SqlGenerator_BinaryWithMethodHandlers.cs +++ b/src/Chloe.SQLite/SqlGenerator_BinaryWithMethodHandlers.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.SQLite diff --git a/src/Chloe.SQLite/SqlGenerator_Helper.cs b/src/Chloe.SQLite/SqlGenerator_Helper.cs index 4ed82a13..ab3d3b4b 100644 --- a/src/Chloe.SQLite/SqlGenerator_Helper.cs +++ b/src/Chloe.SQLite/SqlGenerator_Helper.cs @@ -2,8 +2,6 @@ using Chloe.InternalExtensions; using Chloe.RDBMS; using Chloe.Reflection; -using System; -using System.Collections.Generic; namespace Chloe.SQLite { diff --git a/src/Chloe.SQLite/SqlGenerator_MethodHandlers.cs b/src/Chloe.SQLite/SqlGenerator_MethodHandlers.cs index fcb9cc7f..dba423f5 100644 --- a/src/Chloe.SQLite/SqlGenerator_MethodHandlers.cs +++ b/src/Chloe.SQLite/SqlGenerator_MethodHandlers.cs @@ -1,8 +1,4 @@ -using Chloe.DbExpressions; -using Chloe.RDBMS; -using System; -using System.Collections.Generic; -using System.Linq; +using Chloe.RDBMS; using System.Reflection; namespace Chloe.SQLite diff --git a/src/Chloe.SQLite/UtilExceptions.cs b/src/Chloe.SQLite/UtilExceptions.cs index d9db89de..8939abab 100644 --- a/src/Chloe.SQLite/UtilExceptions.cs +++ b/src/Chloe.SQLite/UtilExceptions.cs @@ -1,6 +1,4 @@ -using System; -using System.Reflection; -using System.Text; +using System.Reflection; namespace Chloe.SQLite { diff --git a/src/Chloe.SQLite/Utils.cs b/src/Chloe.SQLite/Utils.cs index 661aafbf..41d3f02b 100644 --- a/src/Chloe.SQLite/Utils.cs +++ b/src/Chloe.SQLite/Utils.cs @@ -1,6 +1,4 @@ using Chloe.Reflection; -using System; -using System.Collections.Generic; namespace Chloe.SQLite { diff --git a/src/Chloe.SqlServer/Chloe.SqlServer.csproj b/src/Chloe.SqlServer/Chloe.SqlServer.csproj index 2878fefe..5360df30 100644 --- a/src/Chloe.SqlServer/Chloe.SqlServer.csproj +++ b/src/Chloe.SqlServer/Chloe.SqlServer.csproj @@ -1,43 +1,44 @@  - - netstandard2.0;net45;net5.0 + + netstandard2.0;net45;net5.0 + 10.0 - 4.18.0 - 4.18.0.0 - 4.18.0.0 - A lightweight and high-performance Object/Relational Mapping(ORM) library. - Chloe.SqlServer - Chloe.ORM - Shuxin Qin - Copyright 2016-2021. - false - + 4.19.0 + 4.19.0.0 + 4.19.0.0 + A lightweight and high-performance Object/Relational Mapping(ORM) library. + Chloe.SqlServer + Chloe.ORM + Shuxin Qin + Copyright 2016-2021. + false + - - bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml - + + bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml + - - netcore - - - netcore;net5 - - - netfx;net45 - + + netcore + + + netcore;net5 + + + netfx;net45 + - - - + + + - - - - - - - - + + + + + + + + diff --git a/src/Chloe.SqlServer/DDL/SqlServerTableGenerator.cs b/src/Chloe.SqlServer/DDL/SqlServerTableGenerator.cs index 21f8a5c9..7c7e78c3 100644 --- a/src/Chloe.SqlServer/DDL/SqlServerTableGenerator.cs +++ b/src/Chloe.SqlServer/DDL/SqlServerTableGenerator.cs @@ -1,10 +1,6 @@ using Chloe.DDL; using Chloe.Descriptors; using Chloe.Reflection; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Xml.Linq; namespace Chloe.SqlServer.DDL diff --git a/src/Chloe.SqlServer/DataTypeAttribute.cs b/src/Chloe.SqlServer/DataTypeAttribute.cs index b3c27ed9..b56581f0 100644 --- a/src/Chloe.SqlServer/DataTypeAttribute.cs +++ b/src/Chloe.SqlServer/DataTypeAttribute.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Chloe.SqlServer +namespace Chloe.SqlServer { public class DataTypeAttribute : Attribute { diff --git a/src/Chloe.SqlServer/DatabaseProvider.cs b/src/Chloe.SqlServer/DatabaseProvider.cs index 113a600c..4d8489ee 100644 --- a/src/Chloe.SqlServer/DatabaseProvider.cs +++ b/src/Chloe.SqlServer/DatabaseProvider.cs @@ -1,5 +1,4 @@ using Chloe.Infrastructure; -using System; using System.Data; namespace Chloe.SqlServer diff --git a/src/Chloe.SqlServer/DbParamCollection.cs b/src/Chloe.SqlServer/DbParamCollection.cs index 5f02aa3e..c0b61afd 100644 --- a/src/Chloe.SqlServer/DbParamCollection.cs +++ b/src/Chloe.SqlServer/DbParamCollection.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; +using System.Data; namespace Chloe.SqlServer { diff --git a/src/Chloe.SqlServer/EvaluableDbExpressionTransformer.cs b/src/Chloe.SqlServer/EvaluableDbExpressionTransformer.cs index 6d5de85f..fc9d79a1 100644 --- a/src/Chloe.SqlServer/EvaluableDbExpressionTransformer.cs +++ b/src/Chloe.SqlServer/EvaluableDbExpressionTransformer.cs @@ -1,7 +1,6 @@ using Chloe.Core.Visitors; using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; using System.Reflection; namespace Chloe.SqlServer diff --git a/src/Chloe.SqlServer/GlobalUsings.cs b/src/Chloe.SqlServer/GlobalUsings.cs new file mode 100644 index 00000000..2f8fb3fb --- /dev/null +++ b/src/Chloe.SqlServer/GlobalUsings.cs @@ -0,0 +1,4 @@ +global using System; +global using System.Text; +global using System.Linq; +global using System.Collections.Generic; diff --git a/src/Chloe.SqlServer/MethodHandlers/Average_Handler.cs b/src/Chloe.SqlServer/MethodHandlers/Average_Handler.cs index cbfe8154..a718b84e 100644 --- a/src/Chloe.SqlServer/MethodHandlers/Average_Handler.cs +++ b/src/Chloe.SqlServer/MethodHandlers/Average_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.SqlServer.MethodHandlers { diff --git a/src/Chloe.SqlServer/MethodHandlers/Compare_Handler.cs b/src/Chloe.SqlServer/MethodHandlers/Compare_Handler.cs index 3b1b45ff..2357d998 100644 --- a/src/Chloe.SqlServer/MethodHandlers/Compare_Handler.cs +++ b/src/Chloe.SqlServer/MethodHandlers/Compare_Handler.cs @@ -1,8 +1,6 @@ using Chloe.DbExpressions; using Chloe.InternalExtensions; using Chloe.RDBMS; -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.SqlServer.MethodHandlers diff --git a/src/Chloe.SqlServer/MethodHandlers/Contains_Handler.cs b/src/Chloe.SqlServer/MethodHandlers/Contains_Handler.cs index 3bfc28b1..fe55d7e2 100644 --- a/src/Chloe.SqlServer/MethodHandlers/Contains_Handler.cs +++ b/src/Chloe.SqlServer/MethodHandlers/Contains_Handler.cs @@ -1,10 +1,7 @@ using Chloe.DbExpressions; using Chloe.InternalExtensions; using Chloe.RDBMS; -using System; using System.Collections; -using System.Collections.Generic; -using System.Linq; using System.Reflection; namespace Chloe.SqlServer.MethodHandlers diff --git a/src/Chloe.SqlServer/MethodHandlers/Else_Handler.cs b/src/Chloe.SqlServer/MethodHandlers/Else_Handler.cs index 9c31bd99..29482a00 100644 --- a/src/Chloe.SqlServer/MethodHandlers/Else_Handler.cs +++ b/src/Chloe.SqlServer/MethodHandlers/Else_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; using static Chloe.DbExpressions.DbCaseWhenExpression; namespace Chloe.SqlServer.MethodHandlers diff --git a/src/Chloe.SqlServer/MethodHandlers/EndsWith_Handler.cs b/src/Chloe.SqlServer/MethodHandlers/EndsWith_Handler.cs index fd516bc1..63cd1f08 100644 --- a/src/Chloe.SqlServer/MethodHandlers/EndsWith_Handler.cs +++ b/src/Chloe.SqlServer/MethodHandlers/EndsWith_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.SqlServer.MethodHandlers { diff --git a/src/Chloe.SqlServer/MethodHandlers/In_Handler.cs b/src/Chloe.SqlServer/MethodHandlers/In_Handler.cs index 35b65558..c7c81f2e 100644 --- a/src/Chloe.SqlServer/MethodHandlers/In_Handler.cs +++ b/src/Chloe.SqlServer/MethodHandlers/In_Handler.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.SqlServer.MethodHandlers diff --git a/src/Chloe.SqlServer/MethodHandlers/IsNullOrEmpty_Handler.cs b/src/Chloe.SqlServer/MethodHandlers/IsNullOrEmpty_Handler.cs index e061eec6..6d4d2457 100644 --- a/src/Chloe.SqlServer/MethodHandlers/IsNullOrEmpty_Handler.cs +++ b/src/Chloe.SqlServer/MethodHandlers/IsNullOrEmpty_Handler.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Collections.Generic; -using System.Linq; namespace Chloe.SqlServer.MethodHandlers { diff --git a/src/Chloe.SqlServer/MethodHandlers/Max_Handler.cs b/src/Chloe.SqlServer/MethodHandlers/Max_Handler.cs index 3bc789e0..a5d13f04 100644 --- a/src/Chloe.SqlServer/MethodHandlers/Max_Handler.cs +++ b/src/Chloe.SqlServer/MethodHandlers/Max_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.SqlServer.MethodHandlers { diff --git a/src/Chloe.SqlServer/MethodHandlers/MethodHandlerHelper.cs b/src/Chloe.SqlServer/MethodHandlers/MethodHandlerHelper.cs index 7dc1bbe2..7f1f4a6f 100644 --- a/src/Chloe.SqlServer/MethodHandlers/MethodHandlerHelper.cs +++ b/src/Chloe.SqlServer/MethodHandlers/MethodHandlerHelper.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.InternalExtensions; -using System; namespace Chloe.SqlServer.MethodHandlers { diff --git a/src/Chloe.SqlServer/MethodHandlers/Min_Handler.cs b/src/Chloe.SqlServer/MethodHandlers/Min_Handler.cs index 559ff9dc..98ea5fa6 100644 --- a/src/Chloe.SqlServer/MethodHandlers/Min_Handler.cs +++ b/src/Chloe.SqlServer/MethodHandlers/Min_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.SqlServer.MethodHandlers { diff --git a/src/Chloe.SqlServer/MethodHandlers/NextValueForSequence_Handler.cs b/src/Chloe.SqlServer/MethodHandlers/NextValueForSequence_Handler.cs index c2fac847..2c6eea12 100644 --- a/src/Chloe.SqlServer/MethodHandlers/NextValueForSequence_Handler.cs +++ b/src/Chloe.SqlServer/MethodHandlers/NextValueForSequence_Handler.cs @@ -1,7 +1,6 @@ using Chloe.DbExpressions; using Chloe.InternalExtensions; using Chloe.RDBMS; -using System; namespace Chloe.SqlServer.MethodHandlers { diff --git a/src/Chloe.SqlServer/MethodHandlers/Parse_Handler.cs b/src/Chloe.SqlServer/MethodHandlers/Parse_Handler.cs index e0d24e80..c60d4bcf 100644 --- a/src/Chloe.SqlServer/MethodHandlers/Parse_Handler.cs +++ b/src/Chloe.SqlServer/MethodHandlers/Parse_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; namespace Chloe.SqlServer.MethodHandlers { diff --git a/src/Chloe.SqlServer/MethodHandlers/StartsWith_Handler.cs b/src/Chloe.SqlServer/MethodHandlers/StartsWith_Handler.cs index 6e1ddad0..4604113e 100644 --- a/src/Chloe.SqlServer/MethodHandlers/StartsWith_Handler.cs +++ b/src/Chloe.SqlServer/MethodHandlers/StartsWith_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.SqlServer.MethodHandlers { diff --git a/src/Chloe.SqlServer/MethodHandlers/Sum_Handler.cs b/src/Chloe.SqlServer/MethodHandlers/Sum_Handler.cs index 415a1941..a7bb69ea 100644 --- a/src/Chloe.SqlServer/MethodHandlers/Sum_Handler.cs +++ b/src/Chloe.SqlServer/MethodHandlers/Sum_Handler.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System.Linq; namespace Chloe.SqlServer.MethodHandlers { diff --git a/src/Chloe.SqlServer/MsSqlContext.cs b/src/Chloe.SqlServer/MsSqlContext.cs index 20cf7d6a..72164a94 100644 --- a/src/Chloe.SqlServer/MsSqlContext.cs +++ b/src/Chloe.SqlServer/MsSqlContext.cs @@ -7,13 +7,9 @@ using Chloe.Reflection; using Chloe.Threading.Tasks; using Chloe.Utility; -using System; -using System.Collections.Generic; using System.Data; -using System.Linq; using System.Linq.Expressions; using System.Reflection; -using System.Text; using System.Threading.Tasks; using Chloe.RDBMS; diff --git a/src/Chloe.SqlServer/MsSqlContextExtension.cs b/src/Chloe.SqlServer/MsSqlContextExtension.cs index 5896a4e8..722ccd2a 100644 --- a/src/Chloe.SqlServer/MsSqlContextExtension.cs +++ b/src/Chloe.SqlServer/MsSqlContextExtension.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace Chloe.SqlServer +namespace Chloe.SqlServer { public static class MsSqlContextExtension { diff --git a/src/Chloe.SqlServer/MsSqlContext_Helper.cs b/src/Chloe.SqlServer/MsSqlContext_Helper.cs index ffb46c0a..494017e9 100644 --- a/src/Chloe.SqlServer/MsSqlContext_Helper.cs +++ b/src/Chloe.SqlServer/MsSqlContext_Helper.cs @@ -2,10 +2,7 @@ using Chloe.DbExpressions; using Chloe.Descriptors; using Chloe.Exceptions; -using System; -using System.Collections.Generic; using System.Data; -using System.Text; namespace Chloe.SqlServer { diff --git a/src/Chloe.SqlServer/PropertyBuilderExtensions.cs b/src/Chloe.SqlServer/PropertyBuilderExtensions.cs index 984c3112..62b270f3 100644 --- a/src/Chloe.SqlServer/PropertyBuilderExtensions.cs +++ b/src/Chloe.SqlServer/PropertyBuilderExtensions.cs @@ -1,7 +1,4 @@ using Chloe.Entity; -using System; -using System.Collections.Generic; -using System.Text; namespace Chloe.SqlServer { diff --git a/src/Chloe.SqlServer/SqlGenerator.cs b/src/Chloe.SqlServer/SqlGenerator.cs index 402a1192..729265f5 100644 --- a/src/Chloe.SqlServer/SqlGenerator.cs +++ b/src/Chloe.SqlServer/SqlGenerator.cs @@ -4,8 +4,6 @@ using Chloe.InternalExtensions; using Chloe.RDBMS; using Chloe.Reflection; -using System; -using System.Collections.Generic; using System.Data; using System.Reflection; diff --git a/src/Chloe.SqlServer/SqlGenerator_AggregateHandlers.cs b/src/Chloe.SqlServer/SqlGenerator_AggregateHandlers.cs index 94126b8b..4a348dd0 100644 --- a/src/Chloe.SqlServer/SqlGenerator_AggregateHandlers.cs +++ b/src/Chloe.SqlServer/SqlGenerator_AggregateHandlers.cs @@ -1,8 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; -using System.Collections.Generic; -using System.Linq; namespace Chloe.SqlServer { diff --git a/src/Chloe.SqlServer/SqlGenerator_BinaryWithMethodHandlers.cs b/src/Chloe.SqlServer/SqlGenerator_BinaryWithMethodHandlers.cs index bb571fa4..ebb3fdd8 100644 --- a/src/Chloe.SqlServer/SqlGenerator_BinaryWithMethodHandlers.cs +++ b/src/Chloe.SqlServer/SqlGenerator_BinaryWithMethodHandlers.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; using Chloe.RDBMS; -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.SqlServer diff --git a/src/Chloe.SqlServer/SqlGenerator_Helper.cs b/src/Chloe.SqlServer/SqlGenerator_Helper.cs index 537e5097..643823a2 100644 --- a/src/Chloe.SqlServer/SqlGenerator_Helper.cs +++ b/src/Chloe.SqlServer/SqlGenerator_Helper.cs @@ -1,9 +1,6 @@ using Chloe.DbExpressions; using Chloe.RDBMS; using Chloe.Reflection; -using System; -using System.Collections.Generic; -using System.Linq; namespace Chloe.SqlServer { diff --git a/src/Chloe.SqlServer/SqlGenerator_MethodHandlers.cs b/src/Chloe.SqlServer/SqlGenerator_MethodHandlers.cs index 5a72c9b4..616d715d 100644 --- a/src/Chloe.SqlServer/SqlGenerator_MethodHandlers.cs +++ b/src/Chloe.SqlServer/SqlGenerator_MethodHandlers.cs @@ -1,8 +1,4 @@ -using Chloe.DbExpressions; -using Chloe.RDBMS; -using System; -using System.Collections.Generic; -using System.Linq; +using Chloe.RDBMS; using System.Reflection; namespace Chloe.SqlServer diff --git a/src/Chloe.SqlServer/SqlGenerator_OffsetFetch.cs b/src/Chloe.SqlServer/SqlGenerator_OffsetFetch.cs index 7c6f2a62..ca91b584 100644 --- a/src/Chloe.SqlServer/SqlGenerator_OffsetFetch.cs +++ b/src/Chloe.SqlServer/SqlGenerator_OffsetFetch.cs @@ -1,5 +1,4 @@ using Chloe.DbExpressions; -using System.Collections.Generic; namespace Chloe.SqlServer { diff --git a/src/Chloe.SqlServer/UtilExceptions.cs b/src/Chloe.SqlServer/UtilExceptions.cs index e07f4cec..99f99925 100644 --- a/src/Chloe.SqlServer/UtilExceptions.cs +++ b/src/Chloe.SqlServer/UtilExceptions.cs @@ -1,6 +1,4 @@ -using System; -using System.Reflection; -using System.Text; +using System.Reflection; namespace Chloe.SqlServer { diff --git a/src/Chloe.SqlServer/Utils.cs b/src/Chloe.SqlServer/Utils.cs index a89c54ee..90a15ea4 100644 --- a/src/Chloe.SqlServer/Utils.cs +++ b/src/Chloe.SqlServer/Utils.cs @@ -1,6 +1,4 @@ using Chloe.Reflection; -using System; -using System.Collections.Generic; namespace Chloe.SqlServer { diff --git a/src/Chloe/Annotations/AutoIncrementAttribute.cs b/src/Chloe/Annotations/AutoIncrementAttribute.cs index e09670a3..fe73e0ce 100644 --- a/src/Chloe/Annotations/AutoIncrementAttribute.cs +++ b/src/Chloe/Annotations/AutoIncrementAttribute.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Annotations +namespace Chloe.Annotations { [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)] public class AutoIncrementAttribute : Attribute diff --git a/src/Chloe/Annotations/ColumnAttribute.cs b/src/Chloe/Annotations/ColumnAttribute.cs index de1deb01..be522944 100644 --- a/src/Chloe/Annotations/ColumnAttribute.cs +++ b/src/Chloe/Annotations/ColumnAttribute.cs @@ -1,5 +1,4 @@ -using System; -using System.Data; +using System.Data; namespace Chloe.Annotations { diff --git a/src/Chloe/Annotations/DbFunctionAttribute.cs b/src/Chloe/Annotations/DbFunctionAttribute.cs index 2a967395..01d98115 100644 --- a/src/Chloe/Annotations/DbFunctionAttribute.cs +++ b/src/Chloe/Annotations/DbFunctionAttribute.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Annotations +namespace Chloe.Annotations { [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] public class DbFunctionAttribute : Attribute diff --git a/src/Chloe/Annotations/NavigationAttribute.cs b/src/Chloe/Annotations/NavigationAttribute.cs index d9d22164..bd047204 100644 --- a/src/Chloe/Annotations/NavigationAttribute.cs +++ b/src/Chloe/Annotations/NavigationAttribute.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Annotations +namespace Chloe.Annotations { /// /// Marks a property as navigation property. diff --git a/src/Chloe/Annotations/NonAutoIncrementAttribute.cs b/src/Chloe/Annotations/NonAutoIncrementAttribute.cs index 4ee21f94..e3d9bc3d 100644 --- a/src/Chloe/Annotations/NonAutoIncrementAttribute.cs +++ b/src/Chloe/Annotations/NonAutoIncrementAttribute.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Annotations +namespace Chloe.Annotations { [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)] public class NonAutoIncrementAttribute : Attribute diff --git a/src/Chloe/Annotations/NotMappedAttribute.cs b/src/Chloe/Annotations/NotMappedAttribute.cs index 48c9c382..1a4edc9f 100644 --- a/src/Chloe/Annotations/NotMappedAttribute.cs +++ b/src/Chloe/Annotations/NotMappedAttribute.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Annotations +namespace Chloe.Annotations { [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)] public class NotMappedAttribute : Attribute diff --git a/src/Chloe/Annotations/NotNullAttribute.cs b/src/Chloe/Annotations/NotNullAttribute.cs index 2a8cceca..334ee0c8 100644 --- a/src/Chloe/Annotations/NotNullAttribute.cs +++ b/src/Chloe/Annotations/NotNullAttribute.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Annotations +namespace Chloe.Annotations { [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)] public class NotNullAttribute : Attribute diff --git a/src/Chloe/Annotations/SequenceAttribute.cs b/src/Chloe/Annotations/SequenceAttribute.cs index 066ec1d1..4831f7d9 100644 --- a/src/Chloe/Annotations/SequenceAttribute.cs +++ b/src/Chloe/Annotations/SequenceAttribute.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Annotations +namespace Chloe.Annotations { [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)] public class SequenceAttribute : Attribute diff --git a/src/Chloe/Annotations/TableAttribute.cs b/src/Chloe/Annotations/TableAttribute.cs index 1e3f735a..5d56febf 100644 --- a/src/Chloe/Annotations/TableAttribute.cs +++ b/src/Chloe/Annotations/TableAttribute.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Annotations +namespace Chloe.Annotations { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] public class TableAttribute : Attribute diff --git a/src/Chloe/Annotations/UpdateIgnoreAttribute.cs b/src/Chloe/Annotations/UpdateIgnoreAttribute.cs index 9ae5792a..c3c339c7 100644 --- a/src/Chloe/Annotations/UpdateIgnoreAttribute.cs +++ b/src/Chloe/Annotations/UpdateIgnoreAttribute.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Annotations +namespace Chloe.Annotations { /// /// 更新忽略 diff --git a/src/Chloe/Chloe.csproj b/src/Chloe/Chloe.csproj index 84f356f3..154f7c7b 100644 --- a/src/Chloe/Chloe.csproj +++ b/src/Chloe/Chloe.csproj @@ -1,44 +1,45 @@  - - - - - netstandard2.0;net45;net5.0 + + + + + netstandard2.0;net45;net5.0 + 10.0 - 4.18.0 - 4.18.0.0 - 4.18.0.0 - A lightweight and high-performance Object/Relational Mapping(ORM) library. - Chloe - Chloe.ORM - Shuxin Qin - Copyright 2016-2021. - false - + 4.19.0 + 4.19.0.0 + 4.19.0.0 + A lightweight and high-performance Object/Relational Mapping(ORM) library. + Chloe + Chloe.ORM + Shuxin Qin + Copyright 2016-2021. + false + - - bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml - + + bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml + - - netcore - - - netcore;net5 - - - netfx;net45 - + + netcore + + + netcore;net5 + + + netfx;net45 + - - - - - - + + + + + + - - - + + + diff --git a/src/Chloe/Core/DbCommandInfo.cs b/src/Chloe/Core/DbCommandInfo.cs index 2276b042..00fe5222 100644 --- a/src/Chloe/Core/DbCommandInfo.cs +++ b/src/Chloe/Core/DbCommandInfo.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace Chloe.Core +namespace Chloe.Core { public class DbCommandInfo { diff --git a/src/Chloe/Core/IAsyncEnumerator.cs b/src/Chloe/Core/IAsyncEnumerator.cs index 06d132cc..5d3ee8f2 100644 --- a/src/Chloe/Core/IAsyncEnumerator.cs +++ b/src/Chloe/Core/IAsyncEnumerator.cs @@ -1,6 +1,5 @@ #if netfx using System; -using BoolResultTask = System.Threading.Tasks.Task; namespace System.Collections.Generic { diff --git a/src/Chloe/Core/IEntityState.cs b/src/Chloe/Core/IEntityState.cs index 7a04b8ca..4f455243 100644 --- a/src/Chloe/Core/IEntityState.cs +++ b/src/Chloe/Core/IEntityState.cs @@ -1,5 +1,4 @@ using Chloe.Descriptors; -using System.Collections.Generic; using System.Reflection; namespace Chloe.Core diff --git a/src/Chloe/Core/Visitors/BooleanResultExpressionTransformer.cs b/src/Chloe/Core/Visitors/BooleanResultExpressionTransformer.cs index 39e34a4e..7bb04f8e 100644 --- a/src/Chloe/Core/Visitors/BooleanResultExpressionTransformer.cs +++ b/src/Chloe/Core/Visitors/BooleanResultExpressionTransformer.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; +using System.Collections.ObjectModel; using System.Linq.Expressions; namespace Chloe.Core.Visitors diff --git a/src/Chloe/Core/Visitors/DbExpressionEvaluableJudge.cs b/src/Chloe/Core/Visitors/DbExpressionEvaluableJudge.cs index 2c1e34e1..c86b2412 100644 --- a/src/Chloe/Core/Visitors/DbExpressionEvaluableJudge.cs +++ b/src/Chloe/Core/Visitors/DbExpressionEvaluableJudge.cs @@ -1,5 +1,4 @@ using Chloe.DbExpressions; -using System; namespace Chloe.Core.Visitors { diff --git a/src/Chloe/Core/Visitors/DbExpressionEvaluator.cs b/src/Chloe/Core/Visitors/DbExpressionEvaluator.cs index cbe297e3..9a281f0b 100644 --- a/src/Chloe/Core/Visitors/DbExpressionEvaluator.cs +++ b/src/Chloe/Core/Visitors/DbExpressionEvaluator.cs @@ -1,7 +1,5 @@ using Chloe.DbExpressions; using Chloe.Reflection; -using System; -using System.Linq; namespace Chloe.Core.Visitors { diff --git a/src/Chloe/Core/Visitors/DefaultExpressionParser.cs b/src/Chloe/Core/Visitors/DefaultExpressionParser.cs index f643460b..1498cf4d 100644 --- a/src/Chloe/Core/Visitors/DefaultExpressionParser.cs +++ b/src/Chloe/Core/Visitors/DefaultExpressionParser.cs @@ -1,8 +1,6 @@ using Chloe.DbExpressions; using Chloe.Descriptors; using Chloe.Extensions; -using System; -using System.Collections.Generic; using System.Linq.Expressions; namespace Chloe.Core.Visitors diff --git a/src/Chloe/Core/Visitors/EvaluableDbExpressionTransformerBase.cs b/src/Chloe/Core/Visitors/EvaluableDbExpressionTransformerBase.cs index e766a200..58d8cbf8 100644 --- a/src/Chloe/Core/Visitors/EvaluableDbExpressionTransformerBase.cs +++ b/src/Chloe/Core/Visitors/EvaluableDbExpressionTransformerBase.cs @@ -1,7 +1,6 @@ using Chloe.Annotations; using Chloe.DbExpressions; using Chloe.InternalExtensions; -using System.Linq; using System.Reflection; namespace Chloe.Core.Visitors diff --git a/src/Chloe/Core/Visitors/ExpressionEvaluator.cs b/src/Chloe/Core/Visitors/ExpressionEvaluator.cs index 249d877f..1d428e49 100644 --- a/src/Chloe/Core/Visitors/ExpressionEvaluator.cs +++ b/src/Chloe/Core/Visitors/ExpressionEvaluator.cs @@ -1,7 +1,5 @@ using Chloe.Extensions; using Chloe.Reflection; -using System; -using System.Linq; using System.Linq.Expressions; using System.Reflection; diff --git a/src/Chloe/Core/Visitors/ExpressionVisitorBase.cs b/src/Chloe/Core/Visitors/ExpressionVisitorBase.cs index 9d8e638b..4bf43df3 100644 --- a/src/Chloe/Core/Visitors/ExpressionVisitorBase.cs +++ b/src/Chloe/Core/Visitors/ExpressionVisitorBase.cs @@ -1,8 +1,6 @@ using Chloe.DbExpressions; using Chloe.Extensions; using Chloe.Reflection; -using System; -using System.Collections.Generic; using System.Linq.Expressions; namespace Chloe.Core.Visitors diff --git a/src/Chloe/Core/Visitors/ExpressionVisitor`.cs b/src/Chloe/Core/Visitors/ExpressionVisitor`.cs index c86d3da6..4bd81e61 100644 --- a/src/Chloe/Core/Visitors/ExpressionVisitor`.cs +++ b/src/Chloe/Core/Visitors/ExpressionVisitor`.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe.Core.Visitors { diff --git a/src/Chloe/Core/Visitors/InitMemberExtractor.cs b/src/Chloe/Core/Visitors/InitMemberExtractor.cs index 26016184..d465461f 100644 --- a/src/Chloe/Core/Visitors/InitMemberExtractor.cs +++ b/src/Chloe/Core/Visitors/InitMemberExtractor.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq.Expressions; +using System.Linq.Expressions; using System.Reflection; namespace Chloe.Core.Visitors diff --git a/src/Chloe/Core/Visitors/JoinConditionExpressionTransformer.cs b/src/Chloe/Core/Visitors/JoinConditionExpressionTransformer.cs index ca8437e5..6166fe53 100644 --- a/src/Chloe/Core/Visitors/JoinConditionExpressionTransformer.cs +++ b/src/Chloe/Core/Visitors/JoinConditionExpressionTransformer.cs @@ -1,6 +1,4 @@ using Chloe.DbExpressions; -using System.Collections.Generic; -using System.Linq; using System.Reflection; namespace Chloe.Core.Visitors diff --git a/src/Chloe/DDL/TableCreateMode.cs b/src/Chloe/DDL/TableCreateMode.cs index 0c5e0f8f..b46caee1 100644 --- a/src/Chloe/DDL/TableCreateMode.cs +++ b/src/Chloe/DDL/TableCreateMode.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Chloe.DDL +namespace Chloe.DDL { public enum TableCreateMode { diff --git a/src/Chloe/DDL/TableGenerator.cs b/src/Chloe/DDL/TableGenerator.cs index ba32fa41..7e2b619a 100644 --- a/src/Chloe/DDL/TableGenerator.cs +++ b/src/Chloe/DDL/TableGenerator.cs @@ -1,11 +1,6 @@ using Chloe.Descriptors; using Chloe.Infrastructure; -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using System.Reflection; -using System.Text; using System.Xml.Linq; namespace Chloe.DDL diff --git a/src/Chloe/Data/AdoExtension.cs b/src/Chloe/Data/AdoExtension.cs index b923ef64..fa730348 100644 --- a/src/Chloe/Data/AdoExtension.cs +++ b/src/Chloe/Data/AdoExtension.cs @@ -2,12 +2,6 @@ using System.Data.Common; using System.Threading.Tasks; -#if netfx -using BoolResultTask = System.Threading.Tasks.Task; -#else -using BoolResultTask = System.Threading.Tasks.ValueTask; -#endif - namespace System.Data { internal static class AdoExtension diff --git a/src/Chloe/Data/AdoSession.cs b/src/Chloe/Data/AdoSession.cs index ed2a15d4..459cb07d 100644 --- a/src/Chloe/Data/AdoSession.cs +++ b/src/Chloe/Data/AdoSession.cs @@ -2,8 +2,6 @@ using Chloe.Infrastructure; using Chloe.Infrastructure.Interception; using Chloe.Threading.Tasks; -using System; -using System.Collections.Generic; using System.Data; using System.Threading.Tasks; diff --git a/src/Chloe/Data/DataReaderConstant.cs b/src/Chloe/Data/DataReaderConstant.cs index eff0107e..0647b0ff 100644 --- a/src/Chloe/Data/DataReaderConstant.cs +++ b/src/Chloe/Data/DataReaderConstant.cs @@ -1,6 +1,5 @@ using Chloe.Infrastructure; using Chloe.Reflection; -using System; using System.Data; using System.Reflection; diff --git a/src/Chloe/Data/DataReaderDecorator.cs b/src/Chloe/Data/DataReaderDecorator.cs index 6af2089d..1abb2b35 100644 --- a/src/Chloe/Data/DataReaderDecorator.cs +++ b/src/Chloe/Data/DataReaderDecorator.cs @@ -1,5 +1,4 @@ -using System; -using System.Data; +using System.Data; using System.Data.Common; using System.Threading.Tasks; diff --git a/src/Chloe/Data/DataReaderExtension.cs b/src/Chloe/Data/DataReaderExtension.cs index 2a58ec50..e56e62c5 100644 --- a/src/Chloe/Data/DataReaderExtension.cs +++ b/src/Chloe/Data/DataReaderExtension.cs @@ -1,5 +1,4 @@ -using System; -using System.Data; +using System.Data; namespace Chloe.Data { diff --git a/src/Chloe/Data/DbCommandDecorator.cs b/src/Chloe/Data/DbCommandDecorator.cs index 1e813c86..3baa7271 100644 --- a/src/Chloe/Data/DbCommandDecorator.cs +++ b/src/Chloe/Data/DbCommandDecorator.cs @@ -1,5 +1,4 @@ -using System; -using System.Data; +using System.Data; using System.Data.Common; using System.Threading.Tasks; diff --git a/src/Chloe/Data/ExternalAdoSession.cs b/src/Chloe/Data/ExternalAdoSession.cs index 5618ecac..8ba1642b 100644 --- a/src/Chloe/Data/ExternalAdoSession.cs +++ b/src/Chloe/Data/ExternalAdoSession.cs @@ -1,5 +1,4 @@ -using System; -using System.Data; +using System.Data; using System.Threading.Tasks; namespace Chloe.Data diff --git a/src/Chloe/Data/IAdoSession.cs b/src/Chloe/Data/IAdoSession.cs index e3e61949..1be830ee 100644 --- a/src/Chloe/Data/IAdoSession.cs +++ b/src/Chloe/Data/IAdoSession.cs @@ -1,5 +1,4 @@ using Chloe.Infrastructure.Interception; -using System; using System.Data; using System.Threading.Tasks; diff --git a/src/Chloe/Data/IDbValueReader.cs b/src/Chloe/Data/IDbValueReader.cs index 4831b53f..2ea974a3 100644 --- a/src/Chloe/Data/IDbValueReader.cs +++ b/src/Chloe/Data/IDbValueReader.cs @@ -1,5 +1,4 @@ -using System; -using System.Data; +using System.Data; namespace Chloe.Data { diff --git a/src/Chloe/Data/InnerAdoSession.cs b/src/Chloe/Data/InnerAdoSession.cs index c2ae7e9a..e9dc022d 100644 --- a/src/Chloe/Data/InnerAdoSession.cs +++ b/src/Chloe/Data/InnerAdoSession.cs @@ -1,6 +1,4 @@ using Chloe.Infrastructure.Interception; -using System; -using System.Collections.Generic; using System.Data; using System.Threading.Tasks; diff --git a/src/Chloe/Data/InternalAdoSession.cs b/src/Chloe/Data/InternalAdoSession.cs index 52ba595a..c413320a 100644 --- a/src/Chloe/Data/InternalAdoSession.cs +++ b/src/Chloe/Data/InternalAdoSession.cs @@ -1,5 +1,4 @@ -using System; -using System.Data; +using System.Data; namespace Chloe.Data { diff --git a/src/Chloe/Data/InternalDataReader.cs b/src/Chloe/Data/InternalDataReader.cs index 65415028..0190e9cf 100644 --- a/src/Chloe/Data/InternalDataReader.cs +++ b/src/Chloe/Data/InternalDataReader.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; +using System.Data; namespace Chloe.Data { diff --git a/src/Chloe/Data/OutputParameter.cs b/src/Chloe/Data/OutputParameter.cs index 1e037c0b..c9b5306e 100644 --- a/src/Chloe/Data/OutputParameter.cs +++ b/src/Chloe/Data/OutputParameter.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; +using System.Data; namespace Chloe.Data { diff --git a/src/Chloe/DbContext.cs b/src/Chloe/DbContext.cs index dacf9a42..e450d013 100644 --- a/src/Chloe/DbContext.cs +++ b/src/Chloe/DbContext.cs @@ -10,11 +10,8 @@ using Chloe.Reflection; using Chloe.Threading.Tasks; using Chloe.Utility; -using System; using System.Collections; -using System.Collections.Generic; using System.Data; -using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Threading.Tasks; diff --git a/src/Chloe/DbContext_Helper.cs b/src/Chloe/DbContext_Helper.cs index 19960891..7f5acfeb 100644 --- a/src/Chloe/DbContext_Helper.cs +++ b/src/Chloe/DbContext_Helper.cs @@ -4,10 +4,7 @@ using Chloe.Extensions; using Chloe.Infrastructure; using Chloe.InternalExtensions; -using System; -using System.Collections.Generic; using System.Data; -using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Threading.Tasks; diff --git a/src/Chloe/DbExpressions/DbAddExpression.cs b/src/Chloe/DbExpressions/DbAddExpression.cs index 8a1845fa..a0fd1a06 100644 --- a/src/Chloe/DbExpressions/DbAddExpression.cs +++ b/src/Chloe/DbExpressions/DbAddExpression.cs @@ -1,5 +1,4 @@ -using System; -using System.Reflection; +using System.Reflection; namespace Chloe.DbExpressions { diff --git a/src/Chloe/DbExpressions/DbAggregateExpression.cs b/src/Chloe/DbExpressions/DbAggregateExpression.cs index 00f59b98..55d78323 100644 --- a/src/Chloe/DbExpressions/DbAggregateExpression.cs +++ b/src/Chloe/DbExpressions/DbAggregateExpression.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; +using System.Collections.ObjectModel; using System.Reflection; namespace Chloe.DbExpressions diff --git a/src/Chloe/DbExpressions/DbBinaryExpression.cs b/src/Chloe/DbExpressions/DbBinaryExpression.cs index 00a0d5c5..5a9b4e62 100644 --- a/src/Chloe/DbExpressions/DbBinaryExpression.cs +++ b/src/Chloe/DbExpressions/DbBinaryExpression.cs @@ -1,5 +1,4 @@ -using System; -using System.Reflection; +using System.Reflection; namespace Chloe.DbExpressions { diff --git a/src/Chloe/DbExpressions/DbBitAndExpression.cs b/src/Chloe/DbExpressions/DbBitAndExpression.cs index 5b861b76..a7cb4a62 100644 --- a/src/Chloe/DbExpressions/DbBitAndExpression.cs +++ b/src/Chloe/DbExpressions/DbBitAndExpression.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.DbExpressions +namespace Chloe.DbExpressions { public class DbBitAndExpression : DbBinaryExpression { diff --git a/src/Chloe/DbExpressions/DbBitOrExpression.cs b/src/Chloe/DbExpressions/DbBitOrExpression.cs index c8d34a3e..48468d31 100644 --- a/src/Chloe/DbExpressions/DbBitOrExpression.cs +++ b/src/Chloe/DbExpressions/DbBitOrExpression.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.DbExpressions +namespace Chloe.DbExpressions { public class DbBitOrExpression : DbBinaryExpression { diff --git a/src/Chloe/DbExpressions/DbCaseWhenExpression.cs b/src/Chloe/DbExpressions/DbCaseWhenExpression.cs index 6bda21c6..dbe7fa31 100644 --- a/src/Chloe/DbExpressions/DbCaseWhenExpression.cs +++ b/src/Chloe/DbExpressions/DbCaseWhenExpression.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; +using System.Collections.ObjectModel; namespace Chloe.DbExpressions { diff --git a/src/Chloe/DbExpressions/DbColumn.cs b/src/Chloe/DbExpressions/DbColumn.cs index a47797d4..432d4b64 100644 --- a/src/Chloe/DbExpressions/DbColumn.cs +++ b/src/Chloe/DbExpressions/DbColumn.cs @@ -1,5 +1,4 @@ -using System; -using System.Data; +using System.Data; namespace Chloe.DbExpressions { diff --git a/src/Chloe/DbExpressions/DbConstantExpression.cs b/src/Chloe/DbExpressions/DbConstantExpression.cs index 6d25a1a1..8fa8566e 100644 --- a/src/Chloe/DbExpressions/DbConstantExpression.cs +++ b/src/Chloe/DbExpressions/DbConstantExpression.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.DbExpressions +namespace Chloe.DbExpressions { public class DbConstantExpression : DbExpression { diff --git a/src/Chloe/DbExpressions/DbConvertExpression.cs b/src/Chloe/DbExpressions/DbConvertExpression.cs index 29042395..201b37f1 100644 --- a/src/Chloe/DbExpressions/DbConvertExpression.cs +++ b/src/Chloe/DbExpressions/DbConvertExpression.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.DbExpressions +namespace Chloe.DbExpressions { public class DbConvertExpression : DbExpression { diff --git a/src/Chloe/DbExpressions/DbDivideExpression.cs b/src/Chloe/DbExpressions/DbDivideExpression.cs index 0dc0f359..2fa5591e 100644 --- a/src/Chloe/DbExpressions/DbDivideExpression.cs +++ b/src/Chloe/DbExpressions/DbDivideExpression.cs @@ -1,5 +1,4 @@ -using System; -using System.Reflection; +using System.Reflection; namespace Chloe.DbExpressions { diff --git a/src/Chloe/DbExpressions/DbExpression.cs b/src/Chloe/DbExpressions/DbExpression.cs index 701e7215..69778b49 100644 --- a/src/Chloe/DbExpressions/DbExpression.cs +++ b/src/Chloe/DbExpressions/DbExpression.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Reflection; +using System.Reflection; namespace Chloe.DbExpressions { diff --git a/src/Chloe/DbExpressions/DbExpressionVisitor.cs b/src/Chloe/DbExpressions/DbExpressionVisitor.cs index 4bf838f3..07f78e59 100644 --- a/src/Chloe/DbExpressions/DbExpressionVisitor.cs +++ b/src/Chloe/DbExpressions/DbExpressionVisitor.cs @@ -1,7 +1,4 @@ -using System.Collections.Generic; -using System.Linq; - -namespace Chloe.DbExpressions +namespace Chloe.DbExpressions { public class DbExpressionVisitor : DbExpressionVisitor { diff --git a/src/Chloe/DbExpressions/DbExpressionVisitor`.cs b/src/Chloe/DbExpressions/DbExpressionVisitor`.cs index c944e264..ef5b79a3 100644 --- a/src/Chloe/DbExpressions/DbExpressionVisitor`.cs +++ b/src/Chloe/DbExpressions/DbExpressionVisitor`.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.DbExpressions +namespace Chloe.DbExpressions { public abstract class DbExpressionVisitor { diff --git a/src/Chloe/DbExpressions/DbInsertExpression.cs b/src/Chloe/DbExpressions/DbInsertExpression.cs index 88bea9fe..cf5b21ed 100644 --- a/src/Chloe/DbExpressions/DbInsertExpression.cs +++ b/src/Chloe/DbExpressions/DbInsertExpression.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace Chloe.DbExpressions +namespace Chloe.DbExpressions { public class DbInsertExpression : DbExpression { diff --git a/src/Chloe/DbExpressions/DbMainTableExpression.cs b/src/Chloe/DbExpressions/DbMainTableExpression.cs index ac8c1115..7f284fcb 100644 --- a/src/Chloe/DbExpressions/DbMainTableExpression.cs +++ b/src/Chloe/DbExpressions/DbMainTableExpression.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace Chloe.DbExpressions +namespace Chloe.DbExpressions { public abstract class DbMainTableExpression : DbExpression { diff --git a/src/Chloe/DbExpressions/DbMemberExpression.cs b/src/Chloe/DbExpressions/DbMemberExpression.cs index a0e05c4c..8e23acb8 100644 --- a/src/Chloe/DbExpressions/DbMemberExpression.cs +++ b/src/Chloe/DbExpressions/DbMemberExpression.cs @@ -1,5 +1,4 @@ using Chloe.Reflection; -using System; using System.Data; using System.Reflection; diff --git a/src/Chloe/DbExpressions/DbMethodCallExpression.cs b/src/Chloe/DbExpressions/DbMethodCallExpression.cs index cfdda706..84098548 100644 --- a/src/Chloe/DbExpressions/DbMethodCallExpression.cs +++ b/src/Chloe/DbExpressions/DbMethodCallExpression.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; +using System.Collections.ObjectModel; using System.Reflection; namespace Chloe.DbExpressions diff --git a/src/Chloe/DbExpressions/DbModuloExpression.cs b/src/Chloe/DbExpressions/DbModuloExpression.cs index 638ca640..b5488637 100644 --- a/src/Chloe/DbExpressions/DbModuloExpression.cs +++ b/src/Chloe/DbExpressions/DbModuloExpression.cs @@ -1,5 +1,4 @@ -using System; -using System.Reflection; +using System.Reflection; namespace Chloe.DbExpressions { diff --git a/src/Chloe/DbExpressions/DbMultiplyExpression.cs b/src/Chloe/DbExpressions/DbMultiplyExpression.cs index 18c26e4f..47c1a198 100644 --- a/src/Chloe/DbExpressions/DbMultiplyExpression.cs +++ b/src/Chloe/DbExpressions/DbMultiplyExpression.cs @@ -1,5 +1,4 @@ -using System; -using System.Reflection; +using System.Reflection; namespace Chloe.DbExpressions { diff --git a/src/Chloe/DbExpressions/DbNegateExpression.cs b/src/Chloe/DbExpressions/DbNegateExpression.cs index 9941da31..4af25a83 100644 --- a/src/Chloe/DbExpressions/DbNegateExpression.cs +++ b/src/Chloe/DbExpressions/DbNegateExpression.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.DbExpressions +namespace Chloe.DbExpressions { public class DbNegateExpression : DbExpression { diff --git a/src/Chloe/DbExpressions/DbParameterExpression.cs b/src/Chloe/DbExpressions/DbParameterExpression.cs index 1065ff28..ac35d254 100644 --- a/src/Chloe/DbExpressions/DbParameterExpression.cs +++ b/src/Chloe/DbExpressions/DbParameterExpression.cs @@ -1,5 +1,4 @@ -using System; -using System.Data; +using System.Data; namespace Chloe.DbExpressions { diff --git a/src/Chloe/DbExpressions/DbSqlQueryExpression.cs b/src/Chloe/DbExpressions/DbSqlQueryExpression.cs index 250e6b71..c6102510 100644 --- a/src/Chloe/DbExpressions/DbSqlQueryExpression.cs +++ b/src/Chloe/DbExpressions/DbSqlQueryExpression.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; - -namespace Chloe.DbExpressions +namespace Chloe.DbExpressions { public class DbSqlQueryExpression : DbExpression { diff --git a/src/Chloe/DbExpressions/DbSubQueryExpression.cs b/src/Chloe/DbExpressions/DbSubQueryExpression.cs index f615e350..7d86e4dd 100644 --- a/src/Chloe/DbExpressions/DbSubQueryExpression.cs +++ b/src/Chloe/DbExpressions/DbSubQueryExpression.cs @@ -1,7 +1,4 @@ - -using System; - -namespace Chloe.DbExpressions +namespace Chloe.DbExpressions { public class DbSubQueryExpression : DbExpression { diff --git a/src/Chloe/DbExpressions/DbSubtractExpression.cs b/src/Chloe/DbExpressions/DbSubtractExpression.cs index 1883e213..456a5cc3 100644 --- a/src/Chloe/DbExpressions/DbSubtractExpression.cs +++ b/src/Chloe/DbExpressions/DbSubtractExpression.cs @@ -1,5 +1,4 @@ -using System; -using System.Reflection; +using System.Reflection; namespace Chloe.DbExpressions { diff --git a/src/Chloe/DbExpressions/DbTable.cs b/src/Chloe/DbExpressions/DbTable.cs index 61aef67c..6b71df56 100644 --- a/src/Chloe/DbExpressions/DbTable.cs +++ b/src/Chloe/DbExpressions/DbTable.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.DbExpressions +namespace Chloe.DbExpressions { [System.Diagnostics.DebuggerDisplay("Name = {Name}")] public class DbTable diff --git a/src/Chloe/DbExpressions/DbUpdateExpression.cs b/src/Chloe/DbExpressions/DbUpdateExpression.cs index 5a0269bd..bb54e1eb 100644 --- a/src/Chloe/DbExpressions/DbUpdateExpression.cs +++ b/src/Chloe/DbExpressions/DbUpdateExpression.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace Chloe.DbExpressions +namespace Chloe.DbExpressions { public class DbUpdateExpression : DbExpression { diff --git a/src/Chloe/DbParam.cs b/src/Chloe/DbParam.cs index f85ba197..21cde223 100644 --- a/src/Chloe/DbParam.cs +++ b/src/Chloe/DbParam.cs @@ -1,5 +1,4 @@ -using System; -using System.Data; +using System.Data; namespace Chloe { diff --git a/src/Chloe/DbParamList.cs b/src/Chloe/DbParamList.cs index 4fed6380..5d549df9 100644 --- a/src/Chloe/DbParamList.cs +++ b/src/Chloe/DbParamList.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; - -namespace Chloe +namespace Chloe { public class DbParamList : List { diff --git a/src/Chloe/Descriptors/CollectionPropertyDescriptor.cs b/src/Chloe/Descriptors/CollectionPropertyDescriptor.cs index 78694490..60b37d88 100644 --- a/src/Chloe/Descriptors/CollectionPropertyDescriptor.cs +++ b/src/Chloe/Descriptors/CollectionPropertyDescriptor.cs @@ -1,5 +1,4 @@ using Chloe.Entity; -using System; namespace Chloe.Descriptors { diff --git a/src/Chloe/Descriptors/ComplexPropertyDescriptor.cs b/src/Chloe/Descriptors/ComplexPropertyDescriptor.cs index 71bd0c83..d03e9626 100644 --- a/src/Chloe/Descriptors/ComplexPropertyDescriptor.cs +++ b/src/Chloe/Descriptors/ComplexPropertyDescriptor.cs @@ -1,6 +1,5 @@ using Chloe.Entity; using Chloe.Exceptions; -using System.Linq; namespace Chloe.Descriptors { diff --git a/src/Chloe/Descriptors/ConstructorDescriptor.cs b/src/Chloe/Descriptors/ConstructorDescriptor.cs index 475e9ab7..98f0700b 100644 --- a/src/Chloe/Descriptors/ConstructorDescriptor.cs +++ b/src/Chloe/Descriptors/ConstructorDescriptor.cs @@ -1,7 +1,5 @@ using Chloe.Mapper; using Chloe.Reflection; -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.Descriptors diff --git a/src/Chloe/Descriptors/PropertyDescriptor.cs b/src/Chloe/Descriptors/PropertyDescriptor.cs index a7640bfc..0339c7f8 100644 --- a/src/Chloe/Descriptors/PropertyDescriptor.cs +++ b/src/Chloe/Descriptors/PropertyDescriptor.cs @@ -1,9 +1,6 @@ using Chloe.Entity; using Chloe.Reflection; -using System; -using System.Linq; using System.Reflection; -using System.Threading; namespace Chloe.Descriptors { diff --git a/src/Chloe/Descriptors/PropertyDescriptorExtension.cs b/src/Chloe/Descriptors/PropertyDescriptorExtension.cs index d7e75b66..e3c18eef 100644 --- a/src/Chloe/Descriptors/PropertyDescriptorExtension.cs +++ b/src/Chloe/Descriptors/PropertyDescriptorExtension.cs @@ -1,5 +1,4 @@ using Chloe.Infrastructure; -using System; namespace Chloe.Descriptors { diff --git a/src/Chloe/Descriptors/TypeDescriptor.cs b/src/Chloe/Descriptors/TypeDescriptor.cs index 21e50fc6..309f1bc0 100644 --- a/src/Chloe/Descriptors/TypeDescriptor.cs +++ b/src/Chloe/Descriptors/TypeDescriptor.cs @@ -4,9 +4,7 @@ using Chloe.Exceptions; using Chloe.Query; using Chloe.Reflection; -using System.Collections.Generic; using System.Collections.ObjectModel; -using System.Linq; using System.Reflection; namespace Chloe.Descriptors diff --git a/src/Chloe/Entity/CollectionPropertyDefinition.cs b/src/Chloe/Entity/CollectionPropertyDefinition.cs index 8dcedfc2..c24b6e71 100644 --- a/src/Chloe/Entity/CollectionPropertyDefinition.cs +++ b/src/Chloe/Entity/CollectionPropertyDefinition.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; +using System.Reflection; namespace Chloe.Entity { diff --git a/src/Chloe/Entity/ComplexPropertyBuilder.cs b/src/Chloe/Entity/ComplexPropertyBuilder.cs index 9cd674f7..7f2bb00c 100644 --- a/src/Chloe/Entity/ComplexPropertyBuilder.cs +++ b/src/Chloe/Entity/ComplexPropertyBuilder.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe.Entity { diff --git a/src/Chloe/Entity/ComplexPropertyDefinition.cs b/src/Chloe/Entity/ComplexPropertyDefinition.cs index 3d2ce647..1fecb29d 100644 --- a/src/Chloe/Entity/ComplexPropertyDefinition.cs +++ b/src/Chloe/Entity/ComplexPropertyDefinition.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Reflection; +using System.Reflection; namespace Chloe.Entity { diff --git a/src/Chloe/Entity/EntityType.cs b/src/Chloe/Entity/EntityType.cs index d09b254a..e7a5c4c0 100644 --- a/src/Chloe/Entity/EntityType.cs +++ b/src/Chloe/Entity/EntityType.cs @@ -2,9 +2,6 @@ using Chloe.Exceptions; using Chloe.Infrastructure; using Chloe.Reflection; -using System; -using System.Collections.Generic; -using System.Linq; using System.Linq.Expressions; using System.Reflection; diff --git a/src/Chloe/Entity/EntityTypeBuilder.cs b/src/Chloe/Entity/EntityTypeBuilder.cs index 717205ad..32223edb 100644 --- a/src/Chloe/Entity/EntityTypeBuilder.cs +++ b/src/Chloe/Entity/EntityTypeBuilder.cs @@ -1,6 +1,4 @@ -using System; -using System.Linq; -using System.Linq.Expressions; +using System.Linq.Expressions; using System.Reflection; namespace Chloe.Entity diff --git a/src/Chloe/Entity/IComplexPropertyBuilder.cs b/src/Chloe/Entity/IComplexPropertyBuilder.cs index 837fa0ad..31e83624 100644 --- a/src/Chloe/Entity/IComplexPropertyBuilder.cs +++ b/src/Chloe/Entity/IComplexPropertyBuilder.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe.Entity { diff --git a/src/Chloe/Entity/IEntityTypeBuilder.cs b/src/Chloe/Entity/IEntityTypeBuilder.cs index 6cef37f6..84e2d6f6 100644 --- a/src/Chloe/Entity/IEntityTypeBuilder.cs +++ b/src/Chloe/Entity/IEntityTypeBuilder.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe.Entity { diff --git a/src/Chloe/Entity/InternalEntityTypeBuilder.cs b/src/Chloe/Entity/InternalEntityTypeBuilder.cs index 865bd5a8..ea74dae1 100644 --- a/src/Chloe/Entity/InternalEntityTypeBuilder.cs +++ b/src/Chloe/Entity/InternalEntityTypeBuilder.cs @@ -1,9 +1,6 @@ using Chloe.Annotations; using Chloe.Infrastructure; -using System; -using System.Collections.Generic; using System.Collections.ObjectModel; -using System.Linq; using System.Reflection; namespace Chloe.Entity diff --git a/src/Chloe/Entity/PrimitivePropertyBuilder.cs b/src/Chloe/Entity/PrimitivePropertyBuilder.cs index 24f2634a..723d1e46 100644 --- a/src/Chloe/Entity/PrimitivePropertyBuilder.cs +++ b/src/Chloe/Entity/PrimitivePropertyBuilder.cs @@ -1,5 +1,4 @@ -using System; -using System.Data; +using System.Data; namespace Chloe.Entity { diff --git a/src/Chloe/Entity/PrimitivePropertyDefinition.cs b/src/Chloe/Entity/PrimitivePropertyDefinition.cs index e97fb2ff..9c4edf3e 100644 --- a/src/Chloe/Entity/PrimitivePropertyDefinition.cs +++ b/src/Chloe/Entity/PrimitivePropertyDefinition.cs @@ -1,5 +1,4 @@ using Chloe.DbExpressions; -using System.Collections.Generic; using System.Reflection; namespace Chloe.Entity diff --git a/src/Chloe/Entity/PropertyBase.cs b/src/Chloe/Entity/PropertyBase.cs index 8291c046..50703de0 100644 --- a/src/Chloe/Entity/PropertyBase.cs +++ b/src/Chloe/Entity/PropertyBase.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using System.Reflection; +using System.Reflection; namespace Chloe.Entity { diff --git a/src/Chloe/Entity/PropertyDefinition.cs b/src/Chloe/Entity/PropertyDefinition.cs index 44275c94..8f795730 100644 --- a/src/Chloe/Entity/PropertyDefinition.cs +++ b/src/Chloe/Entity/PropertyDefinition.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; +using System.Collections.ObjectModel; using System.Reflection; namespace Chloe.Entity diff --git a/src/Chloe/Entity/PropertyNameExtractor.cs b/src/Chloe/Entity/PropertyNameExtractor.cs index c233fdae..2da21159 100644 --- a/src/Chloe/Entity/PropertyNameExtractor.cs +++ b/src/Chloe/Entity/PropertyNameExtractor.cs @@ -1,5 +1,4 @@ using Chloe.Core.Visitors; -using System; using System.Linq.Expressions; namespace Chloe.Entity diff --git a/src/Chloe/Entity/TypeDefinition.cs b/src/Chloe/Entity/TypeDefinition.cs index 673f1d88..f16a8983 100644 --- a/src/Chloe/Entity/TypeDefinition.cs +++ b/src/Chloe/Entity/TypeDefinition.cs @@ -1,8 +1,5 @@ using Chloe.DbExpressions; -using System; -using System.Collections.Generic; using System.Collections.ObjectModel; -using System.Linq; using System.Linq.Expressions; namespace Chloe.Entity diff --git a/src/Chloe/Exceptions/ChloeException.cs b/src/Chloe/Exceptions/ChloeException.cs index 7a709995..fbfe39c5 100644 --- a/src/Chloe/Exceptions/ChloeException.cs +++ b/src/Chloe/Exceptions/ChloeException.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Exceptions +namespace Chloe.Exceptions { public class ChloeException : Exception { diff --git a/src/Chloe/Exceptions/UnbelievableException.cs b/src/Chloe/Exceptions/UnbelievableException.cs index 2263da5a..b48f21d5 100644 --- a/src/Chloe/Exceptions/UnbelievableException.cs +++ b/src/Chloe/Exceptions/UnbelievableException.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Exceptions +namespace Chloe.Exceptions { public class UnbelievableException : Exception { diff --git a/src/Chloe/Extensions/DbExpressionExtension.cs b/src/Chloe/Extensions/DbExpressionExtension.cs index cef182c6..1922352c 100644 --- a/src/Chloe/Extensions/DbExpressionExtension.cs +++ b/src/Chloe/Extensions/DbExpressionExtension.cs @@ -1,8 +1,6 @@ using Chloe.Core.Visitors; using Chloe.DbExpressions; using Chloe.Reflection; -using System; -using System.Collections.Generic; namespace Chloe.InternalExtensions { diff --git a/src/Chloe/Extensions/ExpressionExtension.cs b/src/Chloe/Extensions/ExpressionExtension.cs index 4ab7a705..be58b63a 100644 --- a/src/Chloe/Extensions/ExpressionExtension.cs +++ b/src/Chloe/Extensions/ExpressionExtension.cs @@ -1,6 +1,4 @@ using Chloe.Core.Visitors; -using System; -using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; diff --git a/src/Chloe/GlobalUsings.cs b/src/Chloe/GlobalUsings.cs new file mode 100644 index 00000000..f31288a2 --- /dev/null +++ b/src/Chloe/GlobalUsings.cs @@ -0,0 +1,11 @@ +global using System; +global using System.Text; +global using System.Linq; +global using System.IO; +global using System.Collections.Generic; + +#if netfx +global using BoolResultTask = System.Threading.Tasks.Task; +#else +global using BoolResultTask = System.Threading.Tasks.ValueTask; +#endif diff --git a/src/Chloe/IDbContext.cs b/src/Chloe/IDbContext.cs index 4f3ffd11..6ea8bba2 100644 --- a/src/Chloe/IDbContext.cs +++ b/src/Chloe/IDbContext.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; +using System.Data; using System.Linq.Expressions; using System.Threading.Tasks; diff --git a/src/Chloe/IDbSession.cs b/src/Chloe/IDbSession.cs index da0ee158..4826e4be 100644 --- a/src/Chloe/IDbSession.cs +++ b/src/Chloe/IDbSession.cs @@ -1,5 +1,4 @@ using Chloe.Infrastructure.Interception; -using System; using System.Data; using System.Threading.Tasks; diff --git a/src/Chloe/IGroupingQuery.cs b/src/Chloe/IGroupingQuery.cs index 9c75810a..99f6532c 100644 --- a/src/Chloe/IGroupingQuery.cs +++ b/src/Chloe/IGroupingQuery.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe { diff --git a/src/Chloe/IIncludableQuery.cs b/src/Chloe/IIncludableQuery.cs index 0fca7b9a..ef0eae36 100644 --- a/src/Chloe/IIncludableQuery.cs +++ b/src/Chloe/IIncludableQuery.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe { diff --git a/src/Chloe/IJoinQuery`.cs b/src/Chloe/IJoinQuery`.cs index 2b5e82bc..9bcb20e7 100644 --- a/src/Chloe/IJoinQuery`.cs +++ b/src/Chloe/IJoinQuery`.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe { diff --git a/src/Chloe/IOrderedQuery`.cs b/src/Chloe/IOrderedQuery`.cs index 771c17e8..6c75c3b2 100644 --- a/src/Chloe/IOrderedQuery`.cs +++ b/src/Chloe/IOrderedQuery`.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe { diff --git a/src/Chloe/IQuery.cs b/src/Chloe/IQuery.cs index 9f65e023..7c7db364 100644 --- a/src/Chloe/IQuery.cs +++ b/src/Chloe/IQuery.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe +namespace Chloe { public interface IQuery { diff --git a/src/Chloe/IQuery`.cs b/src/Chloe/IQuery`.cs index 83b0ce7b..1769430f 100644 --- a/src/Chloe/IQuery`.cs +++ b/src/Chloe/IQuery`.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq.Expressions; +using System.Linq.Expressions; using System.Threading.Tasks; namespace Chloe diff --git a/src/Chloe/ITransientTransaction.cs b/src/Chloe/ITransientTransaction.cs index 468cda6b..b5dc77ea 100644 --- a/src/Chloe/ITransientTransaction.cs +++ b/src/Chloe/ITransientTransaction.cs @@ -1,5 +1,4 @@ -using System; -using System.Data; +using System.Data; namespace Chloe { diff --git a/src/Chloe/Infrastructure/DbConfiguration.cs b/src/Chloe/Infrastructure/DbConfiguration.cs index 140df742..48958d52 100644 --- a/src/Chloe/Infrastructure/DbConfiguration.cs +++ b/src/Chloe/Infrastructure/DbConfiguration.cs @@ -1,6 +1,5 @@ using Chloe.Entity; using Chloe.Infrastructure.Interception; -using System; namespace Chloe.Infrastructure { diff --git a/src/Chloe/Infrastructure/EntityTypeContainer.cs b/src/Chloe/Infrastructure/EntityTypeContainer.cs index 30fcb39b..f6fed9c1 100644 --- a/src/Chloe/Infrastructure/EntityTypeContainer.cs +++ b/src/Chloe/Infrastructure/EntityTypeContainer.cs @@ -1,8 +1,5 @@ using Chloe.Descriptors; using Chloe.Entity; -using System; -using System.Collections.Generic; -using System.Linq; namespace Chloe.Infrastructure { diff --git a/src/Chloe/Infrastructure/IDbConnectionFactory.cs b/src/Chloe/Infrastructure/IDbConnectionFactory.cs index 73cc94c1..073167e8 100644 --- a/src/Chloe/Infrastructure/IDbConnectionFactory.cs +++ b/src/Chloe/Infrastructure/IDbConnectionFactory.cs @@ -1,5 +1,4 @@ -using System; -using System.Data; +using System.Data; namespace Chloe.Infrastructure { diff --git a/src/Chloe/Infrastructure/IDbParameterAssembler.cs b/src/Chloe/Infrastructure/IDbParameterAssembler.cs index af12b99d..46e46e81 100644 --- a/src/Chloe/Infrastructure/IDbParameterAssembler.cs +++ b/src/Chloe/Infrastructure/IDbParameterAssembler.cs @@ -1,5 +1,4 @@ -using System; -using System.Data; +using System.Data; namespace Chloe.Infrastructure { diff --git a/src/Chloe/Infrastructure/IDbValueConverter.cs b/src/Chloe/Infrastructure/IDbValueConverter.cs index 491f46c7..59e030ea 100644 --- a/src/Chloe/Infrastructure/IDbValueConverter.cs +++ b/src/Chloe/Infrastructure/IDbValueConverter.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Infrastructure +namespace Chloe.Infrastructure { /// /// 数据库数据转换器。 diff --git a/src/Chloe/Infrastructure/Interception/DbCommandInterceptionContext`.cs b/src/Chloe/Infrastructure/Interception/DbCommandInterceptionContext`.cs index 64f75e3c..58005d2d 100644 --- a/src/Chloe/Infrastructure/Interception/DbCommandInterceptionContext`.cs +++ b/src/Chloe/Infrastructure/Interception/DbCommandInterceptionContext`.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; - -namespace Chloe.Infrastructure.Interception +namespace Chloe.Infrastructure.Interception { public class DbCommandInterceptionContext { diff --git a/src/Chloe/Infrastructure/Interception/DbInterception.cs b/src/Chloe/Infrastructure/Interception/DbInterception.cs index d8f80986..0e9c865e 100644 --- a/src/Chloe/Infrastructure/Interception/DbInterception.cs +++ b/src/Chloe/Infrastructure/Interception/DbInterception.cs @@ -1,7 +1,4 @@ -using System.Collections.Generic; -using System.Linq; - -namespace Chloe.Infrastructure.Interception +namespace Chloe.Infrastructure.Interception { public static class DbInterception { diff --git a/src/Chloe/Infrastructure/MappingType.cs b/src/Chloe/Infrastructure/MappingType.cs index 776f30c3..09882fc4 100644 --- a/src/Chloe/Infrastructure/MappingType.cs +++ b/src/Chloe/Infrastructure/MappingType.cs @@ -1,5 +1,4 @@ -using System; -using System.Data; +using System.Data; namespace Chloe.Infrastructure { diff --git a/src/Chloe/Infrastructure/MappingTypeBuilder.cs b/src/Chloe/Infrastructure/MappingTypeBuilder.cs index 1067b595..0fb1d31b 100644 --- a/src/Chloe/Infrastructure/MappingTypeBuilder.cs +++ b/src/Chloe/Infrastructure/MappingTypeBuilder.cs @@ -1,5 +1,4 @@ -using System; -using System.Data; +using System.Data; namespace Chloe.Infrastructure { diff --git a/src/Chloe/Infrastructure/MappingTypeSystem.cs b/src/Chloe/Infrastructure/MappingTypeSystem.cs index 0eb6fd68..7757b1e7 100644 --- a/src/Chloe/Infrastructure/MappingTypeSystem.cs +++ b/src/Chloe/Infrastructure/MappingTypeSystem.cs @@ -1,6 +1,4 @@ using Chloe.Reflection; -using System; -using System.Collections.Generic; using System.Data; namespace Chloe.Infrastructure diff --git a/src/Chloe/Mapper/Activators/CollectionObjectActivator.cs b/src/Chloe/Mapper/Activators/CollectionObjectActivator.cs index 0033b4a0..d8b2f517 100644 --- a/src/Chloe/Mapper/Activators/CollectionObjectActivator.cs +++ b/src/Chloe/Mapper/Activators/CollectionObjectActivator.cs @@ -1,6 +1,4 @@ using Chloe.Reflection; -using System; -using System.Collections.Generic; using System.Collections.ObjectModel; using System.Data; diff --git a/src/Chloe/Mapper/Activators/ComplexObjectActivator.cs b/src/Chloe/Mapper/Activators/ComplexObjectActivator.cs index 5d318d4a..2414fa40 100644 --- a/src/Chloe/Mapper/Activators/ComplexObjectActivator.cs +++ b/src/Chloe/Mapper/Activators/ComplexObjectActivator.cs @@ -1,8 +1,6 @@ using Chloe.Exceptions; using Chloe.Mapper.Binders; using Chloe.Reflection; -using System; -using System.Collections.Generic; using System.Data; #if netfx diff --git a/src/Chloe/Mapper/Activators/PrimitiveObjectActivator.cs b/src/Chloe/Mapper/Activators/PrimitiveObjectActivator.cs index de159266..cb4a738b 100644 --- a/src/Chloe/Mapper/Activators/PrimitiveObjectActivator.cs +++ b/src/Chloe/Mapper/Activators/PrimitiveObjectActivator.cs @@ -1,6 +1,5 @@ using Chloe.Data; using Chloe.Exceptions; -using System; using System.Data; #if netfx diff --git a/src/Chloe/Mapper/Activators/RootEntityActivator.cs b/src/Chloe/Mapper/Activators/RootEntityActivator.cs index 85371586..b0108bd7 100644 --- a/src/Chloe/Mapper/Activators/RootEntityActivator.cs +++ b/src/Chloe/Mapper/Activators/RootEntityActivator.cs @@ -1,6 +1,5 @@ using Chloe.Data; using System.Data; -using System.Threading.Tasks; #if netfx using ObjectResultTask = System.Threading.Tasks.Task; diff --git a/src/Chloe/Mapper/Binders/PrimitiveMemberBinder.cs b/src/Chloe/Mapper/Binders/PrimitiveMemberBinder.cs index 8516daea..cbb5be4d 100644 --- a/src/Chloe/Mapper/Binders/PrimitiveMemberBinder.cs +++ b/src/Chloe/Mapper/Binders/PrimitiveMemberBinder.cs @@ -1,5 +1,4 @@ using Chloe.Reflection; -using System; using System.Data; using System.Reflection; diff --git a/src/Chloe/Mapper/IEntityKey.cs b/src/Chloe/Mapper/IEntityKey.cs index fa86a1cd..7eb88721 100644 --- a/src/Chloe/Mapper/IEntityKey.cs +++ b/src/Chloe/Mapper/IEntityKey.cs @@ -1,7 +1,5 @@ using Chloe.Data; using Chloe.Descriptors; -using System; -using System.Collections.Generic; using System.Data; namespace Chloe.Mapper diff --git a/src/Chloe/Mapper/IFitter.cs b/src/Chloe/Mapper/IFitter.cs index f6849b84..530908c2 100644 --- a/src/Chloe/Mapper/IFitter.cs +++ b/src/Chloe/Mapper/IFitter.cs @@ -1,7 +1,5 @@ using Chloe.Descriptors; -using System; using System.Collections; -using System.Collections.Generic; using System.Data; #if netfx diff --git a/src/Chloe/Mapper/IMRM.cs b/src/Chloe/Mapper/IMRM.cs index dce70a25..326fbf98 100644 --- a/src/Chloe/Mapper/IMRM.cs +++ b/src/Chloe/Mapper/IMRM.cs @@ -1,7 +1,6 @@ using Chloe.Reflection.Emit; using Chloe.Data; using Chloe.Reflection; -using System; using System.Data; using System.Reflection; using System.Threading; diff --git a/src/Chloe/Mapper/ObjectConstructor.cs b/src/Chloe/Mapper/ObjectConstructor.cs index 876000e9..1fc8d657 100644 --- a/src/Chloe/Mapper/ObjectConstructor.cs +++ b/src/Chloe/Mapper/ObjectConstructor.cs @@ -1,6 +1,4 @@ using Chloe.Reflection; -using Chloe.Reflection.Emit; -using System; using System.Reflection; namespace Chloe.Mapper diff --git a/src/Chloe/Mapper/ObjectMemberMapper.cs b/src/Chloe/Mapper/ObjectMemberMapper.cs index e037fb5a..4efa9649 100644 --- a/src/Chloe/Mapper/ObjectMemberMapper.cs +++ b/src/Chloe/Mapper/ObjectMemberMapper.cs @@ -1,7 +1,5 @@ using Chloe.Infrastructure; using Chloe.Reflection; -using System; -using System.Collections.Generic; using System.Reflection; using System.Threading; diff --git a/src/Chloe/Query/GroupingQuery.cs b/src/Chloe/Query/GroupingQuery.cs index 41311551..2c539094 100644 --- a/src/Chloe/Query/GroupingQuery.cs +++ b/src/Chloe/Query/GroupingQuery.cs @@ -1,6 +1,4 @@ using Chloe.Query.QueryExpressions; -using System; -using System.Collections.Generic; using System.Linq.Expressions; namespace Chloe.Query diff --git a/src/Chloe/Query/IncludableQuery`.cs b/src/Chloe/Query/IncludableQuery`.cs index 12b571db..ec65d7d0 100644 --- a/src/Chloe/Query/IncludableQuery`.cs +++ b/src/Chloe/Query/IncludableQuery`.cs @@ -1,8 +1,6 @@ using Chloe.Extensions; using Chloe.Query.QueryExpressions; using Chloe.Reflection; -using System; -using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; diff --git a/src/Chloe/Query/Internals/DapperRow.cs b/src/Chloe/Query/Internals/DapperRow.cs index f7b51829..359370f6 100644 --- a/src/Chloe/Query/Internals/DapperRow.cs +++ b/src/Chloe/Query/Internals/DapperRow.cs @@ -4,11 +4,6 @@ * Home page: https://github.com/StackExchange/dapper-dot-net */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - namespace Chloe.Query.Internals { sealed partial class DapperRow diff --git a/src/Chloe/Query/Internals/DapperRowMetaObject.cs b/src/Chloe/Query/Internals/DapperRowMetaObject.cs index 3cae4770..1644f2c6 100644 --- a/src/Chloe/Query/Internals/DapperRowMetaObject.cs +++ b/src/Chloe/Query/Internals/DapperRowMetaObject.cs @@ -4,8 +4,6 @@ * Home page: https://github.com/StackExchange/dapper-dot-net */ -using System; -using System.Collections.Generic; using System.Reflection; namespace Chloe.Query.Internals diff --git a/src/Chloe/Query/Internals/DapperRowObjectActivator.cs b/src/Chloe/Query/Internals/DapperRowObjectActivator.cs index 1b7ca909..27a3395c 100644 --- a/src/Chloe/Query/Internals/DapperRowObjectActivator.cs +++ b/src/Chloe/Query/Internals/DapperRowObjectActivator.cs @@ -1,6 +1,5 @@ using Chloe.Mapper; using Chloe.Mapper.Activators; -using System; using System.Data; #if netfx diff --git a/src/Chloe/Query/Internals/DapperTable.cs b/src/Chloe/Query/Internals/DapperTable.cs index b285a389..e11e7846 100644 --- a/src/Chloe/Query/Internals/DapperTable.cs +++ b/src/Chloe/Query/Internals/DapperTable.cs @@ -4,9 +4,6 @@ * Home page: https://github.com/StackExchange/dapper-dot-net */ -using System; -using System.Collections.Generic; - namespace Chloe.Query.Internals { sealed partial class DapperTable diff --git a/src/Chloe/Query/Internals/DataReaderEnumerator.cs b/src/Chloe/Query/Internals/DataReaderEnumerator.cs index 60aba06f..f225c696 100644 --- a/src/Chloe/Query/Internals/DataReaderEnumerator.cs +++ b/src/Chloe/Query/Internals/DataReaderEnumerator.cs @@ -1,16 +1,8 @@ using Chloe.Threading.Tasks; -using System; using System.Collections; -using System.Collections.Generic; using System.Data; using System.Threading.Tasks; -#if netfx -using BoolResultTask = System.Threading.Tasks.Task; -#else -using BoolResultTask = System.Threading.Tasks.ValueTask; -#endif - namespace Chloe.Query.Internals { internal class DataReaderEnumerator : IEnumerator, IAsyncEnumerator diff --git a/src/Chloe/Query/Internals/InternalQuery.cs b/src/Chloe/Query/Internals/InternalQuery.cs index 164a3683..edc4f1fd 100644 --- a/src/Chloe/Query/Internals/InternalQuery.cs +++ b/src/Chloe/Query/Internals/InternalQuery.cs @@ -8,11 +8,8 @@ using Chloe.Query.Visitors; using Chloe.Reflection; using Chloe.Utility; -using System; using System.Collections; -using System.Collections.Generic; using System.Data; -using System.Text; using System.Threading; namespace Chloe.Query.Internals diff --git a/src/Chloe/Query/Internals/InternalSqlQuery.cs b/src/Chloe/Query/Internals/InternalSqlQuery.cs index 01465c8c..5e959e8c 100644 --- a/src/Chloe/Query/Internals/InternalSqlQuery.cs +++ b/src/Chloe/Query/Internals/InternalSqlQuery.cs @@ -6,20 +6,12 @@ using Chloe.Mapper.Binders; using Chloe.Query.Mapping; using Chloe.Reflection; -using System; using System.Collections; -using System.Collections.Generic; using System.Data; using System.Reflection; using System.Threading; using System.Threading.Tasks; -#if netfx -using BoolResultTask = System.Threading.Tasks.Task; -#else -using BoolResultTask = System.Threading.Tasks.ValueTask; -#endif - namespace Chloe.Query.Internals { class InternalSqlQuery : IEnumerable, IAsyncEnumerable diff --git a/src/Chloe/Query/Internals/QueryEnumerator.cs b/src/Chloe/Query/Internals/QueryEnumerator.cs index 5a77a038..525f5801 100644 --- a/src/Chloe/Query/Internals/QueryEnumerator.cs +++ b/src/Chloe/Query/Internals/QueryEnumerator.cs @@ -1,17 +1,9 @@ using Chloe.Mapper; using Chloe.Threading.Tasks; -using System; using System.Collections; -using System.Collections.Generic; using System.Data; using System.Threading.Tasks; -#if netfx -using BoolResultTask = System.Threading.Tasks.Task; -#else -using BoolResultTask = System.Threading.Tasks.ValueTask; -#endif - namespace Chloe.Query.Internals { internal class QueryEnumerator : IEnumerator, IAsyncEnumerator diff --git a/src/Chloe/Query/JoinQueryParameterExpressionReplacer.cs b/src/Chloe/Query/JoinQueryParameterExpressionReplacer.cs index 30826a28..45e62b13 100644 --- a/src/Chloe/Query/JoinQueryParameterExpressionReplacer.cs +++ b/src/Chloe/Query/JoinQueryParameterExpressionReplacer.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe.Query { diff --git a/src/Chloe/Query/JoinQuery`.cs b/src/Chloe/Query/JoinQuery`.cs index b15c5a00..aa6d6a9b 100644 --- a/src/Chloe/Query/JoinQuery`.cs +++ b/src/Chloe/Query/JoinQuery`.cs @@ -1,6 +1,4 @@ using Chloe.Query.QueryExpressions; -using System; -using System.Collections.Generic; using System.Linq.Expressions; namespace Chloe.Query diff --git a/src/Chloe/Query/Mapping/CollectionObjectActivatorCreator.cs b/src/Chloe/Query/Mapping/CollectionObjectActivatorCreator.cs index ed10338d..c02e6cbb 100644 --- a/src/Chloe/Query/Mapping/CollectionObjectActivatorCreator.cs +++ b/src/Chloe/Query/Mapping/CollectionObjectActivatorCreator.cs @@ -2,9 +2,6 @@ using Chloe.Infrastructure; using Chloe.Mapper; using Chloe.Mapper.Activators; -using System; -using System.Collections.Generic; -using System.Linq; namespace Chloe.Query.Mapping { diff --git a/src/Chloe/Query/Mapping/ComplexObjectActivatorCreator.cs b/src/Chloe/Query/Mapping/ComplexObjectActivatorCreator.cs index 928ac898..9fce4049 100644 --- a/src/Chloe/Query/Mapping/ComplexObjectActivatorCreator.cs +++ b/src/Chloe/Query/Mapping/ComplexObjectActivatorCreator.cs @@ -5,9 +5,6 @@ using Chloe.Mapper.Activators; using Chloe.Mapper.Binders; using Chloe.Reflection; -using System; -using System.Collections.Generic; -using System.Linq; using System.Reflection; namespace Chloe.Query.Mapping diff --git a/src/Chloe/Query/Mapping/IObjectActivatorCreator.cs b/src/Chloe/Query/Mapping/IObjectActivatorCreator.cs index c6e923f2..b3d4f799 100644 --- a/src/Chloe/Query/Mapping/IObjectActivatorCreator.cs +++ b/src/Chloe/Query/Mapping/IObjectActivatorCreator.cs @@ -1,5 +1,4 @@ using Chloe.Mapper; -using System; namespace Chloe.Query.Mapping { diff --git a/src/Chloe/Query/Mapping/PrimitiveObjectActivatorCreator.cs b/src/Chloe/Query/Mapping/PrimitiveObjectActivatorCreator.cs index f50fdd43..edc9b22f 100644 --- a/src/Chloe/Query/Mapping/PrimitiveObjectActivatorCreator.cs +++ b/src/Chloe/Query/Mapping/PrimitiveObjectActivatorCreator.cs @@ -1,6 +1,5 @@ using Chloe.Mapper; using Chloe.Mapper.Activators; -using System; namespace Chloe.Query.Mapping { diff --git a/src/Chloe/Query/Model/CollectionObjectModel.cs b/src/Chloe/Query/Model/CollectionObjectModel.cs index 44d718b3..64eb56b6 100644 --- a/src/Chloe/Query/Model/CollectionObjectModel.cs +++ b/src/Chloe/Query/Model/CollectionObjectModel.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.Query.Mapping; -using System; using System.Reflection; namespace Chloe.Query diff --git a/src/Chloe/Query/Model/ComplexObjectModel.cs b/src/Chloe/Query/Model/ComplexObjectModel.cs index d64cc0ce..eecc902f 100644 --- a/src/Chloe/Query/Model/ComplexObjectModel.cs +++ b/src/Chloe/Query/Model/ComplexObjectModel.cs @@ -9,9 +9,6 @@ using Chloe.Query.Visitors; using Chloe.Reflection; using Chloe.Utility; -using System; -using System.Collections.Generic; -using System.Linq; using System.Linq.Expressions; using System.Reflection; diff --git a/src/Chloe/Query/Model/IObjectModel.cs b/src/Chloe/Query/Model/IObjectModel.cs index a7b326ac..b4757906 100644 --- a/src/Chloe/Query/Model/IObjectModel.cs +++ b/src/Chloe/Query/Model/IObjectModel.cs @@ -1,8 +1,5 @@ using Chloe.DbExpressions; using Chloe.Query.Mapping; -using System; -using System.Collections.Generic; -using System.Linq; using System.Linq.Expressions; using System.Reflection; diff --git a/src/Chloe/Query/Model/ObjectModelBase.cs b/src/Chloe/Query/Model/ObjectModelBase.cs index 2fe05b4f..0cb3b850 100644 --- a/src/Chloe/Query/Model/ObjectModelBase.cs +++ b/src/Chloe/Query/Model/ObjectModelBase.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.Query.Mapping; -using System; using System.Linq.Expressions; using System.Reflection; diff --git a/src/Chloe/Query/Model/PrimitiveObjectModel.cs b/src/Chloe/Query/Model/PrimitiveObjectModel.cs index b27ae2fa..d5b911ae 100644 --- a/src/Chloe/Query/Model/PrimitiveObjectModel.cs +++ b/src/Chloe/Query/Model/PrimitiveObjectModel.cs @@ -1,8 +1,6 @@ using Chloe.DbExpressions; using Chloe.Extensions; using Chloe.Query.Mapping; -using System; -using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; diff --git a/src/Chloe/Query/Model/QueryModel.cs b/src/Chloe/Query/Model/QueryModel.cs index d067fe0c..e2c959b5 100644 --- a/src/Chloe/Query/Model/QueryModel.cs +++ b/src/Chloe/Query/Model/QueryModel.cs @@ -1,8 +1,6 @@ using Chloe.DbExpressions; using Chloe.InternalExtensions; using Chloe.Utility; -using System; -using System.Collections.Generic; namespace Chloe.Query { diff --git a/src/Chloe/Query/OrderedQuery`.cs b/src/Chloe/Query/OrderedQuery`.cs index 6ba9bdab..950a7330 100644 --- a/src/Chloe/Query/OrderedQuery`.cs +++ b/src/Chloe/Query/OrderedQuery`.cs @@ -1,5 +1,4 @@ using Chloe.Query.QueryExpressions; -using System; using System.Linq.Expressions; namespace Chloe.Query diff --git a/src/Chloe/Query/Query.Async.cs b/src/Chloe/Query/Query.Async.cs index 564fc197..ed0a921f 100644 --- a/src/Chloe/Query/Query.Async.cs +++ b/src/Chloe/Query/Query.Async.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; +using System.Linq.Expressions; using System.Threading.Tasks; namespace Chloe.Query diff --git a/src/Chloe/Query/QueryExpressions/AggregateQueryExpression.cs b/src/Chloe/Query/QueryExpressions/AggregateQueryExpression.cs index e8d78f76..a9964f4a 100644 --- a/src/Chloe/Query/QueryExpressions/AggregateQueryExpression.cs +++ b/src/Chloe/Query/QueryExpressions/AggregateQueryExpression.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using System.Collections.ObjectModel; +using System.Collections.ObjectModel; using System.Linq.Expressions; using System.Reflection; diff --git a/src/Chloe/Query/QueryExpressions/DistinctExpression.cs b/src/Chloe/Query/QueryExpressions/DistinctExpression.cs index b97852c8..8e32b1ba 100644 --- a/src/Chloe/Query/QueryExpressions/DistinctExpression.cs +++ b/src/Chloe/Query/QueryExpressions/DistinctExpression.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Query.QueryExpressions +namespace Chloe.Query.QueryExpressions { class DistinctExpression : QueryExpression { diff --git a/src/Chloe/Query/QueryExpressions/GroupingQueryExpression.cs b/src/Chloe/Query/QueryExpressions/GroupingQueryExpression.cs index 8a0f54dd..2a46c747 100644 --- a/src/Chloe/Query/QueryExpressions/GroupingQueryExpression.cs +++ b/src/Chloe/Query/QueryExpressions/GroupingQueryExpression.cs @@ -1,6 +1,4 @@ using Chloe.DbExpressions; -using System; -using System.Collections.Generic; using System.Linq.Expressions; namespace Chloe.Query.QueryExpressions diff --git a/src/Chloe/Query/QueryExpressions/IgnoreAllFiltersExpression.cs b/src/Chloe/Query/QueryExpressions/IgnoreAllFiltersExpression.cs index 11d511f2..22d425c9 100644 --- a/src/Chloe/Query/QueryExpressions/IgnoreAllFiltersExpression.cs +++ b/src/Chloe/Query/QueryExpressions/IgnoreAllFiltersExpression.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Query.QueryExpressions +namespace Chloe.Query.QueryExpressions { class IgnoreAllFiltersExpression : QueryExpression { diff --git a/src/Chloe/Query/QueryExpressions/IncludeExpression.cs b/src/Chloe/Query/QueryExpressions/IncludeExpression.cs index 30c87529..74f15ab1 100644 --- a/src/Chloe/Query/QueryExpressions/IncludeExpression.cs +++ b/src/Chloe/Query/QueryExpressions/IncludeExpression.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq.Expressions; +using System.Linq.Expressions; using System.Reflection; namespace Chloe.Query.QueryExpressions diff --git a/src/Chloe/Query/QueryExpressions/JoinQueryExpression.cs b/src/Chloe/Query/QueryExpressions/JoinQueryExpression.cs index fee7f414..14d504c0 100644 --- a/src/Chloe/Query/QueryExpressions/JoinQueryExpression.cs +++ b/src/Chloe/Query/QueryExpressions/JoinQueryExpression.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe.Query.QueryExpressions { diff --git a/src/Chloe/Query/QueryExpressions/OrderExpression.cs b/src/Chloe/Query/QueryExpressions/OrderExpression.cs index d04b44f5..4e8f41ee 100644 --- a/src/Chloe/Query/QueryExpressions/OrderExpression.cs +++ b/src/Chloe/Query/QueryExpressions/OrderExpression.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe.Query.QueryExpressions { diff --git a/src/Chloe/Query/QueryExpressions/QueryExpression.cs b/src/Chloe/Query/QueryExpressions/QueryExpression.cs index eb158e4c..f7502609 100644 --- a/src/Chloe/Query/QueryExpressions/QueryExpression.cs +++ b/src/Chloe/Query/QueryExpressions/QueryExpression.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Query.QueryExpressions +namespace Chloe.Query.QueryExpressions { abstract class QueryExpression { diff --git a/src/Chloe/Query/QueryExpressions/QueryExpressionVisitor`.cs b/src/Chloe/Query/QueryExpressions/QueryExpressionVisitor`.cs index d9cd92a2..cab4ecf4 100644 --- a/src/Chloe/Query/QueryExpressions/QueryExpressionVisitor`.cs +++ b/src/Chloe/Query/QueryExpressions/QueryExpressionVisitor`.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Query.QueryExpressions +namespace Chloe.Query.QueryExpressions { abstract class QueryExpressionVisitor { diff --git a/src/Chloe/Query/QueryExpressions/RootQueryExpression.cs b/src/Chloe/Query/QueryExpressions/RootQueryExpression.cs index 2377de25..302ddc9e 100644 --- a/src/Chloe/Query/QueryExpressions/RootQueryExpression.cs +++ b/src/Chloe/Query/QueryExpressions/RootQueryExpression.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe.Query.QueryExpressions { diff --git a/src/Chloe/Query/QueryExpressions/SelectExpression.cs b/src/Chloe/Query/QueryExpressions/SelectExpression.cs index 2b52a1dd..60c32c90 100644 --- a/src/Chloe/Query/QueryExpressions/SelectExpression.cs +++ b/src/Chloe/Query/QueryExpressions/SelectExpression.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe.Query.QueryExpressions { diff --git a/src/Chloe/Query/QueryExpressions/SkipExpression.cs b/src/Chloe/Query/QueryExpressions/SkipExpression.cs index 2dbfa117..634df48a 100644 --- a/src/Chloe/Query/QueryExpressions/SkipExpression.cs +++ b/src/Chloe/Query/QueryExpressions/SkipExpression.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Query.QueryExpressions +namespace Chloe.Query.QueryExpressions { class SkipExpression : QueryExpression { diff --git a/src/Chloe/Query/QueryExpressions/TakeExpression.cs b/src/Chloe/Query/QueryExpressions/TakeExpression.cs index 876b196b..97f45af2 100644 --- a/src/Chloe/Query/QueryExpressions/TakeExpression.cs +++ b/src/Chloe/Query/QueryExpressions/TakeExpression.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe.Query.QueryExpressions +namespace Chloe.Query.QueryExpressions { class TakeExpression : QueryExpression { diff --git a/src/Chloe/Query/QueryExpressions/WhereExpression.cs b/src/Chloe/Query/QueryExpressions/WhereExpression.cs index 42e413e7..b654a06e 100644 --- a/src/Chloe/Query/QueryExpressions/WhereExpression.cs +++ b/src/Chloe/Query/QueryExpressions/WhereExpression.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe.Query.QueryExpressions { diff --git a/src/Chloe/Query/QueryHelper.cs b/src/Chloe/Query/QueryHelper.cs index 2ae4552b..514d53e0 100644 --- a/src/Chloe/Query/QueryHelper.cs +++ b/src/Chloe/Query/QueryHelper.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe.Query { diff --git a/src/Chloe/Query/QueryState/IQueryState.cs b/src/Chloe/Query/QueryState/IQueryState.cs index a6e731de..b73dcc37 100644 --- a/src/Chloe/Query/QueryState/IQueryState.cs +++ b/src/Chloe/Query/QueryState/IQueryState.cs @@ -1,7 +1,6 @@ using Chloe.Query.Mapping; using Chloe.Query.QueryExpressions; using Chloe.Utility; -using System; using System.Linq.Expressions; namespace Chloe.Query.QueryState diff --git a/src/Chloe/Query/QueryState/LimitQueryState.cs b/src/Chloe/Query/QueryState/LimitQueryState.cs index 2ee6ca1c..7e8d21a1 100644 --- a/src/Chloe/Query/QueryState/LimitQueryState.cs +++ b/src/Chloe/Query/QueryState/LimitQueryState.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.Query.QueryExpressions; -using System; namespace Chloe.Query.QueryState { diff --git a/src/Chloe/Query/QueryState/QueryStateBase.cs b/src/Chloe/Query/QueryState/QueryStateBase.cs index f6b4a17b..4ae57ba4 100644 --- a/src/Chloe/Query/QueryState/QueryStateBase.cs +++ b/src/Chloe/Query/QueryState/QueryStateBase.cs @@ -3,8 +3,6 @@ using Chloe.Query.QueryExpressions; using Chloe.Query.Visitors; using Chloe.Utility; -using System; -using System.Collections.Generic; using System.Linq.Expressions; namespace Chloe.Query.QueryState diff --git a/src/Chloe/Query/QueryState/RootQueryState.cs b/src/Chloe/Query/QueryState/RootQueryState.cs index d580fe2a..884bfd6d 100644 --- a/src/Chloe/Query/QueryState/RootQueryState.cs +++ b/src/Chloe/Query/QueryState/RootQueryState.cs @@ -5,9 +5,6 @@ using Chloe.Query.QueryExpressions; using Chloe.Query.Visitors; using Chloe.Utility; -using System; -using System.Collections.Generic; -using System.Linq; using System.Linq.Expressions; namespace Chloe.Query.QueryState diff --git a/src/Chloe/Query/QueryState/SkipQueryState.cs b/src/Chloe/Query/QueryState/SkipQueryState.cs index a9e58d8c..03f0d05d 100644 --- a/src/Chloe/Query/QueryState/SkipQueryState.cs +++ b/src/Chloe/Query/QueryState/SkipQueryState.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.Query.QueryExpressions; -using System; namespace Chloe.Query.QueryState { diff --git a/src/Chloe/Query/QueryState/TakeQueryState.cs b/src/Chloe/Query/QueryState/TakeQueryState.cs index 5c5aeeac..bd1c9c8e 100644 --- a/src/Chloe/Query/QueryState/TakeQueryState.cs +++ b/src/Chloe/Query/QueryState/TakeQueryState.cs @@ -1,6 +1,5 @@ using Chloe.DbExpressions; using Chloe.Query.QueryExpressions; -using System; namespace Chloe.Query.QueryState { diff --git a/src/Chloe/Query/Query`.cs b/src/Chloe/Query/Query`.cs index ecdf17a2..26ad81a7 100644 --- a/src/Chloe/Query/Query`.cs +++ b/src/Chloe/Query/Query`.cs @@ -3,9 +3,6 @@ using Chloe.Query.Internals; using Chloe.Query.QueryExpressions; using Chloe.Reflection; -using System; -using System.Collections.Generic; -using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Threading.Tasks; diff --git a/src/Chloe/Query/ScopeParameterDictionary.cs b/src/Chloe/Query/ScopeParameterDictionary.cs index d2e8abf3..be4b63ce 100644 --- a/src/Chloe/Query/ScopeParameterDictionary.cs +++ b/src/Chloe/Query/ScopeParameterDictionary.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe.Query { diff --git a/src/Chloe/Query/Visitors/GeneralExpressionParser.cs b/src/Chloe/Query/Visitors/GeneralExpressionParser.cs index a300b734..1937df3e 100644 --- a/src/Chloe/Query/Visitors/GeneralExpressionParser.cs +++ b/src/Chloe/Query/Visitors/GeneralExpressionParser.cs @@ -5,9 +5,6 @@ using Chloe.Query.Mapping; using Chloe.Query.QueryState; using Chloe.Utility; -using System; -using System.Collections.Generic; -using System.Linq; using System.Linq.Expressions; using System.Reflection; diff --git a/src/Chloe/Query/Visitors/QueryExpressionResolver.cs b/src/Chloe/Query/Visitors/QueryExpressionResolver.cs index 2431bc6c..8f83ea79 100644 --- a/src/Chloe/Query/Visitors/QueryExpressionResolver.cs +++ b/src/Chloe/Query/Visitors/QueryExpressionResolver.cs @@ -2,7 +2,6 @@ using Chloe.Query.QueryExpressions; using Chloe.Query.QueryState; using Chloe.Utility; -using System.Collections.Generic; using System.Linq.Expressions; namespace Chloe.Query.Visitors diff --git a/src/Chloe/Query/Visitors/SelectorResolver.cs b/src/Chloe/Query/Visitors/SelectorResolver.cs index c0a2c0c4..74e2a153 100644 --- a/src/Chloe/Query/Visitors/SelectorResolver.cs +++ b/src/Chloe/Query/Visitors/SelectorResolver.cs @@ -5,7 +5,6 @@ using Chloe.Query.Visitors; using Chloe.Reflection; using Chloe.Utility; -using System; using System.Linq.Expressions; using System.Reflection; diff --git a/src/Chloe/RDBMS/ISqlBuilder.cs b/src/Chloe/RDBMS/ISqlBuilder.cs index c12b1f24..b05749aa 100644 --- a/src/Chloe/RDBMS/ISqlBuilder.cs +++ b/src/Chloe/RDBMS/ISqlBuilder.cs @@ -1,6 +1,4 @@ -using System.Text; - -namespace Chloe.RDBMS +namespace Chloe.RDBMS { public interface ISqlBuilder { diff --git a/src/Chloe/RDBMS/SqlGeneratorBase.cs b/src/Chloe/RDBMS/SqlGeneratorBase.cs index 5449c287..c2816267 100644 --- a/src/Chloe/RDBMS/SqlGeneratorBase.cs +++ b/src/Chloe/RDBMS/SqlGeneratorBase.cs @@ -1,7 +1,4 @@ using Chloe.DbExpressions; -using System; -using System.Collections.Generic; -using System.Text; namespace Chloe.RDBMS { diff --git a/src/Chloe/Reflection/DelegateFactory.cs b/src/Chloe/Reflection/DelegateFactory.cs index 0f3339c2..f75194a4 100644 --- a/src/Chloe/Reflection/DelegateFactory.cs +++ b/src/Chloe/Reflection/DelegateFactory.cs @@ -1,9 +1,4 @@ -using System.Reflection.Emit; -using System; -using System.Collections.Generic; -using System.Reflection; -using System.Text; -using System.Threading; +using System.Reflection; using Chloe.Reflection.Emit; namespace Chloe.Reflection diff --git a/src/Chloe/Reflection/Emit/ClassGenerator.cs b/src/Chloe/Reflection/Emit/ClassGenerator.cs index a5241be5..ab00eb4a 100644 --- a/src/Chloe/Reflection/Emit/ClassGenerator.cs +++ b/src/Chloe/Reflection/Emit/ClassGenerator.cs @@ -1,8 +1,5 @@ using Chloe.Data; using Chloe.Mapper; -using Chloe.Reflection; -using System; -using System.Collections.Generic; using System.Data; using System.Globalization; using System.Reflection; diff --git a/src/Chloe/Reflection/Emit/DelegateGenerator.cs b/src/Chloe/Reflection/Emit/DelegateGenerator.cs index 54044ddd..094279eb 100644 --- a/src/Chloe/Reflection/Emit/DelegateGenerator.cs +++ b/src/Chloe/Reflection/Emit/DelegateGenerator.cs @@ -1,7 +1,5 @@ using Chloe.Data; using Chloe.Extensions; -using System; -using System.Collections.Generic; using System.Data; using System.Linq.Expressions; using System.Reflection; diff --git a/src/Chloe/Reflection/Emit/EmitHelper.cs b/src/Chloe/Reflection/Emit/EmitHelper.cs index bb43b318..f7fe1540 100644 --- a/src/Chloe/Reflection/Emit/EmitHelper.cs +++ b/src/Chloe/Reflection/Emit/EmitHelper.cs @@ -1,5 +1,4 @@ -using System; -using System.Reflection; +using System.Reflection; using System.Reflection.Emit; namespace Chloe.Reflection.Emit diff --git a/src/Chloe/Reflection/InstanceCreatorContainer.cs b/src/Chloe/Reflection/InstanceCreatorContainer.cs index 26c2a4b1..48637251 100644 --- a/src/Chloe/Reflection/InstanceCreatorContainer.cs +++ b/src/Chloe/Reflection/InstanceCreatorContainer.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Reflection; -using System.Text; +using System.Reflection; namespace Chloe.Reflection { diff --git a/src/Chloe/Reflection/MemberMapper.cs b/src/Chloe/Reflection/MemberMapper.cs index ed0fe310..bf80038e 100644 --- a/src/Chloe/Reflection/MemberMapper.cs +++ b/src/Chloe/Reflection/MemberMapper.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Text; +using System.Data; namespace Chloe.Reflection { diff --git a/src/Chloe/Reflection/ReflectionExtension.cs b/src/Chloe/Reflection/ReflectionExtension.cs index e8ad6a04..4395c794 100644 --- a/src/Chloe/Reflection/ReflectionExtension.cs +++ b/src/Chloe/Reflection/ReflectionExtension.cs @@ -1,5 +1,4 @@ -using System; -using System.Reflection; +using System.Reflection; namespace Chloe.Reflection { diff --git a/src/Chloe/Sql.cs b/src/Chloe/Sql.cs index 23da6e39..f72f2f52 100644 --- a/src/Chloe/Sql.cs +++ b/src/Chloe/Sql.cs @@ -1,6 +1,4 @@ -using System; - -namespace Chloe +namespace Chloe { public class Sql { diff --git a/src/Chloe/Utility/PairList.cs b/src/Chloe/Utility/PairList.cs index 63e583f2..25aa2deb 100644 --- a/src/Chloe/Utility/PairList.cs +++ b/src/Chloe/Utility/PairList.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; - -namespace Chloe.Utility +namespace Chloe.Utility { public class PairList : List> { diff --git a/src/Chloe/Utility/PrimaryKeyHelper.cs b/src/Chloe/Utility/PrimaryKeyHelper.cs index 1656ace4..cfde63ac 100644 --- a/src/Chloe/Utility/PrimaryKeyHelper.cs +++ b/src/Chloe/Utility/PrimaryKeyHelper.cs @@ -2,9 +2,6 @@ using Chloe.Extensions; using Chloe.Infrastructure; using Chloe.Reflection; -using System; -using System.Collections.Generic; -using System.Linq; using System.Linq.Expressions; using System.Reflection; diff --git a/src/Chloe/Utility/PublicConstants.cs b/src/Chloe/Utility/PublicConstants.cs index e1e2a7e7..68d5468b 100644 --- a/src/Chloe/Utility/PublicConstants.cs +++ b/src/Chloe/Utility/PublicConstants.cs @@ -1,7 +1,4 @@ using Chloe.DbExpressions; -using System; -using System.Collections.Generic; -using System.Linq; using System.Linq.Expressions; using System.Reflection; diff --git a/src/Chloe/Utility/PublicHelper.cs b/src/Chloe/Utility/PublicHelper.cs index 312b1db2..271d30b0 100644 --- a/src/Chloe/Utility/PublicHelper.cs +++ b/src/Chloe/Utility/PublicHelper.cs @@ -5,9 +5,6 @@ using Chloe.InternalExtensions; using Chloe.Reflection; using Chloe.Utility; -using System; -using System.Collections.Generic; -using System.Linq; using System.Reflection; namespace Chloe diff --git a/src/Chloe/Utility/StringSet.cs b/src/Chloe/Utility/StringSet.cs index 02c0128d..7ad2949f 100644 --- a/src/Chloe/Utility/StringSet.cs +++ b/src/Chloe/Utility/StringSet.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace Chloe.Utility +namespace Chloe.Utility { public class StringSet : HashSet { diff --git a/src/Chloe/Utility/UtilConstants.cs b/src/Chloe/Utility/UtilConstants.cs index 01a949a4..bf9d82cd 100644 --- a/src/Chloe/Utility/UtilConstants.cs +++ b/src/Chloe/Utility/UtilConstants.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Chloe { diff --git a/src/Chloe/Utility/Utils.cs b/src/Chloe/Utility/Utils.cs index 280c8cda..057e958a 100644 --- a/src/Chloe/Utility/Utils.cs +++ b/src/Chloe/Utility/Utils.cs @@ -1,6 +1,4 @@ using Chloe.DbExpressions; -using System; -using System.Linq; namespace Chloe { diff --git a/src/tools/Chloe.MySql.nuspec b/src/tools/Chloe.MySql.nuspec index 35f66d95..79dd2c34 100644 --- a/src/tools/Chloe.MySql.nuspec +++ b/src/tools/Chloe.MySql.nuspec @@ -2,7 +2,7 @@ Chloe.MySql - 4.18.0 + 4.19.0 Chloe.MySql Shuxin Qin Shuxin Qin @@ -18,15 +18,15 @@ A lightweight and high-performance Object/Relational Mapping(ORM) library. - + - + - + diff --git a/src/tools/Chloe.Oracle.nuspec b/src/tools/Chloe.Oracle.nuspec index eafa4da0..98ee5eab 100644 --- a/src/tools/Chloe.Oracle.nuspec +++ b/src/tools/Chloe.Oracle.nuspec @@ -2,7 +2,7 @@ Chloe.Oracle - 4.18.0 + 4.19.0 Chloe.Oracle Shuxin Qin Shuxin Qin @@ -18,15 +18,15 @@ A lightweight and high-performance Object/Relational Mapping(ORM) library. - + - + - + diff --git a/src/tools/Chloe.PostgreSQL.nuspec b/src/tools/Chloe.PostgreSQL.nuspec index 79505160..73f15be1 100644 --- a/src/tools/Chloe.PostgreSQL.nuspec +++ b/src/tools/Chloe.PostgreSQL.nuspec @@ -2,7 +2,7 @@ Chloe.PostgreSQL - 4.18.0 + 4.19.0 Chloe.PostgreSQL Shuxin Qin Shuxin Qin @@ -18,15 +18,15 @@ A lightweight and high-performance Object/Relational Mapping(ORM) library. - + - + - + diff --git a/src/tools/Chloe.SQLite.nuspec b/src/tools/Chloe.SQLite.nuspec index 1274ed60..51bfb953 100644 --- a/src/tools/Chloe.SQLite.nuspec +++ b/src/tools/Chloe.SQLite.nuspec @@ -2,7 +2,7 @@ Chloe.SQLite - 4.18.0 + 4.19.0 Chloe.SQLite Shuxin Qin Shuxin Qin @@ -18,15 +18,15 @@ A lightweight and high-performance Object/Relational Mapping(ORM) library. - + - + - + diff --git a/src/tools/Chloe.SqlServer.nuspec b/src/tools/Chloe.SqlServer.nuspec index d55dbfbe..10e9dba5 100644 --- a/src/tools/Chloe.SqlServer.nuspec +++ b/src/tools/Chloe.SqlServer.nuspec @@ -2,7 +2,7 @@ Chloe.SqlServer - 4.18.0 + 4.19.0 Chloe.SqlServer Shuxin Qin Shuxin Qin @@ -18,16 +18,16 @@ A lightweight and high-performance Object/Relational Mapping(ORM) library. - + - + - + diff --git a/src/tools/Chloe.nuspec b/src/tools/Chloe.nuspec index bd21e404..e6327bbd 100644 --- a/src/tools/Chloe.nuspec +++ b/src/tools/Chloe.nuspec @@ -2,7 +2,7 @@ Chloe - 4.18.0 + 4.19.0 Chloe Shuxin Qin Shuxin Qin