├── .github ├── FUNDING.yml └── ISSUE_TEMPLATE.md ├── .gitignore ├── LICENSE ├── Main ├── Build │ ├── Build.cmd │ ├── Build.targets │ ├── BuildAndTest.cmd │ ├── BuildSigned.cmd │ ├── Effort 1.3.3.nupkg │ ├── Effort.EF6 1.3.3.nupkg │ ├── Effort.EF6.nuspec │ ├── Effort.nuspec │ ├── PublicKey.snk │ └── PushNuget.cmd └── Source │ ├── .nuget │ ├── NuGet.Config │ ├── NuGet.exe │ ├── NuGet.targets │ └── packages.config │ ├── AssemblySigning.targets │ ├── BuildConfigurations.targets │ ├── Effort.EF6.Net40 │ ├── Effort.EF6.Net40.csproj │ ├── KeyPair.snk │ ├── Properties │ │ └── AssemblyInfo.cs │ └── packages.config │ ├── Effort.EF6.Net45 │ ├── Effort.EF6.Net45.csproj │ ├── KeyPair.snk │ ├── Properties │ │ └── AssemblyInfo.cs │ └── packages.config │ ├── Effort.EF6.NetStandard21 │ ├── Effort.EF6.NetStandard21.csproj │ └── KeyPair.snk │ ├── Effort.Lab.EF6.Net40 │ ├── App.config │ ├── Effort.Lab.EF6.Net40.csproj │ ├── Form_Issue_Restore.Designer.cs │ ├── Form_Issue_Restore.cs │ ├── Program.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── packages.config │ ├── Effort.Net40 │ ├── Effort.Net40.csproj │ ├── Key.snk │ └── Properties │ │ └── AssemblyInfo.cs │ ├── Effort.Net45 │ ├── Effort.Net45.csproj │ ├── Key.snk │ └── Properties │ │ └── AssemblyInfo.cs │ ├── Effort.Shared │ ├── DataLoaders │ │ ├── CachingDataLoader.cs │ │ ├── CachingTableDataLoader.cs │ │ ├── CachingTableDataLoaderFactory.cs │ │ ├── CachingTableDataLoaderStoreProxy.cs │ │ ├── ColumnDescription.cs │ │ ├── CsvDataLoader.cs │ │ ├── CsvTableDataLoader.cs │ │ ├── CsvTableDataLoaderFactory.cs │ │ ├── CsvValueConverter.cs │ │ ├── DataLoaderConfigurationLatchProxy.cs │ │ ├── EmptyDataLoader.cs │ │ ├── EmptyTableDataLoader.cs │ │ ├── EmptyTableDataLoaderFactory.cs │ │ ├── EntityDataLoader.cs │ │ ├── EntityTableDataLoader.cs │ │ ├── EntityTableDataLoaderFactory.cs │ │ ├── FileSource.cs │ │ ├── ICachingTableDataLoaderStore.cs │ │ ├── IDataLoader.cs │ │ ├── IDataLoaderConfigurationLatch.cs │ │ ├── IFileReference.cs │ │ ├── ITableDataLoader.cs │ │ ├── ITableDataLoaderFactory.cs │ │ ├── IValueConverter.cs │ │ ├── Internal │ │ │ ├── FileSystemFileProvider.cs │ │ │ ├── FileSystemFileReference.cs │ │ │ ├── IFileProvider.cs │ │ │ ├── InvalidFileProvider.cs │ │ │ ├── ResourceFileProvider.cs │ │ │ └── ResourceFileReference.cs │ │ ├── ObjectDataLoader │ │ │ ├── ObjectData.cs │ │ │ ├── ObjectDataLoader.cs │ │ │ ├── ObjectDataLoaderFactory.cs │ │ │ ├── ObjectDataTable`1.cs │ │ │ └── ObjectTableDataLoader`1.cs │ │ ├── ObjectLoader.cs │ │ ├── TableDataLoaderBase.cs │ │ └── TableDescription.cs │ ├── DbConnectionFactory.cs │ ├── Effort.Shared.projitems │ ├── Effort.Shared.shproj │ ├── EffortProviderManifest.xml │ ├── EntityConnectionFactory.cs │ ├── EntityFrameworkEffortManager.cs │ ├── Exceptions │ │ ├── EffortException.cs │ │ └── ExceptionMessages.cs │ ├── Internal │ │ ├── Caching │ │ │ ├── CachingTableDataLoaderKey.cs │ │ │ ├── CachingTableDataLoaderStore.cs │ │ │ ├── ConcurrentCache`2.cs │ │ │ ├── DataLoaderConfigurationKey.cs │ │ │ ├── DataLoaderConfigurationLatch.cs │ │ │ ├── DataLoaderConfigurationLatchStore.cs │ │ │ ├── DbContainerStore.cs │ │ │ ├── DbSchemaKey.cs │ │ │ ├── DbSchemaStore.cs │ │ │ ├── MetadataWorkspaceStore.cs │ │ │ ├── ObjectContextTypeKey.cs │ │ │ └── ObjectContextTypeStore.cs │ │ ├── CommandActions │ │ │ ├── ActionContext.cs │ │ │ ├── CommandActionFactory.cs │ │ │ ├── CommandActionParameter.cs │ │ │ ├── DbCommandActionHelper.cs │ │ │ ├── DeleteCommandAction.cs │ │ │ ├── ICommandAction.cs │ │ │ ├── InsertCommandAction.cs │ │ │ ├── QueryCommandAction.cs │ │ │ └── UpdateCommandAction.cs │ │ ├── Common │ │ │ ├── CommandTreeBuilder.cs │ │ │ ├── DatabaseReflectionHelper.cs │ │ │ ├── EdmHelper.cs │ │ │ ├── EmitHelper.cs │ │ │ ├── ExpressionHelper.cs │ │ │ ├── FastLazy`1.cs │ │ │ ├── FieldDescription.cs │ │ │ ├── MetadataWorkspaceHelper.cs │ │ │ ├── ProviderHelper.cs │ │ │ ├── ReflectionHelper.cs │ │ │ ├── TupleTypeHelper.cs │ │ │ ├── TypeHelper.cs │ │ │ ├── TypeUsageHelper.cs │ │ │ └── XmlProcessing │ │ │ │ ├── AggregatedElementModifier.cs │ │ │ │ ├── ComposedElementModifier.cs │ │ │ │ ├── IAttributeModifier.cs │ │ │ │ ├── IElementAttributeSelector.cs │ │ │ │ ├── IElementModifier.cs │ │ │ │ ├── IElementSelector.cs │ │ │ │ ├── IElementVisitor`1.cs │ │ │ │ ├── IModificationContext.cs │ │ │ │ ├── ModificationContext.cs │ │ │ │ └── SelfElementSelector.cs │ │ ├── Csv │ │ │ ├── CsvReader.DataReaderValidations.cs │ │ │ ├── CsvReader.RecordEnumerator.cs │ │ │ ├── CsvReader.cs │ │ │ ├── ExceptionMessages.Designer.cs │ │ │ ├── ExceptionMessages.resx │ │ │ ├── FieldValue.cs │ │ │ ├── MalformedCsvException.cs │ │ │ ├── MissingFieldAction.cs │ │ │ ├── MissingFieldCsvException.cs │ │ │ ├── ParseErrorAction.cs │ │ │ ├── ParseErrorEventArgs.cs │ │ │ ├── ValueTrimmingOptions.cs │ │ │ └── license.txt │ │ ├── DbCommandTreeTransformation │ │ │ ├── CanonicalFunctions.cs │ │ │ ├── DbFunctions.cs │ │ │ ├── EntitySetSearchVisitor.cs │ │ │ ├── Functions │ │ │ │ ├── DateTimeFunctions.cs │ │ │ │ ├── DateTimeOffsetFunctions.cs │ │ │ │ ├── DecimalFunctions.cs │ │ │ │ ├── DoubleFunctions.cs │ │ │ │ ├── GuidFunctions.cs │ │ │ │ ├── IntegerFunctions.cs │ │ │ │ ├── StringFunctions.cs │ │ │ │ └── TimeFunctions.cs │ │ │ ├── IDbMethodProvider.cs │ │ │ ├── ITableProvider.cs │ │ │ ├── LinqMethodExpressionBuilder.cs │ │ │ ├── LinqMethodProvider.cs │ │ │ ├── MethodInfoGroup.cs │ │ │ ├── NullableEnumerableExtensionMethods.cs │ │ │ ├── SingleResult.cs │ │ │ ├── TransformVisitor.And.cs │ │ │ ├── TransformVisitor.Apply.cs │ │ │ ├── TransformVisitor.Arithmetic.cs │ │ │ ├── TransformVisitor.Case.cs │ │ │ ├── TransformVisitor.Cast.cs │ │ │ ├── TransformVisitor.Comparison.cs │ │ │ ├── TransformVisitor.Constant.cs │ │ │ ├── TransformVisitor.CrossJoin.cs │ │ │ ├── TransformVisitor.Deref.cs │ │ │ ├── TransformVisitor.Distinct.cs │ │ │ ├── TransformVisitor.Element.cs │ │ │ ├── TransformVisitor.EntityRef.cs │ │ │ ├── TransformVisitor.Except.cs │ │ │ ├── TransformVisitor.Filter.cs │ │ │ ├── TransformVisitor.Function.cs │ │ │ ├── TransformVisitor.GroupBy.cs │ │ │ ├── TransformVisitor.In.cs │ │ │ ├── TransformVisitor.Intersect.cs │ │ │ ├── TransformVisitor.IsEmpty.cs │ │ │ ├── TransformVisitor.IsNull.cs │ │ │ ├── TransformVisitor.IsOf.cs │ │ │ ├── TransformVisitor.Join.cs │ │ │ ├── TransformVisitor.Like.cs │ │ │ ├── TransformVisitor.Limit.cs │ │ │ ├── TransformVisitor.NewInstance.cs │ │ │ ├── TransformVisitor.Not.cs │ │ │ ├── TransformVisitor.Null.cs │ │ │ ├── TransformVisitor.OfType.cs │ │ │ ├── TransformVisitor.Or.cs │ │ │ ├── TransformVisitor.ParameterReference.cs │ │ │ ├── TransformVisitor.Project.cs │ │ │ ├── TransformVisitor.Property.cs │ │ │ ├── TransformVisitor.Quantifier.cs │ │ │ ├── TransformVisitor.Ref.cs │ │ │ ├── TransformVisitor.RefKey.cs │ │ │ ├── TransformVisitor.RelationshipNavigation.cs │ │ │ ├── TransformVisitor.Scan.cs │ │ │ ├── TransformVisitor.Skip.cs │ │ │ ├── TransformVisitor.Sort.cs │ │ │ ├── TransformVisitor.Treat.cs │ │ │ ├── TransformVisitor.UnionAll.cs │ │ │ ├── TransformVisitor.VariableReference.cs │ │ │ ├── TransformVisitor.cs │ │ │ ├── TraversalVisitor.cs │ │ │ ├── Variable.cs │ │ │ ├── VariableCollection.cs │ │ │ └── VariableHandler.cs │ │ ├── DbManagement │ │ │ ├── CanonicalContainer.cs │ │ │ ├── DbContainer.cs │ │ │ ├── DbContainerManagerWrapper.cs │ │ │ ├── DbContainerParameters.cs │ │ │ ├── DbExtensions.cs │ │ │ ├── DbMethodProvider.cs │ │ │ ├── Engine │ │ │ │ ├── DatabaseComponentFactory.cs │ │ │ │ ├── ExtendedQueryCompiler.cs │ │ │ │ ├── ExtendedServiceProvider.cs │ │ │ │ ├── ExtendedTable`2.cs │ │ │ │ ├── IExtendedTable.cs │ │ │ │ ├── IExtendedTable`1.cs │ │ │ │ ├── Rewriters │ │ │ │ │ ├── ExcrescentInitializationCleanserVisitor.cs │ │ │ │ │ ├── ExcrescentSingleResultCleanserVisitor.cs │ │ │ │ │ └── SumTransformerVisitor.cs │ │ │ │ └── Services │ │ │ │ │ ├── DataRowKeyInfo.cs │ │ │ │ │ ├── DataRowKeyInfoHelper.cs │ │ │ │ │ ├── DataRowKeyInfoService.cs │ │ │ │ │ ├── ExtendedKeyInfoFactory.cs │ │ │ │ │ └── ExtendedTableService.cs │ │ │ └── Schema │ │ │ │ ├── BareSchemaBase.cs │ │ │ │ ├── Configuration │ │ │ │ ├── AssociationInfo.cs │ │ │ │ ├── AssociationTableInfo.cs │ │ │ │ ├── BareSchemaConfiguration.cs │ │ │ │ ├── CharLimitConfiguration.cs │ │ │ │ ├── EntityInfo.cs │ │ │ │ ├── EntityPropertyInfo.cs │ │ │ │ ├── GeneratedGuidConfiguration.cs │ │ │ │ ├── IRelationConfiguration.cs │ │ │ │ ├── ITableConfiguration.cs │ │ │ │ ├── IdentityConfiguration.cs │ │ │ │ ├── IndexConfiguration.cs │ │ │ │ ├── IndexInfo.cs │ │ │ │ ├── NotNullConfiguration.cs │ │ │ │ ├── PrimaryKeyConfiguration.cs │ │ │ │ ├── RelationConfiguration.cs │ │ │ │ ├── RelationConfigurationGroup.cs │ │ │ │ ├── TableConfigurationGroup.cs │ │ │ │ └── VarcharLimitConfiguration.cs │ │ │ │ ├── Constraints │ │ │ │ ├── CharLimitConstraintFactory`1.cs │ │ │ │ ├── ConstraintFactories.cs │ │ │ │ ├── ConstraintFactoryBase`2.cs │ │ │ │ ├── GeneratedGuidConstraintFactory`1.cs │ │ │ │ ├── NotNullableConstraintFactory`2.cs │ │ │ │ └── VarCharLimitConstraintFactory`1.cs │ │ │ │ ├── DbRelationInfo.cs │ │ │ │ ├── DbSchema.cs │ │ │ │ ├── DbSchemaBuilder.cs │ │ │ │ ├── DbSchemaFactory.cs │ │ │ │ ├── DbTableInfo.cs │ │ │ │ ├── DbTableInfoBuilder.cs │ │ │ │ ├── DynamicBareSchema.cs │ │ │ │ ├── IBareSchema.cs │ │ │ │ ├── KeyInfoHelper.cs │ │ │ │ └── TableName.cs │ │ ├── Diagnostics │ │ │ ├── ILogger.cs │ │ │ └── Logger.cs │ │ ├── Extensions │ │ │ └── Database.GetEntityConnection.cs │ │ ├── Helper │ │ │ └── CreateEntityHelper.cs │ │ ├── StorageSchema │ │ │ ├── CommonPropertyElementModifier.cs │ │ │ ├── EffortProviderInformation.cs │ │ │ ├── EntityTypePropertyElementSelector.cs │ │ │ ├── FunctionElementSelector.cs │ │ │ ├── FunctionParameterElementSelector.cs │ │ │ ├── FunctionReturnRowTypePropertyElementSelector.cs │ │ │ ├── FunctionTypeAttributeModifier.cs │ │ │ ├── IProviderInformation.cs │ │ │ ├── ModificationContextHelper.cs │ │ │ ├── ModificationFunctionMappingModifier.cs │ │ │ ├── PropertyTypeAttributeModifier.cs │ │ │ ├── ProviderAttributeModifier.cs │ │ │ ├── ProviderAttributeSelector.cs │ │ │ ├── ProviderInformation.cs │ │ │ ├── ProviderManifestTokenAttributeModifier.cs │ │ │ ├── ProviderManifestTokenAttributeSelector.cs │ │ │ ├── ProviderParser.cs │ │ │ ├── ReturnTypeAttributeSelector.cs │ │ │ ├── StorageSchemaContentNameProvider.cs │ │ │ ├── StorageSchemaNamespaces.cs │ │ │ ├── StorageSchemaV1Modifier.cs │ │ │ ├── StorageSchemaV2Modifier.cs │ │ │ ├── StorageSchemaV3Modifier.cs │ │ │ ├── StorageTypeConverter.cs │ │ │ ├── TypeAttributeSelector.cs │ │ │ └── UniversalStorageSchemaModifier.cs │ │ ├── TypeConversion │ │ │ ├── DefaultTypeConverter.cs │ │ │ ├── EdmTypeConverter.cs │ │ │ ├── FacetInformation.cs │ │ │ ├── ITypeConverter.cs │ │ │ └── ImmutableDataRecord.cs │ │ └── TypeGeneration │ │ │ ├── DataRow.cs │ │ │ ├── DataRowFactory.cs │ │ │ ├── DataRowPropertyAttribute.cs │ │ │ └── LargeDataRowAttribute.cs │ ├── ObjectContextFactory.cs │ └── Provider │ │ ├── EffortCommand.cs │ │ ├── EffortCommandBase.cs │ │ ├── EffortCommandDefinition.cs │ │ ├── EffortConnection.cs │ │ ├── EffortConnectionStringBuilder.cs │ │ ├── EffortDataReader.cs │ │ ├── EffortEntityCommand.cs │ │ ├── EffortParameter.cs │ │ ├── EffortParameterCollection.cs │ │ ├── EffortProviderConfiguration.cs │ │ ├── EffortProviderFactory.cs │ │ ├── EffortProviderInvariantName.cs │ │ ├── EffortProviderManifest.cs │ │ ├── EffortProviderManifestTokens.cs │ │ ├── EffortProviderServices.cs │ │ ├── EffortRestorePoint.cs │ │ ├── EffortTransaction.cs │ │ ├── EffortVersion.cs │ │ └── IDbManager.cs │ ├── Effort.Tools.sln │ ├── Effort.sln │ ├── NugetPackages.targets │ ├── Z.EntityFramework.Classic.Effort.Net40 │ ├── App.config │ ├── Key.snk │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Z.EntityFramework.Classic.Effort.Net40.csproj │ └── packages.config │ ├── Z.EntityFramework.Classic.Effort.Net45 │ ├── App.config │ ├── Key.snk │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Z.EntityFramework.Classic.Effort.Net45.csproj │ └── packages.config │ ├── Z.EntityFramework.Classic.Effort.NetStandard20 │ ├── Key.snk │ └── Z.EntityFramework.Classic.Effort.NetStandard20.csproj │ ├── lab │ ├── Effort.Lab.EF6 │ │ ├── App.config │ │ ├── Effort.Lab.EF6.csproj │ │ ├── Form1.Designer.cs │ │ ├── Form1.cs │ │ ├── Form_General_Jon.Designer.cs │ │ ├── Form_General_Jon.cs │ │ ├── Form_General_Mik.Designer.cs │ │ ├── Form_General_Mik.cs │ │ ├── Form_Issue_DbComparisonExpressionTime.Designer.cs │ │ ├── Form_Issue_DbComparisonExpressionTime.cs │ │ ├── Form_Issue_Restore.Designer.cs │ │ ├── Form_Issue_Restore.cs │ │ ├── Form_NotMapped.Designer.cs │ │ ├── Form_NotMapped.cs │ │ ├── Form_Request_CacheDataLoader.Designer.cs │ │ ├── Form_Request_CacheDataLoader.cs │ │ ├── Form_Request_CaseSensitive.Designer.cs │ │ ├── Form_Request_CaseSensitive.cs │ │ ├── Form_Request_DbConnectionFactory.Designer.cs │ │ ├── Form_Request_DbConnectionFactory.cs │ │ ├── Form_Request_EffortExtra.Designer.cs │ │ ├── Form_Request_EffortExtra.cs │ │ ├── Form_Request_GuidSetIdentityFields.Designer.cs │ │ ├── Form_Request_GuidSetIdentityFields.cs │ │ ├── Form_Request_Identity.Designer.cs │ │ ├── Form_Request_Identity.cs │ │ ├── Form_Request_LazyLoading.Designer.cs │ │ ├── Form_Request_LazyLoading.cs │ │ ├── Form_Request_ObjectContextFactory.Designer.cs │ │ ├── Form_Request_ObjectContextFactory.cs │ │ ├── Form_Request_SetIdentity.Designer.cs │ │ ├── Form_Request_SetIdentity.cs │ │ ├── Form_Request_SqlFunctions.Designer.cs │ │ ├── Form_Request_SqlFunctions.cs │ │ ├── Form_Request_TimeoutIssue.Designer.cs │ │ ├── Form_Request_TimeoutIssue.cs │ │ ├── Form_Request_TransactionAuxiliary.Designer.cs │ │ ├── Form_Request_TransactionAuxiliary.cs │ │ ├── Form_Request_TransactionIssue.Designer.cs │ │ ├── Form_Request_TransactionIssue.cs │ │ ├── Form_Test_EFE.Designer.cs │ │ ├── Form_Test_EFE.cs │ │ ├── My.cs │ │ ├── Program.cs │ │ ├── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ ├── Request_OrderBy.cs │ │ ├── Request_StringIndex.cs │ │ ├── Request_TimeOut.cs │ │ ├── __Form_Template.Designer.cs │ │ ├── __Form_Template.cs │ │ ├── packages.config │ │ ├── test.xml │ │ ├── test_dataAnoatation.cs │ │ └── test_dataAnoatationAfterChange.cs │ ├── Z.Lab.EFClassic │ │ ├── App.config │ │ ├── Form1.Designer.cs │ │ ├── Form1.cs │ │ ├── Form_Request_Register.Designer.cs │ │ ├── Form_Request_Register.cs │ │ ├── Program.cs │ │ ├── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ ├── Z.Lab.EFClassic.csproj │ │ └── packages.config │ └── Z.Lab.NamingIssue │ │ ├── App.config │ │ ├── Form1.Designer.cs │ │ ├── Form1.cs │ │ ├── Lib │ │ ├── v1.x │ │ │ └── Effort.dll │ │ └── v2.x │ │ │ └── Effort.dll │ │ ├── Program.cs │ │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings │ │ ├── Z.Lab.NamingIssue.csproj │ │ └── packages.config │ ├── misc │ ├── Backup │ │ ├── App.Config │ │ ├── Csv │ │ │ ├── CsvReaderFixture.cs │ │ │ └── FieldValueFixture.cs │ │ ├── DataLoaders │ │ │ ├── CachingDataLoaderFixture.cs │ │ │ ├── CsvDataLoaderFixture.cs │ │ │ ├── EntityDataLoaderFixture.cs │ │ │ └── FileProviderFixture.cs │ │ ├── DataReaderInspectorFixture.cs │ │ ├── DatabaseEngine │ │ │ └── DataRowFactoryFixture.cs │ │ ├── DbContextFixture.cs │ │ ├── DbManagerFixture.cs │ │ ├── Effort.Test.csproj │ │ ├── EffortConnectionFixture.cs │ │ ├── EffortConnectionStringBuilderFixture.cs │ │ ├── Factories │ │ │ ├── DbConnectionFactoryFixture.cs │ │ │ ├── EntityConnectionFactoryFixture.cs │ │ │ └── ObjectContextFactoryFixture.cs │ │ ├── Features │ │ │ ├── AggregationFixture.cs │ │ │ ├── AssociationFixture.cs │ │ │ ├── BasicFixture.cs │ │ │ ├── BinaryFixture.cs │ │ │ ├── BinaryKeyFixture.cs │ │ │ ├── CanonicalFunctions │ │ │ │ ├── BitwiseFunctionsFixture.cs │ │ │ │ ├── DateTimeFunctionsFixture.cs │ │ │ │ ├── DateTimeOffsetFunctionsFixture.cs │ │ │ │ ├── GuidFunctionsFixture.cs │ │ │ │ ├── MathFunctionsFixture.cs │ │ │ │ ├── StringFunctionsFixture.cs │ │ │ │ └── TimeFunctionsFixture.cs │ │ │ ├── ComplexQueryFixture.cs │ │ │ ├── CountFixture.cs │ │ │ ├── DateFieldFixture.cs │ │ │ ├── DecimalIdentityFieldFixture.cs │ │ │ ├── EnumFieldFixture.cs │ │ │ ├── ExpressionFixture.cs │ │ │ ├── FlagEnumFieldFixture.cs │ │ │ ├── GuidKeyFixture.cs │ │ │ ├── IncludeFixture.cs │ │ │ ├── IndexedFieldFixture.cs │ │ │ ├── JoinFixture.cs │ │ │ ├── KeyFixture.cs │ │ │ ├── LargeStringFieldFixture.cs │ │ │ ├── ManipulationFixture.cs │ │ │ ├── MiscellaneousQueryFixture.cs │ │ │ ├── RelationFixture.cs │ │ │ ├── RequiredFieldFixture.cs │ │ │ ├── StringConversionFixture.cs │ │ │ ├── StringFieldFixture.cs │ │ │ ├── StringParseFixture.cs │ │ │ ├── TimestampFixture.cs │ │ │ ├── TimestampIndexFixture.cs │ │ │ └── TransactionFixture.cs │ │ ├── Internal │ │ │ ├── DataReaderInspector │ │ │ │ ├── DataReaderInspectorCommand.cs │ │ │ │ ├── DataReaderInspectorConnection.cs │ │ │ │ ├── DataReaderInspectorDataReader.cs │ │ │ │ ├── DataReaderInspectorInvariantName.cs │ │ │ │ ├── DataReaderInspectorProviderConfiguration.cs │ │ │ │ ├── DataReaderInspectorProviderFactory.cs │ │ │ │ └── DataReaderInspectorProviderServices.cs │ │ │ ├── EntityConnectionHelper.cs │ │ │ ├── ExceptionHelper.cs │ │ │ ├── Fakes │ │ │ │ ├── DataLoaderConfigurationLatchMock.cs │ │ │ │ ├── EffortConnectionMock.cs │ │ │ │ ├── FakeCachingTableDataLoaderStoreProxy.cs │ │ │ │ ├── FakeDataLoader.cs │ │ │ │ ├── FakeTableDataLoader.cs │ │ │ │ └── ResultSetComposerMock.cs │ │ │ ├── PlatformDetector.cs │ │ │ ├── Queries │ │ │ │ ├── Correctness.cs │ │ │ │ ├── ICorrectness.cs │ │ │ │ ├── IQueryTester`1.cs │ │ │ │ ├── NorthwindQueryTester.cs │ │ │ │ ├── QueryTesterExtensions.cs │ │ │ │ ├── QueryTester`1.cs │ │ │ │ └── ResultSetExtensions.cs │ │ │ ├── Resources │ │ │ │ ├── EmptyResource.txt │ │ │ │ └── Foo.csv │ │ │ ├── ResultSets │ │ │ │ ├── DictionaryResultSet.cs │ │ │ │ ├── DictionaryResultSetComposer.cs │ │ │ │ ├── DictionaryResultSetElement.cs │ │ │ │ ├── IResultSet.cs │ │ │ │ ├── IResultSetComposer.cs │ │ │ │ ├── IResultSetElement.cs │ │ │ │ ├── JsonResultSet.cs │ │ │ │ ├── OrderedResultSetComparer.cs │ │ │ │ ├── ResultSetComparer.cs │ │ │ │ └── ResultSetJsonSerializer.cs │ │ │ └── WrapperProviders │ │ │ │ ├── DbCommandDefinitionWrapper.cs │ │ │ │ ├── DbCommandWrapper.cs │ │ │ │ ├── DbConnectionWrapper.cs │ │ │ │ ├── DbProviderFactoryBase.cs │ │ │ │ ├── DbProviderManifestWrapper.cs │ │ │ │ ├── DbProviderServicesBase.cs │ │ │ │ ├── DbTransactionWrapper.cs │ │ │ │ └── EntityConnectionWrapperUtils.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── ResultSetFixture.cs │ │ ├── Schema │ │ │ ├── DbSchemaFixture.cs │ │ │ ├── Resources │ │ │ │ ├── DbSchema │ │ │ │ │ └── CompoundKey.xml │ │ │ │ └── StorageSchemaModifier │ │ │ │ │ ├── SSDLv1.net40.xml │ │ │ │ │ ├── SSDLv1.net45.xml │ │ │ │ │ ├── SSDLv2.net40.xml │ │ │ │ │ ├── SSDLv2.net45.xml │ │ │ │ │ └── SSDLv3.xml │ │ │ └── StorageSchemaModifierFixture.cs │ │ ├── TestInitialization.cs │ │ └── packages.config │ ├── Backup1 │ │ ├── App.Config │ │ ├── Csv │ │ │ ├── CsvReaderFixture.cs │ │ │ └── FieldValueFixture.cs │ │ ├── DataLoaders │ │ │ ├── CachingDataLoaderFixture.cs │ │ │ ├── CsvDataLoaderFixture.cs │ │ │ ├── EntityDataLoaderFixture.cs │ │ │ └── FileProviderFixture.cs │ │ ├── DataReaderInspectorFixture.cs │ │ ├── DatabaseEngine │ │ │ └── DataRowFactoryFixture.cs │ │ ├── DbContextFixture.cs │ │ ├── DbManagerFixture.cs │ │ ├── Effort.Test.csproj │ │ ├── EffortConnectionFixture.cs │ │ ├── EffortConnectionStringBuilderFixture.cs │ │ ├── Factories │ │ │ ├── DbConnectionFactoryFixture.cs │ │ │ ├── EntityConnectionFactoryFixture.cs │ │ │ └── ObjectContextFactoryFixture.cs │ │ ├── Features │ │ │ ├── AggregationFixture.cs │ │ │ ├── AssociationFixture.cs │ │ │ ├── BasicFixture.cs │ │ │ ├── BinaryFixture.cs │ │ │ ├── BinaryKeyFixture.cs │ │ │ ├── CanonicalFunctions │ │ │ │ ├── BitwiseFunctionsFixture.cs │ │ │ │ ├── DateTimeFunctionsFixture.cs │ │ │ │ ├── DateTimeOffsetFunctionsFixture.cs │ │ │ │ ├── GuidFunctionsFixture.cs │ │ │ │ ├── MathFunctionsFixture.cs │ │ │ │ ├── StringFunctionsFixture.cs │ │ │ │ └── TimeFunctionsFixture.cs │ │ │ ├── ComplexQueryFixture.cs │ │ │ ├── CountFixture.cs │ │ │ ├── DateFieldFixture.cs │ │ │ ├── DecimalIdentityFieldFixture.cs │ │ │ ├── EnumFieldFixture.cs │ │ │ ├── ExpressionFixture.cs │ │ │ ├── FlagEnumFieldFixture.cs │ │ │ ├── GuidKeyFixture.cs │ │ │ ├── IncludeFixture.cs │ │ │ ├── IndexedFieldFixture.cs │ │ │ ├── JoinFixture.cs │ │ │ ├── KeyFixture.cs │ │ │ ├── LargeStringFieldFixture.cs │ │ │ ├── ManipulationFixture.cs │ │ │ ├── MiscellaneousQueryFixture.cs │ │ │ ├── RelationFixture.cs │ │ │ ├── RequiredFieldFixture.cs │ │ │ ├── StringConversionFixture.cs │ │ │ ├── StringFieldFixture.cs │ │ │ ├── StringParseFixture.cs │ │ │ ├── TimestampFixture.cs │ │ │ ├── TimestampIndexFixture.cs │ │ │ └── TransactionFixture.cs │ │ ├── Internal │ │ │ ├── DataReaderInspector │ │ │ │ ├── DataReaderInspectorCommand.cs │ │ │ │ ├── DataReaderInspectorConnection.cs │ │ │ │ ├── DataReaderInspectorDataReader.cs │ │ │ │ ├── DataReaderInspectorInvariantName.cs │ │ │ │ ├── DataReaderInspectorProviderConfiguration.cs │ │ │ │ ├── DataReaderInspectorProviderFactory.cs │ │ │ │ └── DataReaderInspectorProviderServices.cs │ │ │ ├── EntityConnectionHelper.cs │ │ │ ├── ExceptionHelper.cs │ │ │ ├── Fakes │ │ │ │ ├── DataLoaderConfigurationLatchMock.cs │ │ │ │ ├── EffortConnectionMock.cs │ │ │ │ ├── FakeCachingTableDataLoaderStoreProxy.cs │ │ │ │ ├── FakeDataLoader.cs │ │ │ │ ├── FakeTableDataLoader.cs │ │ │ │ └── ResultSetComposerMock.cs │ │ │ ├── PlatformDetector.cs │ │ │ ├── Queries │ │ │ │ ├── Correctness.cs │ │ │ │ ├── ICorrectness.cs │ │ │ │ ├── IQueryTester`1.cs │ │ │ │ ├── NorthwindQueryTester.cs │ │ │ │ ├── QueryTesterExtensions.cs │ │ │ │ ├── QueryTester`1.cs │ │ │ │ └── ResultSetExtensions.cs │ │ │ ├── Resources │ │ │ │ ├── EmptyResource.txt │ │ │ │ └── Foo.csv │ │ │ ├── ResultSets │ │ │ │ ├── DictionaryResultSet.cs │ │ │ │ ├── DictionaryResultSetComposer.cs │ │ │ │ ├── DictionaryResultSetElement.cs │ │ │ │ ├── IResultSet.cs │ │ │ │ ├── IResultSetComposer.cs │ │ │ │ ├── IResultSetElement.cs │ │ │ │ ├── JsonResultSet.cs │ │ │ │ ├── OrderedResultSetComparer.cs │ │ │ │ ├── ResultSetComparer.cs │ │ │ │ └── ResultSetJsonSerializer.cs │ │ │ └── WrapperProviders │ │ │ │ ├── DbCommandDefinitionWrapper.cs │ │ │ │ ├── DbCommandWrapper.cs │ │ │ │ ├── DbConnectionWrapper.cs │ │ │ │ ├── DbProviderFactoryBase.cs │ │ │ │ ├── DbProviderManifestWrapper.cs │ │ │ │ ├── DbProviderServicesBase.cs │ │ │ │ ├── DbTransactionWrapper.cs │ │ │ │ └── EntityConnectionWrapperUtils.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── ResultSetFixture.cs │ │ ├── Schema │ │ │ ├── DbSchemaFixture.cs │ │ │ ├── Resources │ │ │ │ ├── DbSchema │ │ │ │ │ └── CompoundKey.xml │ │ │ │ └── StorageSchemaModifier │ │ │ │ │ ├── SSDLv1.net40.xml │ │ │ │ │ ├── SSDLv1.net45.xml │ │ │ │ │ ├── SSDLv2.net40.xml │ │ │ │ │ ├── SSDLv2.net45.xml │ │ │ │ │ └── SSDLv3.xml │ │ │ └── StorageSchemaModifierFixture.cs │ │ ├── TestInitialization.cs │ │ └── packages.config │ ├── Effort.CsvTool │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── CultureScope.cs │ │ ├── Effort.CsvTool.csproj │ │ ├── Effort.CsvTool.csproj.vspscc │ │ ├── MainWindow.xaml │ │ ├── MainWindow.xaml.cs │ │ ├── Program.cs │ │ ├── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.cs │ │ │ └── Settings.settings │ │ ├── RelayCommand.cs │ │ ├── ViewModelBase.cs │ │ ├── ViewModels │ │ │ ├── MainViewModel.cs │ │ │ └── ProviderViewModel.cs │ │ └── packages.config │ └── Effort │ │ ├── Effort.csproj │ │ ├── Effort.csproj.vspscc │ │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── AssemblyVersion.cs │ │ └── AssemblyVisibility.cs │ │ ├── Settings.StyleCop │ │ └── packages.config │ └── test │ ├── Effort.Extra.EF6.Tests │ ├── Effort.Extra.EF6.Tests.csproj │ ├── FinalPublicKey.snk │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── app.config │ └── packages.config │ ├── Effort.Extra.Tests │ ├── Behaviours │ │ ├── CreatesNewTableBehaviour.cs │ │ └── ReturnsExistingTableBehaviour.cs │ ├── Builder.cs │ ├── Effort.Extra.Tests.csproj │ ├── FinalPublicKey.snk │ ├── ObjectData.cs │ ├── ObjectDataLoader.cs │ ├── ObjectDataLoaderFactory.cs │ ├── ObjectTableDataLoader.cs │ ├── Person.cs │ ├── PersonWithAttribute.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── app.config │ └── packages.config │ ├── Effort.Test.Data.EF6 │ ├── App.Config │ ├── Effort.Test.Data.EF6.csproj │ ├── Features │ │ ├── BinaryKeyEntity.cs │ │ ├── CompiledModels.cs │ │ ├── Content │ │ │ └── Foo.csv │ │ ├── DateFieldEntity.cs │ │ ├── DateTimeFieldEntity.cs │ │ ├── DateTimeOffsetFieldEntity.cs │ │ ├── DecimalIdentityFieldEntity.cs │ │ ├── EmptyEntity.cs │ │ ├── EnumFieldEntity.cs │ │ ├── EnumFieldType.cs │ │ ├── FeatureDbContext.cs │ │ ├── FlagEnumFieldEntity.cs │ │ ├── FlagEnumFieldType.cs │ │ ├── GuidKeyEntity.cs │ │ ├── IndexedFieldEntity.cs │ │ ├── LargePrimaryKeyEntity.cs │ │ ├── LargeStringFieldEntity.cs │ │ ├── LargeTimestampFieldEntity.cs │ │ ├── LocalFeatureDataLoader.cs │ │ ├── MathEntity.cs │ │ ├── NumberFieldEntity.cs │ │ ├── OptionalRelationEntity.cs │ │ ├── RelationEntity.cs │ │ ├── RequiredFieldEntity.cs │ │ ├── StringFieldEntity.cs │ │ ├── TimeFieldEntity.cs │ │ ├── TimestampFieldEntity.cs │ │ └── TimestampIndexedFieldEntity.cs │ ├── Northwind │ │ ├── Category.cs │ │ ├── Content │ │ │ ├── Categories.csv │ │ │ ├── CustomerCustomerDemo.csv │ │ │ ├── CustomerDemographics.csv │ │ │ ├── Customers.csv │ │ │ ├── EmployeeTerritories.csv │ │ │ ├── Employees.csv │ │ │ ├── Northwind.sql │ │ │ ├── Order Details.csv │ │ │ ├── Orders.csv │ │ │ ├── Products.csv │ │ │ ├── Region.csv │ │ │ ├── Shippers.csv │ │ │ ├── Suppliers.csv │ │ │ └── Territories.csv │ │ ├── Customer.cs │ │ ├── CustomerDemography.cs │ │ ├── Employee.cs │ │ ├── LocalNorthwindDataLoader.cs │ │ ├── LocalNorthwindObjectContext.cs │ │ ├── Northwind.Context.cs │ │ ├── Northwind.DbContext.cs │ │ ├── Northwind.Designer.cs │ │ ├── Northwind.cs │ │ ├── Northwind.edmx │ │ ├── Northwind1.Designer.cs │ │ ├── Order.cs │ │ ├── OrderDetail.cs │ │ ├── Product.cs │ │ ├── Region.cs │ │ ├── Shipper.cs │ │ ├── Supplier.cs │ │ └── Territory.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── packages.config │ ├── Effort.Test.Data │ ├── App.Config │ ├── Effort.Test.Data.csproj │ ├── Features │ │ ├── BinaryKeyEntity.cs │ │ ├── CompiledModels.cs │ │ ├── Content │ │ │ └── Foo.csv │ │ ├── DateFieldEntity.cs │ │ ├── DateTimeFieldEntity.cs │ │ ├── DateTimeOffsetFieldEntity.cs │ │ ├── DecimalIdentityFieldEntity.cs │ │ ├── EmptyEntity.cs │ │ ├── EnumFieldEntity.cs │ │ ├── EnumFieldType.cs │ │ ├── FeatureDbContext.cs │ │ ├── FlagEnumFieldEntity.cs │ │ ├── FlagEnumFieldType.cs │ │ ├── GuidKeyEntity.cs │ │ ├── IndexedFieldEntity.cs │ │ ├── LargePrimaryKeyEntity.cs │ │ ├── LargeStringFieldEntity.cs │ │ ├── LargeTimestampFieldEntity.cs │ │ ├── LocalFeatureDataLoader.cs │ │ ├── MathEntity.cs │ │ ├── NumberFieldEntity.cs │ │ ├── OptionalRelationEntity.cs │ │ ├── RelationEntity.cs │ │ ├── RequiredFieldEntity.cs │ │ ├── StringFieldEntity.cs │ │ ├── TimeFieldEntity.cs │ │ ├── TimestampFieldEntity.cs │ │ └── TimestampIndexedFieldEntity.cs │ ├── FinalPublicKey.snk │ ├── Northwind │ │ ├── Category.cs │ │ ├── Content │ │ │ ├── Categories.csv │ │ │ ├── CustomerCustomerDemo.csv │ │ │ ├── CustomerDemographics.csv │ │ │ ├── Customers.csv │ │ │ ├── EmployeeTerritories.csv │ │ │ ├── Employees.csv │ │ │ ├── Northwind.sql │ │ │ ├── Order Details.csv │ │ │ ├── Orders.csv │ │ │ ├── Products.csv │ │ │ ├── Region.csv │ │ │ ├── Shippers.csv │ │ │ ├── Suppliers.csv │ │ │ └── Territories.csv │ │ ├── Customer.cs │ │ ├── CustomerDemography.cs │ │ ├── Employee.cs │ │ ├── LocalNorthwindDataLoader.cs │ │ ├── LocalNorthwindObjectContext.cs │ │ ├── Northwind.Context.cs │ │ ├── Northwind.Context.tt │ │ ├── Northwind.DbContext.cs │ │ ├── Northwind.DbContext.tt │ │ ├── Northwind.Designer.cs │ │ ├── Northwind.cs │ │ ├── Northwind.edmx │ │ ├── Northwind.tt │ │ ├── Order.cs │ │ ├── OrderDetail.cs │ │ ├── Product.cs │ │ ├── Region.cs │ │ ├── Shipper.cs │ │ ├── Supplier.cs │ │ └── Territory.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── packages.config │ ├── Effort.Test.EF6 │ ├── App.Config │ ├── Csv │ │ ├── CsvReaderFixture.cs │ │ └── FieldValueFixture.cs │ ├── DataLoaders │ │ ├── CachingDataLoaderFixture.cs │ │ ├── CsvDataLoaderFixture.cs │ │ ├── EntityDataLoaderFixture.cs │ │ └── FileProviderFixture.cs │ ├── DataReaderInspectorFixture.cs │ ├── DatabaseEngine │ │ └── DataRowFactoryFixture.cs │ ├── DbContextFixture.cs │ ├── DbManagerFixture.cs │ ├── Effort.Test.EF.csproj.vspscc │ ├── Effort.Test.EF6.csproj │ ├── EffortConnectionFixture.cs │ ├── EffortConnectionStringBuilderFixture.cs │ ├── Factories │ │ ├── DbConnectionFactoryFixture.cs │ │ ├── EntityConnectionFactoryFixture.cs │ │ └── ObjectContextFactoryFixture.cs │ ├── Features │ │ ├── AggregationFixture.cs │ │ ├── AssociationFixture.cs │ │ ├── BasicFixture.cs │ │ ├── BinaryFixture.cs │ │ ├── BinaryKeyFixture.cs │ │ ├── CanonicalFunctions │ │ │ ├── BitwiseFunctionsFixture.cs │ │ │ ├── DateTimeFunctionsFixture.cs │ │ │ ├── DateTimeOffsetFunctionsFixture.cs │ │ │ ├── GuidFunctionsFixture.cs │ │ │ ├── MathFunctionsFixture.cs │ │ │ ├── StringFunctionsFixture.cs │ │ │ └── TimeFunctionsFixture.cs │ │ ├── ComplexQueryFixture.cs │ │ ├── CountFixture.cs │ │ ├── DateFieldFixture.cs │ │ ├── DecimalIdentityFieldFixture.cs │ │ ├── EnumFieldFixture.cs │ │ ├── EsqlCastFixture.cs │ │ ├── ExpressionFixture.cs │ │ ├── FlagEnumFieldFixture.cs │ │ ├── GuidKeyFixture.cs │ │ ├── IncludeFixture.cs │ │ ├── IndexedFieldFixture.cs │ │ ├── JoinFixture.cs │ │ ├── KeyFixture.cs │ │ ├── LargeStringFieldFixture.cs │ │ ├── ManipulationFixture.cs │ │ ├── MiscellaneousQueryFixture.cs │ │ ├── RelationFixture.cs │ │ ├── RequiredFieldFixture.cs │ │ ├── StringConversionFixture.cs │ │ ├── StringFieldFixture.cs │ │ ├── StringParseFixture.cs │ │ ├── TimestampFixture.cs │ │ ├── TimestampIndexFixture.cs │ │ └── TransactionFixture.cs │ ├── Internal │ │ ├── DataReaderInspector │ │ │ ├── DataReaderInspectorCommand.cs │ │ │ ├── DataReaderInspectorConnection.cs │ │ │ ├── DataReaderInspectorDataReader.cs │ │ │ ├── DataReaderInspectorInvariantName.cs │ │ │ ├── DataReaderInspectorProviderConfiguration.cs │ │ │ ├── DataReaderInspectorProviderFactory.cs │ │ │ └── DataReaderInspectorProviderServices.cs │ │ ├── EntityConnectionHelper.cs │ │ ├── ExceptionHelper.cs │ │ ├── Fakes │ │ │ ├── DataLoaderConfigurationLatchMock.cs │ │ │ ├── EffortConnectionMock.cs │ │ │ ├── FakeCachingTableDataLoaderStoreProxy.cs │ │ │ ├── FakeDataLoader.cs │ │ │ ├── FakeTableDataLoader.cs │ │ │ └── ResultSetComposerMock.cs │ │ ├── PlatformDetector.cs │ │ ├── Queries │ │ │ ├── Correctness.cs │ │ │ ├── ICorrectness.cs │ │ │ ├── IQueryTester`1.cs │ │ │ ├── NorthwindQueryTester.cs │ │ │ ├── QueryTesterExtensions.cs │ │ │ ├── QueryTester`1.cs │ │ │ └── ResultSetExtensions.cs │ │ ├── Resources │ │ │ ├── EmptyResource.txt │ │ │ └── Foo.csv │ │ ├── ResultSets │ │ │ ├── DictionaryResultSet.cs │ │ │ ├── DictionaryResultSetComposer.cs │ │ │ ├── DictionaryResultSetElement.cs │ │ │ ├── IResultSet.cs │ │ │ ├── IResultSetComposer.cs │ │ │ ├── IResultSetElement.cs │ │ │ ├── JsonResultSet.cs │ │ │ ├── OrderedResultSetComparer.cs │ │ │ ├── ResultSetComparer.cs │ │ │ └── ResultSetJsonSerializer.cs │ │ └── WrapperProviders │ │ │ ├── DbCommandDefinitionWrapper.cs │ │ │ ├── DbCommandWrapper.cs │ │ │ ├── DbConnectionWrapper.cs │ │ │ ├── DbProviderFactoryBase.cs │ │ │ ├── DbProviderManifestWrapper.cs │ │ │ ├── DbProviderServicesBase.cs │ │ │ ├── DbTransactionWrapper.cs │ │ │ ├── EntityConnectionWrapperUtils.cs │ │ │ └── license.txt │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── ResultSetFixture.cs │ ├── Schema │ │ ├── DbSchemaFixture.cs │ │ ├── Resources │ │ │ ├── DbSchema │ │ │ │ └── CompoundKey.xml │ │ │ └── StorageSchemaModifier │ │ │ │ ├── SSDLv1.net40.xml │ │ │ │ ├── SSDLv1.net45.xml │ │ │ │ ├── SSDLv2.net40.xml │ │ │ │ ├── SSDLv2.net45.xml │ │ │ │ └── SSDLv3.xml │ │ └── StorageSchemaModifierFixture.cs │ ├── Settings.StyleCop │ ├── TestInitialization.cs │ └── packages.config │ └── Effort.Test │ ├── App.Config │ ├── Csv │ ├── CsvReaderFixture.cs │ └── FieldValueFixture.cs │ ├── DataLoaders │ ├── CachingDataLoaderFixture.cs │ ├── CsvDataLoaderFixture.cs │ ├── EntityDataLoaderFixture.cs │ └── FileProviderFixture.cs │ ├── DataReaderInspectorFixture.cs │ ├── DatabaseEngine │ └── DataRowFactoryFixture.cs │ ├── DbContextFixture.cs │ ├── DbManagerFixture.cs │ ├── Effort.Test.csproj │ ├── Effort.Test.csproj.vspscc │ ├── EffortConnectionFixture.cs │ ├── EffortConnectionStringBuilderFixture.cs │ ├── Factories │ ├── DbConnectionFactoryFixture.cs │ ├── EntityConnectionFactoryFixture.cs │ └── ObjectContextFactoryFixture.cs │ ├── Features │ ├── AggregationFixture.cs │ ├── AssociationFixture.cs │ ├── BasicFixture.cs │ ├── BinaryFixture.cs │ ├── BinaryKeyFixture.cs │ ├── CanonicalFunctions │ │ ├── BitwiseFunctionsFixture.cs │ │ ├── DateTimeFunctionsFixture.cs │ │ ├── DateTimeOffsetFunctionsFixture.cs │ │ ├── GuidFunctionsFixture.cs │ │ ├── MathFunctionsFixture.cs │ │ ├── StringFunctionsFixture.cs │ │ └── TimeFunctionsFixture.cs │ ├── ComplexQueryFixture.cs │ ├── CountFixture.cs │ ├── DateFieldFixture.cs │ ├── DecimalIdentityFieldFixture.cs │ ├── EnumFieldFixture.cs │ ├── EsqlCastFixture.cs │ ├── ExpressionFixture.cs │ ├── FlagEnumFieldFixture.cs │ ├── GuidKeyFixture.cs │ ├── IncludeFixture.cs │ ├── IndexedFieldFixture.cs │ ├── JoinFixture.cs │ ├── KeyFixture.cs │ ├── LargeStringFieldFixture.cs │ ├── ManipulationFixture.cs │ ├── MiscellaneousQueryFixture.cs │ ├── RelationFixture.cs │ ├── RequiredFieldFixture.cs │ ├── StringConversionFixture.cs │ ├── StringFieldFixture.cs │ ├── StringParseFixture.cs │ ├── TimestampFixture.cs │ ├── TimestampIndexFixture.cs │ └── TransactionFixture.cs │ ├── FinalPublicKey.snk │ ├── Internal │ ├── DataReaderInspector │ │ ├── DataReaderInspectorCommand.cs │ │ ├── DataReaderInspectorConnection.cs │ │ ├── DataReaderInspectorDataReader.cs │ │ ├── DataReaderInspectorInvariantName.cs │ │ ├── DataReaderInspectorProviderConfiguration.cs │ │ ├── DataReaderInspectorProviderFactory.cs │ │ └── DataReaderInspectorProviderServices.cs │ ├── EntityConnectionHelper.cs │ ├── ExceptionHelper.cs │ ├── Fakes │ │ ├── DataLoaderConfigurationLatchMock.cs │ │ ├── EffortConnectionMock.cs │ │ ├── FakeCachingTableDataLoaderStoreProxy.cs │ │ ├── FakeDataLoader.cs │ │ ├── FakeTableDataLoader.cs │ │ └── ResultSetComposerMock.cs │ ├── PlatformDetector.cs │ ├── Queries │ │ ├── Correctness.cs │ │ ├── ICorrectness.cs │ │ ├── IQueryTester`1.cs │ │ ├── NorthwindQueryTester.cs │ │ ├── QueryTesterExtensions.cs │ │ ├── QueryTester`1.cs │ │ └── ResultSetExtensions.cs │ ├── Resources │ │ ├── EmptyResource.txt │ │ └── Foo.csv │ ├── ResultSets │ │ ├── DictionaryResultSet.cs │ │ ├── DictionaryResultSetComposer.cs │ │ ├── DictionaryResultSetElement.cs │ │ ├── IResultSet.cs │ │ ├── IResultSetComposer.cs │ │ ├── IResultSetElement.cs │ │ ├── JsonResultSet.cs │ │ ├── OrderedResultSetComparer.cs │ │ ├── ResultSetComparer.cs │ │ └── ResultSetJsonSerializer.cs │ └── WrapperProviders │ │ ├── DbCommandDefinitionWrapper.cs │ │ ├── DbCommandWrapper.cs │ │ ├── DbConnectionWrapper.cs │ │ ├── DbProviderFactoryBase.cs │ │ ├── DbProviderManifestWrapper.cs │ │ ├── DbProviderServicesBase.cs │ │ ├── DbTransactionWrapper.cs │ │ ├── EntityConnectionWrapperUtils.cs │ │ └── license.txt │ ├── Properties │ └── AssemblyInfo.cs │ ├── ResultSetFixture.cs │ ├── Schema │ ├── DbSchemaFixture.cs │ ├── Resources │ │ ├── DbSchema │ │ │ └── CompoundKey.xml │ │ └── StorageSchemaModifier │ │ │ ├── SSDLv1.net40.xml │ │ │ ├── SSDLv1.net45.xml │ │ │ ├── SSDLv2.net40.xml │ │ │ ├── SSDLv2.net45.xml │ │ │ └── SSDLv3.xml │ └── StorageSchemaModifierFixture.cs │ ├── Settings.StyleCop │ ├── TestInitialization.cs │ └── packages.config ├── README.md ├── dapper-plus-sponsor.png └── entity-framework-extensions-sponsor.png /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [zzzprojects] 2 | custom: ["https://zzzprojects.com/contribute"] 3 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Here is what to include in your request to make sure we implement a solution as quickly as possible. 2 | 3 | ## 1. Description 4 | Describe the issue or propose a feature. 5 | 6 | ## 2. Exception 7 | If you are seeing an exception, include the full exception details (message and stack trace). 8 | 9 | ``` 10 | Exception message: 11 | Stack trace: 12 | ``` 13 | 14 | ## 3. Fiddle or Project 15 | If you are able, 16 | 17 | Provide a Fiddle that reproduce the issue: https://dotnetfiddle.net/25Vjsn 18 | 19 | Or provide a project/solution that we can run to reproduce the issue. 20 | - Make sure the project compile 21 | - Make sure to provide only the code that is required to reproduce the issue, not the whole project 22 | - You can send private code here: info@zzzprojects.com 23 | 24 | Otherwise, make sure to include as much information as possible to help our team to reproduce the issue. 25 | 26 | ## 4. Any further technical details 27 | Add any relevant detail can help us. 28 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | *.suo 4 | *.user 5 | *.orig 6 | StyleCop.Cache 7 | Main/Build/Packages/ 8 | Main/Build/TestResults/ 9 | Main/Source/packages/ 10 | Main/Source/TestResults/ 11 | Main/Build/KeyPair.snk 12 | Main/Build/TestResult.xml 13 | Main/Source/.vs/ 14 | /.vs 15 | Main/Source/Z.Lab.EFClassic/ 16 | Main/Source/Effort.Lab.EF6/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) Effort Team 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /Main/Build/Build.cmd: -------------------------------------------------------------------------------- 1 | @echo OFF 2 | for /F "tokens=2* delims= " %%A in ('reg query "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client" /v Version') do set fw_version=%%B 3 | for /f "delims=. tokens=1-3" %%a in ("%fw_version%") do ( 4 | set fw_version_major=%%a 5 | set fw_version_minor=%%b 6 | set fw_version_build=%%c 7 | ) 8 | 9 | set fw_version_ok= 10 | if %fw_version_major% geq 5 ( set fw_version_ok=1 ) 11 | if %fw_version_major% equ 4 ( if %fw_version_minor% geq 5 ( set fw_version_ok=1 )) 12 | 13 | if not defined fw_version_ok ( 14 | echo .NET Framework 4.5 is not installed! 15 | exit /b -1 16 | ) 17 | 18 | set msbuild=%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\msbuild 19 | 20 | if not exist %msbuild% ( 21 | echo MsBuild was not found! 22 | exit /b -2 23 | ) 24 | 25 | set EnableNugetPackageRestore=true 26 | %msbuild% Build.targets /v:minimal /maxcpucount /nodeReuse:false %* 27 | 28 | timeout /t 10 29 | 30 | SLEEP 10 -------------------------------------------------------------------------------- /Main/Build/BuildAndTest.cmd: -------------------------------------------------------------------------------- 1 | Build.cmd /p:RunTests=True %* -------------------------------------------------------------------------------- /Main/Build/BuildSigned.cmd: -------------------------------------------------------------------------------- 1 | Build.cmd /p:SignAssembly=True %* -------------------------------------------------------------------------------- /Main/Build/Effort 1.3.3.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Build/Effort 1.3.3.nupkg -------------------------------------------------------------------------------- /Main/Build/Effort.EF6 1.3.3.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Build/Effort.EF6 1.3.3.nupkg -------------------------------------------------------------------------------- /Main/Build/PublicKey.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Build/PublicKey.snk -------------------------------------------------------------------------------- /Main/Build/PushNuget.cmd: -------------------------------------------------------------------------------- 1 | @echo OFF 2 | 3 | for %%x in (.\Packages\*.nupkg) do echo %%x 4 | 5 | set /p apikey=Enter NuGet.org API key: 6 | ..\Source\.nuget\NuGet.exe setApiKey %apikey% 7 | 8 | for %%x in (.\Packages\*.nupkg) do ..\Source\.nuget\NuGet.exe push ".\%%x" 9 | -------------------------------------------------------------------------------- /Main/Source/.nuget/NuGet.Config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Main/Source/.nuget/NuGet.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/.nuget/NuGet.exe -------------------------------------------------------------------------------- /Main/Source/.nuget/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Main/Source/AssemblySigning.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(DefineConstants);SIGN_ASSEMBLY 5 | 6 | -------------------------------------------------------------------------------- /Main/Source/Effort.EF6.Net40/KeyPair.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/Effort.EF6.Net40/KeyPair.snk -------------------------------------------------------------------------------- /Main/Source/Effort.EF6.Net40/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.InteropServices; 3 | 4 | [assembly: AssemblyTitle("Effort")] 5 | [assembly: AssemblyDescription("")] 6 | [assembly: AssemblyConfiguration("")] 7 | [assembly: AssemblyCompany("ZZZ Projects")] 8 | [assembly: AssemblyProduct("Effort")] 9 | [assembly: AssemblyCopyright("ZZZ Projects")] 10 | [assembly: AssemblyTrademark("")] 11 | [assembly: AssemblyCulture("")] 12 | [assembly: ComVisible(false)] 13 | [assembly: Guid("896d3ca3-a5bd-4aac-b384-8488ad59ee87")] 14 | 15 | [assembly: AssemblyVersion("2.2.17")] 16 | [assembly: AssemblyFileVersion("2.2.17")] -------------------------------------------------------------------------------- /Main/Source/Effort.EF6.Net40/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Main/Source/Effort.EF6.Net45/KeyPair.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/Effort.EF6.Net45/KeyPair.snk -------------------------------------------------------------------------------- /Main/Source/Effort.EF6.Net45/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | [assembly: AssemblyTitle("Effort")] 6 | [assembly: AssemblyDescription("")] 7 | [assembly: AssemblyConfiguration("")] 8 | [assembly: AssemblyCompany("ZZZ Projects")] 9 | [assembly: AssemblyProduct("Effort")] 10 | [assembly: AssemblyCopyright("ZZZ Projects")] 11 | [assembly: AssemblyTrademark("")] 12 | [assembly: AssemblyCulture("")] 13 | [assembly: ComVisible(false)] 14 | [assembly: Guid("810b876c-4c73-4f0b-9fff-019fe4f30182")] 15 | 16 | [assembly: AssemblyVersion("2.2.17")] 17 | [assembly: AssemblyFileVersion("2.2.17")] 18 | 19 | //[assembly: InternalsVisibleTo("Effort.Test")] 20 | //[assembly: InternalsVisibleTo("Effort.Extra.EF6.Tests")] 21 | [assembly: InternalsVisibleTo("Effort.Extra.EF6.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")] 22 | -------------------------------------------------------------------------------- /Main/Source/Effort.EF6.Net45/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Main/Source/Effort.EF6.NetStandard21/Effort.EF6.NetStandard21.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | netstandard2.1 5 | true 6 | KeyPair.snk 7 | 2.2.17 8 | Effort 9 | Effort 10 | 11 | 12 | 13 | TRACE;EF6 14 | \Effort.EF6.NetStandard21\Effort.xml 15 | 16 | 17 | 18 | TRACE;EF6 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Main/Source/Effort.EF6.NetStandard21/KeyPair.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/Effort.EF6.NetStandard21/KeyPair.snk -------------------------------------------------------------------------------- /Main/Source/Effort.Lab.EF6.Net40/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Main/Source/Effort.Lab.EF6.Net40/Form_Issue_Restore.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6.Net40 2 | { 3 | partial class Form_Issue_Restore 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_Issue_Restore"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/Effort.Lab.EF6.Net40/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Effort.Lab.EF6.Net40 7 | { 8 | class Program 9 | { 10 | static void Main(string[] args) 11 | { 12 | new Form_Issue_Restore(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Main/Source/Effort.Lab.EF6.Net40/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Effort.Lab.EF6.Net40")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Effort.Lab.EF6.Net40")] 13 | [assembly: AssemblyCopyright("Copyright © 2018")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("32e4f554-eda2-47c5-9b03-eb91a1658ae4")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Main/Source/Effort.Lab.EF6.Net40/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Main/Source/Effort.Net40/Key.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/Effort.Net40/Key.snk -------------------------------------------------------------------------------- /Main/Source/Effort.Net40/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | [assembly: AssemblyTitle("Effort")] 6 | [assembly: AssemblyDescription("")] 7 | [assembly: AssemblyConfiguration("")] 8 | [assembly: AssemblyCompany("ZZZ Projects")] 9 | [assembly: AssemblyProduct("Effort")] 10 | [assembly: AssemblyCopyright("ZZZ Projects")] 11 | [assembly: AssemblyTrademark("")] 12 | [assembly: AssemblyCulture("")] 13 | [assembly: ComVisible(false)] 14 | [assembly: Guid("779ecf7b-0379-419d-bc4d-286a8ec08f6d")] 15 | 16 | [assembly: AssemblyVersion("2.2.17")] 17 | [assembly: AssemblyFileVersion("2.2.17")] 18 | 19 | //[assembly: InternalsVisibleTo("Effort.Test")] 20 | [assembly: InternalsVisibleTo("Effort.Test, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")] 21 | -------------------------------------------------------------------------------- /Main/Source/Effort.Net45/Key.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/Effort.Net45/Key.snk -------------------------------------------------------------------------------- /Main/Source/Effort.Net45/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | [assembly: AssemblyTitle("Effort")] 6 | [assembly: AssemblyDescription("")] 7 | [assembly: AssemblyConfiguration("")] 8 | [assembly: AssemblyCompany("ZZZ Projects")] 9 | [assembly: AssemblyProduct("Effort")] 10 | [assembly: AssemblyCopyright("ZZZ Projects")] 11 | [assembly: AssemblyTrademark("")] 12 | [assembly: AssemblyCulture("")] 13 | [assembly: ComVisible(false)] 14 | [assembly: Guid("aa6b4a10-01c1-4cc0-8009-4a7c6aa28585")] 15 | 16 | [assembly: AssemblyVersion("2.2.17")] 17 | [assembly: AssemblyFileVersion("2.2.17")] 18 | 19 | //[assembly: InternalsVisibleTo("Effort.Extra.Tests")] 20 | [assembly: InternalsVisibleTo("Effort.Extra.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")] 21 | -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/DataLoaders/Internal/IFileProvider.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.DataLoaders.Internal 26 | { 27 | internal interface IFileProvider 28 | { 29 | IFileReference GetFile(string name); 30 | 31 | bool IsValid { get; } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Effort.Shared.shproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | e52e4eeb-6182-4ca3-82d3-c83aca7308ba 5 | 14.0 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/Common/XmlProcessing/IAttributeModifier.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Internal.Common.XmlProcessing 26 | { 27 | using System.Xml.Linq; 28 | 29 | internal interface IAttributeModifier 30 | { 31 | void Modify(XAttribute attribute, IModificationContext context); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/Common/XmlProcessing/IElementAttributeSelector.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Internal.Common.XmlProcessing 26 | { 27 | using System.Xml.Linq; 28 | 29 | internal interface IElementAttributeSelector 30 | { 31 | XAttribute SelectAttribute(XElement element); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/Common/XmlProcessing/IElementModifier.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Internal.Common.XmlProcessing 26 | { 27 | using System.Xml.Linq; 28 | 29 | internal interface IElementModifier 30 | { 31 | void Modify(XElement element, IModificationContext context); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/Common/XmlProcessing/IElementVisitor`1.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Internal.Common.XmlProcessing 26 | { 27 | using System.Xml.Linq; 28 | 29 | internal interface IElementVisitor 30 | { 31 | T VisitElement(XElement element); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/Csv/CsvReader.DataReaderValidations.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/Effort.Shared/Internal/Csv/CsvReader.DataReaderValidations.cs -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/Csv/CsvReader.RecordEnumerator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/Effort.Shared/Internal/Csv/CsvReader.RecordEnumerator.cs -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/Csv/CsvReader.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/Effort.Shared/Internal/Csv/CsvReader.cs -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/Csv/MalformedCsvException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/Effort.Shared/Internal/Csv/MalformedCsvException.cs -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/Csv/MissingFieldAction.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/Effort.Shared/Internal/Csv/MissingFieldAction.cs -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/Csv/MissingFieldCsvException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/Effort.Shared/Internal/Csv/MissingFieldCsvException.cs -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/Csv/ParseErrorAction.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/Effort.Shared/Internal/Csv/ParseErrorAction.cs -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/Csv/ParseErrorEventArgs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/Effort.Shared/Internal/Csv/ParseErrorEventArgs.cs -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/Csv/license.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) 2011-2013 Effort Team 2 | Copyright (C) 2006 Sébastien Lorion 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy 5 | of this software and associated documentation files (the "Software"), to deal 6 | in the Software without restriction, including without limitation the rights 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the Software is 9 | furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in 12 | all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | THE SOFTWARE. -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/DbCommandTreeTransformation/IDbMethodProvider.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Internal.DbCommandTreeTransformation 26 | { 27 | using System.Reflection; 28 | 29 | internal interface IDbMethodProvider 30 | { 31 | MethodInfo Like { get; } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/DbCommandTreeTransformation/ITableProvider.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Internal.DbCommandTreeTransformation 26 | { 27 | using Effort.Internal.DbManagement.Schema; 28 | 29 | internal interface ITableProvider 30 | { 31 | object GetTable(TableName name); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/DbManagement/Schema/Configuration/IRelationConfiguration.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Internal.DbManagement.Schema.Configuration 26 | { 27 | internal interface IRelationConfiguration 28 | { 29 | void Configure(AssociationInfo entityInfo, DbSchemaBuilder builder); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/DbManagement/Schema/Configuration/ITableConfiguration.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Internal.DbManagement.Schema.Configuration 26 | { 27 | internal interface ITableConfiguration 28 | { 29 | void Configure(EntityInfo entityInfo, DbTableInfoBuilder builder); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/Diagnostics/ILogger.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Internal.Diagnostics 26 | { 27 | internal interface ILogger 28 | { 29 | void Write(string message); 30 | 31 | void Write(string message, params object[] args); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Main/Source/Effort.Shared/Internal/Extensions/Database.GetEntityConnection.cs: -------------------------------------------------------------------------------- 1 | #if !EFOLD 2 | 3 | using System.Data.Entity; 4 | using System.Data.Entity.Core.EntityClient; 5 | using System.Data.Entity.Core.Objects; 6 | using System.Reflection; 7 | 8 | namespace Effort.Internal 9 | { 10 | internal static class InternalExtensions 11 | { 12 | internal static EntityConnection GetEntityConnection(this Database database) 13 | { 14 | var internalContext = database.GetType().GetField("_internalContext", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(database); 15 | 16 | var getObjectContext = internalContext.GetType().GetMethod("GetObjectContextWithoutDatabaseInitialization", BindingFlags.Public | BindingFlags.Instance); 17 | 18 | var objectContext = (ObjectContext) getObjectContext.Invoke(internalContext, null); 19 | 20 | var entityConnection = objectContext.Connection; 21 | 22 | return (EntityConnection) entityConnection; 23 | } 24 | } 25 | } 26 | 27 | #endif -------------------------------------------------------------------------------- /Main/Source/Effort.Tools.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Effort.CsvTool", "misc\Effort.CsvTool\Effort.CsvTool.csproj", "{E0FD26F8-DE04-4D6A-8EAD-1BB3001DF6D0}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Any CPU = Debug|Any CPU 9 | Release|Any CPU = Release|Any CPU 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {E0FD26F8-DE04-4D6A-8EAD-1BB3001DF6D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 13 | {E0FD26F8-DE04-4D6A-8EAD-1BB3001DF6D0}.Debug|Any CPU.Build.0 = Debug|Any CPU 14 | {E0FD26F8-DE04-4D6A-8EAD-1BB3001DF6D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {E0FD26F8-DE04-4D6A-8EAD-1BB3001DF6D0}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {E0FD26F8-DE04-4D6A-8EAD-1BB3001DF6D0}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {E0FD26F8-DE04-4D6A-8EAD-1BB3001DF6D0}.Release|Any CPU.Build.0 = Release|Any CPU 18 | {E0FD26F8-DE04-4D6A-8EAD-1BB3001DF6D0}.Release|Any CPU.ActiveCfg = Release|Any CPU 19 | {E0FD26F8-DE04-4D6A-8EAD-1BB3001DF6D0}.Release|Any CPU.Build.0 = Release|Any CPU 20 | EndGlobalSection 21 | GlobalSection(SolutionProperties) = preSolution 22 | HideSolutionNode = FALSE 23 | EndGlobalSection 24 | EndGlobal 25 | -------------------------------------------------------------------------------- /Main/Source/NugetPackages.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | EntityFramework.5.0.0 5 | EntityFramework.6.1.2 6 | NMemory.1.1.0 7 | 8 | 9 | -------------------------------------------------------------------------------- /Main/Source/Z.EntityFramework.Classic.Effort.Net40/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /Main/Source/Z.EntityFramework.Classic.Effort.Net40/Key.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/Z.EntityFramework.Classic.Effort.Net40/Key.snk -------------------------------------------------------------------------------- /Main/Source/Z.EntityFramework.Classic.Effort.Net40/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Z.EntityFramework.Classic.Effort")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("ZZZ Projects")] 12 | [assembly: AssemblyProduct("Z.EntityFramework.Classic.Effort")] 13 | [assembly: AssemblyCopyright("ZZZ Projects")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("27851ba8-a98d-486f-ac6c-731bf11d5b52")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("2.2.13")] 36 | [assembly: AssemblyFileVersion("2.2.13")] -------------------------------------------------------------------------------- /Main/Source/Z.EntityFramework.Classic.Effort.Net40/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Main/Source/Z.EntityFramework.Classic.Effort.Net45/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /Main/Source/Z.EntityFramework.Classic.Effort.Net45/Key.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/Z.EntityFramework.Classic.Effort.Net45/Key.snk -------------------------------------------------------------------------------- /Main/Source/Z.EntityFramework.Classic.Effort.Net45/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Z.EntityFramework.Classic.Effort")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("ZZZ Projects")] 12 | [assembly: AssemblyProduct("Z.EntityFramework.Classic.Effort")] 13 | [assembly: AssemblyCopyright("ZZZ Projects")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("827d4e48-5b82-437d-88dd-edf71e27afad")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("2.2.13")] 36 | [assembly: AssemblyFileVersion("2.2.13")] -------------------------------------------------------------------------------- /Main/Source/Z.EntityFramework.Classic.Effort.Net45/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Main/Source/Z.EntityFramework.Classic.Effort.NetStandard20/Key.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/Z.EntityFramework.Classic.Effort.NetStandard20/Key.snk -------------------------------------------------------------------------------- /Main/Source/Z.EntityFramework.Classic.Effort.NetStandard20/Z.EntityFramework.Classic.Effort.NetStandard20.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | netstandard2.0 5 | true 6 | Key.snk 7 | Z.EntityFramework.Classic.Effort 8 | Z.EntityFramework.Classic.Effort 9 | ZZZ Projects 10 | 2.2.13 11 | false 12 | 13 | 14 | 15 | bin\Release\netstandard2.0\Z.EntityFramework.Classic.Effort.xml 16 | TRACE;EFCLASSIC 17 | 18 | 19 | 20 | TRACE;EFCLASSIC 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.Text = "Form1"; 34 | } 35 | 36 | #endregion 37 | } 38 | } 39 | 40 | -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | 11 | namespace Effort.Lab.EF6 12 | { 13 | public partial class Form1 : Form 14 | { 15 | public Form1() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_General_Jon.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_General_Jon 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_General_Jon"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_General_Mik.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_General_Mik 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_General_Mik"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_Issue_DbComparisonExpressionTime.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_Issue_DbComparisonExpressionTime 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_Issue_DbComparisonExpressionTime"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_Issue_Restore.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_Issue_Restore 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_Issue_Restore"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_NotMapped.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_NotMapped 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_NotMapped"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_Request_CacheDataLoader.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_Request_CacheDataLoader 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_Request_CacheDataLoader"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_Request_CaseSensitive.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_Request_CaseSensitive 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_Request_CaseSensitive"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_Request_DbConnectionFactory.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_Request_DbConnectionFactory 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_Request_DbConnectionFactory"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_Request_EffortExtra.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_Request_EffortExtra 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_Request_EffortExtra"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_Request_GuidSetIdentityFields.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_Request_GuidSetIdentityFields 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_Request_GuidSetIdentityFields"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_Request_Identity.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_Request_Identity 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_Request_Identity"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_Request_LazyLoading.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_Request_LazyLoading 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.Text = "Form_Request_LazyLoading"; 34 | } 35 | 36 | #endregion 37 | } 38 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_Request_ObjectContextFactory.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_Request_ObjectContextFactory 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_Request_ObjectContextFactory"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_Request_SetIdentity.Designer.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace Effort.Lab.EF6 3 | { 4 | partial class Form_Request_SetIdentity 5 | { 6 | /// 7 | /// Required designer variable. 8 | /// 9 | private System.ComponentModel.IContainer components = null; 10 | 11 | /// 12 | /// Clean up any resources being used. 13 | /// 14 | /// true if managed resources should be disposed; otherwise, false. 15 | protected override void Dispose(bool disposing) 16 | { 17 | if (disposing && (components != null)) 18 | { 19 | components.Dispose(); 20 | } 21 | base.Dispose(disposing); 22 | } 23 | 24 | #region Windows Form Designer generated code 25 | 26 | /// 27 | /// Required method for Designer support - do not modify 28 | /// the contents of this method with the code editor. 29 | /// 30 | private void InitializeComponent() 31 | { 32 | this.components = new System.ComponentModel.Container(); 33 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 34 | this.ClientSize = new System.Drawing.Size(800, 450); 35 | this.Text = "Form_Request_SetIdentity"; 36 | } 37 | 38 | #endregion 39 | } 40 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_Request_SqlFunctions.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_Request_SqlFunctions 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.Text = "Form_Request_SqlFunctions"; 34 | } 35 | 36 | #endregion 37 | } 38 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_Request_TimeoutIssue.Designer.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace Effort.Lab.EF6 3 | { 4 | partial class Form_Request_TimeoutIssue 5 | { 6 | /// 7 | /// Required designer variable. 8 | /// 9 | private System.ComponentModel.IContainer components = null; 10 | 11 | /// 12 | /// Clean up any resources being used. 13 | /// 14 | /// true if managed resources should be disposed; otherwise, false. 15 | protected override void Dispose(bool disposing) 16 | { 17 | if (disposing && (components != null)) 18 | { 19 | components.Dispose(); 20 | } 21 | base.Dispose(disposing); 22 | } 23 | 24 | #region Windows Form Designer generated code 25 | 26 | /// 27 | /// Required method for Designer support - do not modify 28 | /// the contents of this method with the code editor. 29 | /// 30 | private void InitializeComponent() 31 | { 32 | this.components = new System.ComponentModel.Container(); 33 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 34 | this.ClientSize = new System.Drawing.Size(800, 450); 35 | this.Text = "Form_Request_TimeoutIssue"; 36 | } 37 | 38 | #endregion 39 | } 40 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_Request_TransactionAuxiliary.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_Request_TransactionAuxiliary 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_Request_TransactionAuxiliary"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_Request_TransactionIssue.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_Request_TransactionIssue 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_Request_TransactionIssue"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Form_Test_EFE.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class Form_Test_EFE 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_Test_EFE"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/My.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Data.SqlClient; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace Effort.Lab.EF6 9 | { 10 | public static class My 11 | { 12 | public static Func ConnectionFactory = () => new SqlConnection("Server=localhost;Initial Catalog=Z.Test.EntityFramework.Plus.EF6;Integrated Security=true;Connection Timeout=300;Persist Security Info=True"); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace Effort.Lab.EF6 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | new Form_General_Jon(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Effort.Lab.EF6")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Effort.Lab.EF6")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("5d086fdf-2604-413f-8164-0b8ff1c2a522")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace Effort.Lab.EF6.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Request_OrderBy.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel.DataAnnotations; 2 | using System.ComponentModel.DataAnnotations.Schema; 3 | using System.Data.Common; 4 | using System.Data.Entity; 5 | using System.Linq; 6 | 7 | namespace Effort.Lab.EF6 8 | { 9 | public class Request_OrderBy 10 | { 11 | public static void Execute() 12 | { 13 | var connection = DbConnectionFactory.CreateTransient(); 14 | 15 | using (var context = new EntitiesContext(connection)) 16 | { 17 | for (var i = 0; i < 10; i++) 18 | { 19 | var test = new MyEntity {ColumnText = (i % 3).ToString(), ColumnChar = i.ToString()}; 20 | 21 | context.MyEntities.Add(test); 22 | } 23 | 24 | context.SaveChanges(); 25 | } 26 | 27 | using (var context = new EntitiesContext(connection)) 28 | { 29 | var list = context.MyEntities.OrderByDescending(x => x.ColumnText).ThenByDescending(y => y.ColumnChar).ToList(); 30 | } 31 | } 32 | } 33 | 34 | public class EntitiesContext : DbContext 35 | { 36 | public EntitiesContext(DbConnection dbConnection) : base(dbConnection, true) 37 | { 38 | } 39 | 40 | public virtual DbSet MyEntities { get; set; } 41 | } 42 | 43 | public class MyEntity 44 | { 45 | [Key] 46 | [DatabaseGenerated(DatabaseGeneratedOption.Identity)] 47 | public int ID { get; set; } 48 | 49 | public string ColumnText { get; set; } 50 | 51 | public string ColumnChar { get; set; } 52 | } 53 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/Request_TimeOut.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Data.Common; 4 | using System.Data.Entity; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace Effort.Lab.EF6 10 | { 11 | public class Request_TimeOut 12 | { 13 | public static void Execute() 14 | { 15 | var connection = Effort.DbConnectionFactory.CreateTransient(); 16 | 17 | // CLEAN 18 | using (var context = new EntityContext(connection)) 19 | { 20 | context.EntitySimples.RemoveRange(context.EntitySimples); 21 | context.SaveChanges(); 22 | } 23 | 24 | // SEED 25 | using (var context = new EntityContext(connection)) 26 | { 27 | connection.SetConnectionTimeout(500000); 28 | 29 | var list = new List(); 30 | for (int i = 0; i < 1000000; i++) 31 | { 32 | list.Add(new EntitySimple() {ColumnInt = i}); 33 | } 34 | 35 | context.EntitySimples.AddRange(list); 36 | context.SaveChanges(); 37 | } 38 | 39 | } 40 | 41 | public class EntityContext : DbContext 42 | { 43 | public EntityContext(DbConnection connection) : base(connection, true) 44 | { 45 | } 46 | 47 | public DbSet EntitySimples { get; set; } 48 | 49 | 50 | protected override void OnModelCreating(DbModelBuilder modelBuilder) 51 | { 52 | base.OnModelCreating(modelBuilder); 53 | } 54 | } 55 | 56 | public class EntitySimple 57 | { 58 | public int ID { get; set; } 59 | public int ColumnInt { get; set; } 60 | } 61 | } 62 | } 63 | 64 | -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/__Form_Template.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Lab.EF6 2 | { 3 | partial class __Form_Template 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.Text = "__Form_Template"; 34 | } 35 | 36 | #endregion 37 | } 38 | } -------------------------------------------------------------------------------- /Main/Source/lab/Effort.Lab.EF6/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.EFClassic/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 |
5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.EFClassic/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Z.Lab.EFClassic 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form1"; 35 | } 36 | 37 | #endregion 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.EFClassic/Form1.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Data.Common; 3 | using System.Data.Entity; 4 | using System.Linq; 5 | using System.Windows.Forms; 6 | using Effort; 7 | using Z.EntityFramework.Classic; 8 | 9 | namespace Z.Lab.EFClassic 10 | { 11 | public partial class Form1 : Form 12 | { 13 | public Form1() 14 | { 15 | InitializeComponent(); 16 | 17 | EntityFrameworkManager.ConfigSectionName = "entityFrameworkClassic"; 18 | var connection = DbConnectionFactory.CreateTransient(); 19 | 20 | using (var context = new EntityContext(connection)) 21 | { 22 | var list = new List(); 23 | for (var i = 0; i < 10; i++) 24 | { 25 | list.Add(new Customer {Name = "ZZZ_" + i}); 26 | } 27 | 28 | context.Customers.AddRange(list); 29 | context.SaveChanges(); 30 | } 31 | 32 | using (var context = new EntityContext(connection)) 33 | { 34 | var list = context.Customers.Where(x => x.ID > 3).ToList(); 35 | } 36 | } 37 | 38 | public class EntityContext : DbContext 39 | { 40 | public EntityContext(DbConnection connection) : base(connection, false) 41 | { 42 | } 43 | 44 | public DbSet Customers { get; set; } 45 | } 46 | 47 | public class Customer 48 | { 49 | public int ID { get; set; } 50 | public string Name { get; set; } 51 | } 52 | } 53 | } -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.EFClassic/Form_Request_Register.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Z.Lab.EFClassic 2 | { 3 | partial class Form_Request_Register 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form_Request_Register"; 35 | } 36 | 37 | #endregion 38 | } 39 | } -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.EFClassic/Form_Request_Register.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Data.Common; 3 | using System.Data.Entity; 4 | using System.Linq; 5 | using System.Windows.Forms; 6 | using Effort; 7 | using Z.EntityFramework.Classic; 8 | 9 | 10 | namespace Z.Lab.EFClassic 11 | { 12 | public partial class Form_Request_Register : Form 13 | { 14 | public Form_Request_Register() 15 | { 16 | InitializeComponent(); 17 | 18 | var connection = DbConnectionFactory.CreateTransient(); 19 | EntityFrameworkManager.ConfigSectionName = "entityFrameworkClassic"; 20 | 21 | using (var context = new EntityContext(connection)) 22 | { 23 | var list = new List(); 24 | for (var i = 0; i < 10; i++) 25 | { 26 | list.Add(new Customer { Name = "ZZZ_" + i }); 27 | } 28 | 29 | context.Customers.AddRange(list); 30 | context.SaveChanges(); 31 | } 32 | 33 | using (var context = new EntityContext(connection)) 34 | { 35 | var list = context.Customers.Where(x => x.ID > 3).ToList(); 36 | } 37 | } 38 | 39 | public class EntityContext : DbContext 40 | { 41 | public EntityContext(DbConnection connection) : base(connection, false) 42 | { 43 | } 44 | 45 | public DbSet Customers { get; set; } 46 | } 47 | 48 | public class Customer 49 | { 50 | public int ID { get; set; } 51 | public string Name { get; set; } 52 | } 53 | } 54 | } -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.EFClassic/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace Z.Lab.EFClassic 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.EnableVisualStyles(); 18 | Application.SetCompatibleTextRenderingDefault(false); 19 | Application.Run(new Form_Request_Register()); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.EFClassic/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Z.Lab.EFClassic")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Z.Lab.EFClassic")] 13 | [assembly: AssemblyCopyright("Copyright © 2018")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("3876bf7c-7330-45ea-b867-b66c389a4a68")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.EFClassic/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace Z.Lab.EFClassic.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.EFClassic/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.EFClassic/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.NamingIssue/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.NamingIssue/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace Z.Lab.NamingIssue 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.ClientSize = new System.Drawing.Size(800, 450); 34 | this.Text = "Form1"; 35 | } 36 | 37 | #endregion 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.NamingIssue/Lib/v1.x/Effort.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/lab/Z.Lab.NamingIssue/Lib/v1.x/Effort.dll -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.NamingIssue/Lib/v2.x/Effort.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/lab/Z.Lab.NamingIssue/Lib/v2.x/Effort.dll -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.NamingIssue/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace Z.Lab.NamingIssue 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.EnableVisualStyles(); 18 | Application.SetCompatibleTextRenderingDefault(false); 19 | Application.Run(new Form1()); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.NamingIssue/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Z.Lab.NamingIssue")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Z.Lab.NamingIssue")] 13 | [assembly: AssemblyCopyright("Copyright © 2018")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("5331ebba-d2f9-48bb-ad4f-af4d1ae1de30")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.NamingIssue/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace Z.Lab.NamingIssue.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.NamingIssue/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Main/Source/lab/Z.Lab.NamingIssue/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Main/Source/misc/Backup/App.Config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 17 | 30 | 31 | -------------------------------------------------------------------------------- /Main/Source/misc/Backup/Internal/Resources/EmptyResource.txt: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /Main/Source/misc/Backup/Internal/Resources/Foo.csv: -------------------------------------------------------------------------------- 1 | Id,Value 2 | 1,"Foo" -------------------------------------------------------------------------------- /Main/Source/misc/Backup/Internal/ResultSets/IResultSet.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Internal.ResultSets 26 | { 27 | using System.Collections.Generic; 28 | 29 | internal interface IResultSet 30 | { 31 | IEnumerable Elements { get; } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Main/Source/misc/Backup/Internal/ResultSets/IResultSetComposer.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Internal.ResultSets 26 | { 27 | internal interface IResultSetComposer 28 | { 29 | IResultSet ResultSet { get; } 30 | 31 | void SetValue(string name, T value); 32 | 33 | void Commit(); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Main/Source/misc/Backup/Internal/ResultSets/IResultSetElement.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Internal.ResultSets 26 | { 27 | public interface IResultSetElement 28 | { 29 | object GetValue(string name); 30 | 31 | bool HasValue(string name); 32 | 33 | string[] FieldNames { get; } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Main/Source/misc/Backup/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Main/Source/misc/Backup1/App.Config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 17 | 30 | 31 | -------------------------------------------------------------------------------- /Main/Source/misc/Backup1/Internal/Resources/EmptyResource.txt: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /Main/Source/misc/Backup1/Internal/Resources/Foo.csv: -------------------------------------------------------------------------------- 1 | Id,Value 2 | 1,"Foo" -------------------------------------------------------------------------------- /Main/Source/misc/Backup1/Internal/ResultSets/IResultSet.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Internal.ResultSets 26 | { 27 | using System.Collections.Generic; 28 | 29 | internal interface IResultSet 30 | { 31 | IEnumerable Elements { get; } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Main/Source/misc/Backup1/Internal/ResultSets/IResultSetComposer.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Internal.ResultSets 26 | { 27 | internal interface IResultSetComposer 28 | { 29 | IResultSet ResultSet { get; } 30 | 31 | void SetValue(string name, T value); 32 | 33 | void Commit(); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Main/Source/misc/Backup1/Internal/ResultSets/IResultSetElement.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Internal.ResultSets 26 | { 27 | public interface IResultSetElement 28 | { 29 | object GetValue(string name); 30 | 31 | bool HasValue(string name); 32 | 33 | string[] FieldNames { get; } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Main/Source/misc/Backup1/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Main/Source/misc/Effort.CsvTool/App.xaml: -------------------------------------------------------------------------------- 1 |  24 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /Main/Source/misc/Effort.CsvTool/App.xaml.cs: -------------------------------------------------------------------------------- 1 | // ---------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) 2011-2013 Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // ---------------------------------------------------------------------------------- 24 | 25 | using System.Windows; 26 | 27 | namespace Effort.CsvTool 28 | { 29 | /// 30 | /// Interaction logic for App.xaml 31 | /// 32 | public partial class App : Application 33 | { 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Main/Source/misc/Effort.CsvTool/Effort.CsvTool.csproj.vspscc: -------------------------------------------------------------------------------- 1 | "" 2 | { 3 | "FILE_VERSION" = "9237" 4 | "ENLISTMENT_CHOICE" = "NEVER" 5 | "PROJECT_FILE_RELATIVE_PATH" = "" 6 | "NUMBER_OF_EXCLUDED_FILES" = "0" 7 | "ORIGINAL_PROJECT_FILE_PATH" = "" 8 | "NUMBER_OF_NESTED_PROJECTS" = "0" 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" 10 | } 11 | -------------------------------------------------------------------------------- /Main/Source/misc/Effort.CsvTool/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.225 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace Effort.CsvTool.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Main/Source/misc/Effort.CsvTool/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Main/Source/misc/Effort.CsvTool/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Main/Source/misc/Effort/Effort.csproj.vspscc: -------------------------------------------------------------------------------- 1 | "" 2 | { 3 | "FILE_VERSION" = "9237" 4 | "ENLISTMENT_CHOICE" = "NEVER" 5 | "PROJECT_FILE_RELATIVE_PATH" = "" 6 | "NUMBER_OF_EXCLUDED_FILES" = "0" 7 | "ORIGINAL_PROJECT_FILE_PATH" = "" 8 | "NUMBER_OF_NESTED_PROJECTS" = "0" 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" 10 | } 11 | -------------------------------------------------------------------------------- /Main/Source/misc/Effort/Settings.StyleCop: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | db 5 | nullable 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | False 14 | 15 | 16 | 17 | 18 | False 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | db 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Main/Source/misc/Effort/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Extra.EF6.Tests/FinalPublicKey.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/test/Effort.Extra.EF6.Tests/FinalPublicKey.snk -------------------------------------------------------------------------------- /Main/Source/test/Effort.Extra.EF6.Tests/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Effort.Extra.EF6.Tests")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Hewlett-Packard")] 12 | [assembly: AssemblyProduct("Effort.Extra.EF6.Tests")] 13 | [assembly: AssemblyCopyright("Copyright © Hewlett-Packard 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("8605dff3-54fa-4227-85b3-1a2a1e7398ca")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Extra.EF6.Tests/app.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Extra.EF6.Tests/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Extra.Tests/Behaviours/CreatesNewTableBehaviour.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace Effort.Extra.Tests.Behaviours 3 | { 4 | using System; 5 | using System.Collections.Generic; 6 | using Machine.Specifications; 7 | 8 | [Behaviors] 9 | internal class CreatesNewTableBehaviour 10 | { 11 | protected static Exception thrown_exception; 12 | protected static string table_name; 13 | protected static IList result; 14 | 15 | It does_not_throw_an_exception = () => thrown_exception.ShouldBeNull(); 16 | 17 | It the_table_is_not_null = () => result.ShouldNotBeNull(); 18 | 19 | It the_table_is_empty = () => result.ShouldBeEmpty(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Extra.Tests/Behaviours/ReturnsExistingTableBehaviour.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Effort.Extra.Tests.Behaviours 3 | { 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Linq; 7 | using Machine.Specifications; 8 | 9 | [Behaviors] 10 | internal class ReturnsExistingTableBehaviour 11 | { 12 | protected static Exception thrown_exception; 13 | protected static string table_name; 14 | protected static IList result; 15 | protected static IList expected_result; 16 | 17 | It does_not_throw_an_exception = () => thrown_exception.ShouldBeNull(); 18 | 19 | It the_table_is_not_null = () => result.ShouldNotBeNull(); 20 | 21 | It the_table_contains_the_existing_items = () => 22 | { 23 | expected_result.All(result.Contains).ShouldBeTrue(); 24 | result.All(expected_result.Contains).ShouldBeTrue(); 25 | }; 26 | } 27 | } -------------------------------------------------------------------------------- /Main/Source/test/Effort.Extra.Tests/Builder.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace Effort.Extra.Tests 3 | { 4 | using System; 5 | using System.ComponentModel.DataAnnotations.Schema; 6 | using System.Linq; 7 | using System.Reflection; 8 | using Effort.DataLoaders; 9 | 10 | internal static class Builder 11 | { 12 | public static TableDescription CreateTableDescription(string name, Type type) 13 | { 14 | var ctor = typeof(TableDescription).GetConstructors(BindingFlags.Instance | BindingFlags.NonPublic) 15 | .First(c => c.GetParameters().Length == 2); 16 | var columns = type.GetProperties().Select(CreateColumnDescription).ToArray(); 17 | 18 | return (TableDescription)ctor.Invoke(new object[] { name, columns }); 19 | } 20 | 21 | private static ColumnDescription CreateColumnDescription(PropertyInfo property) 22 | { 23 | var ctor = typeof(ColumnDescription).GetConstructors(BindingFlags.Instance | BindingFlags.NonPublic).First(); 24 | return (ColumnDescription)ctor.Invoke(new object[] { GetPropertyName(property), property.PropertyType }); 25 | } 26 | 27 | private static string GetPropertyName(PropertyInfo property) 28 | { 29 | var columnAttribute = property.GetCustomAttribute(); 30 | return columnAttribute != null ? columnAttribute.Name : property.Name; 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Main/Source/test/Effort.Extra.Tests/FinalPublicKey.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/test/Effort.Extra.Tests/FinalPublicKey.snk -------------------------------------------------------------------------------- /Main/Source/test/Effort.Extra.Tests/Person.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace Effort.Extra.Tests 3 | { 4 | public class Person 5 | { 6 | public string Name { get; set; } 7 | } 8 | } -------------------------------------------------------------------------------- /Main/Source/test/Effort.Extra.Tests/PersonWithAttribute.cs: -------------------------------------------------------------------------------- 1 | namespace Effort.Extra.Tests 2 | { 3 | using System.ComponentModel.DataAnnotations.Schema; 4 | 5 | public class PersonWithAttribute 6 | { 7 | [Column("Alias")] 8 | public string Name { get; set; } 9 | } 10 | } -------------------------------------------------------------------------------- /Main/Source/test/Effort.Extra.Tests/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | 3 | [assembly: AssemblyTitle("Effort.Extra.Tests")] -------------------------------------------------------------------------------- /Main/Source/test/Effort.Extra.Tests/app.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Extra.Tests/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/App.Config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Features/Content/Foo.csv: -------------------------------------------------------------------------------- 1 | Id,Value 2 | 1,"Foo" -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Features/EmptyEntity.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Data.Features 26 | { 27 | public class EmptyEntity 28 | { 29 | public int Id { get; set; } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Features/EnumFieldType.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // ------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Data.Features 26 | { 27 | public enum EnumFieldType 28 | { 29 | EnumValue1, 30 | EnumValue2 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Features/FlagEnumFieldType.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // ------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Data.Features 26 | { 27 | using System; 28 | 29 | [Flags] 30 | public enum FlagEnumFieldType 31 | { 32 | Value1 = 1, 33 | Value2 = 2 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Features/TimeFieldEntity.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Data.Features 26 | { 27 | using System; 28 | 29 | public class TimeFieldEntity 30 | { 31 | public int Id { get; set; } 32 | 33 | public TimeSpan Time { get; set; } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Category.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class Category 20 | { 21 | public virtual int CategoryID { get; set; } 22 | 23 | public virtual string CategoryName { get; set; } 24 | 25 | public virtual string Description { get; set; } 26 | 27 | public virtual byte[] Picture { get; set; } 28 | 29 | public virtual ICollection Products { get; set; } 30 | 31 | 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Content/CustomerCustomerDemo.csv: -------------------------------------------------------------------------------- 1 | CustomerID,CustomerTypeID 2 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Content/CustomerDemographics.csv: -------------------------------------------------------------------------------- 1 | CustomerTypeID,CustomerDesc 2 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Content/EmployeeTerritories.csv: -------------------------------------------------------------------------------- 1 | EmployeeID,TerritoryID 2 | 1,"06897" 3 | 1,"19713" 4 | 2,"01581" 5 | 2,"01730" 6 | 2,"01833" 7 | 2,"02116" 8 | 2,"02139" 9 | 2,"02184" 10 | 2,"40222" 11 | 3,"30346" 12 | 3,"31406" 13 | 3,"32859" 14 | 3,"33607" 15 | 4,"20852" 16 | 4,"27403" 17 | 4,"27511" 18 | 5,"02903" 19 | 5,"07960" 20 | 5,"08837" 21 | 5,"10019" 22 | 5,"10038" 23 | 5,"11747" 24 | 5,"14450" 25 | 6,"85014" 26 | 6,"85251" 27 | 6,"98004" 28 | 6,"98052" 29 | 6,"98104" 30 | 7,"60179" 31 | 7,"60601" 32 | 7,"80202" 33 | 7,"80909" 34 | 7,"90405" 35 | 7,"94025" 36 | 7,"94105" 37 | 7,"95008" 38 | 7,"95054" 39 | 7,"95060" 40 | 8,"19428" 41 | 8,"44122" 42 | 8,"45839" 43 | 8,"53404" 44 | 9,"03049" 45 | 9,"03801" 46 | 9,"48075" 47 | 9,"48084" 48 | 9,"48304" 49 | 9,"55113" 50 | 9,"55439" 51 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Content/Northwind.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/test/Effort.Test.Data.EF6/Northwind/Content/Northwind.sql -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Content/Region.csv: -------------------------------------------------------------------------------- 1 | RegionID,RegionDescription 2 | 1,"Eastern " 3 | 2,"Western " 4 | 3,"Northern " 5 | 4,"Southern " 6 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Content/Shippers.csv: -------------------------------------------------------------------------------- 1 | ShipperID,CompanyName,Phone 2 | 1,"Speedy Express","(503) 555-9831" 3 | 2,"United Package","(503) 555-3199" 4 | 3,"Federal Shipping","(503) 555-9931" 5 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Customer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class Customer 20 | { 21 | public virtual string CustomerID { get; set; } 22 | 23 | public virtual string CompanyName { get; set; } 24 | 25 | public virtual string ContactName { get; set; } 26 | 27 | public virtual string ContactTitle { get; set; } 28 | 29 | public virtual string Address { get; set; } 30 | 31 | public virtual string City { get; set; } 32 | 33 | public virtual string Region { get; set; } 34 | 35 | public virtual string PostalCode { get; set; } 36 | 37 | public virtual string Country { get; set; } 38 | 39 | public virtual string Phone { get; set; } 40 | 41 | public virtual string Fax { get; set; } 42 | 43 | public virtual ICollection Orders { get; set; } 44 | 45 | public virtual ICollection CustomerDemographics { get; set; } 46 | 47 | 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/CustomerDemography.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class CustomerDemography 20 | { 21 | public virtual string CustomerTypeID { get; set; } 22 | 23 | public virtual string CustomerDesc { get; set; } 24 | 25 | public virtual ICollection Customers { get; set; } 26 | 27 | 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Northwind.DbContext.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System.Data.Entity; 11 | #if !EFOLD 12 | using System.Data.Entity.Core.EntityClient; 13 | #else 14 | using System.Data.EntityClient; 15 | #endif 16 | 17 | namespace Effort.Test.Data.Northwind 18 | { 19 | public class NorthwindDbContext : DbContext 20 | { 21 | #region Constructors 22 | 23 | public NorthwindDbContext(EntityConnection connection) 24 | : base(connection, true) 25 | { 26 | } 27 | 28 | #endregion 29 | 30 | #region ObjectSet Properties 31 | 32 | public IDbSet Categories { get; set; } 33 | 34 | public IDbSet CustomerDemographics { get; set; } 35 | 36 | public IDbSet Customers { get; set; } 37 | 38 | public IDbSet Employees { get; set; } 39 | 40 | public IDbSet OrderDetails { get; set; } 41 | 42 | public IDbSet Orders { get; set; } 43 | 44 | public IDbSet Products { get; set; } 45 | 46 | public IDbSet Regions { get; set; } 47 | 48 | public IDbSet Shippers { get; set; } 49 | 50 | public IDbSet Suppliers { get; set; } 51 | 52 | public IDbSet Territories { get; set; } 53 | 54 | #endregion 55 | 56 | 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Northwind.Designer.cs: -------------------------------------------------------------------------------- 1 | // Default code generation is disabled for model 'C:\Users\tom\Desktop\effort\Main\Source\Effort.Test.Data\Northwind\Northwind.edmx'. 2 | // To enable default code generation, change the value of the 'Code Generation Strategy' designer 3 | // property to an alternate value. This property is available in the Properties Window when the model is 4 | // open in the designer. -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Northwind.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Northwind1.Designer.cs: -------------------------------------------------------------------------------- 1 | // T4 code generation is enabled for model 'C:\Users\Jonathan\Documents\GitHub\EntityFramework-Effort\Main\Source\test\Effort.Test.Data.EF6\Northwind\Northwind.edmx'. 2 | // To enable legacy code generation, change the value of the 'Code Generation Strategy' designer 3 | // property to 'Legacy ObjectContext'. This property is available in the Properties Window when the model 4 | // is open in the designer. 5 | 6 | // If no context and entity classes have been generated, it may be because you created an empty model but 7 | // have not yet chosen which version of Entity Framework to use. To generate a context class and entity 8 | // classes for your model, open the model in the designer, right-click on the designer surface, and 9 | // select 'Update Model from Database...', 'Generate Database from Model...', or 'Add Code Generation 10 | // Item...'. -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/OrderDetail.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class OrderDetail 20 | { 21 | public virtual int OrderID { get; set; } 22 | 23 | public virtual int ProductID { get; set; } 24 | 25 | public virtual decimal UnitPrice { get; set; } 26 | 27 | public virtual short Quantity { get; set; } 28 | 29 | public virtual float Discount { get; set; } 30 | 31 | public virtual Order Order { get; set; } 32 | 33 | public virtual Product Product { get; set; } 34 | 35 | 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Product.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class Product 20 | { 21 | public virtual int ProductID { get; set; } 22 | 23 | public virtual string ProductName { get; set; } 24 | 25 | public virtual Nullable SupplierID { get; set; } 26 | 27 | public virtual Nullable CategoryID { get; set; } 28 | 29 | public virtual string QuantityPerUnit { get; set; } 30 | 31 | public virtual Nullable UnitPrice { get; set; } 32 | 33 | public virtual Nullable UnitsInStock { get; set; } 34 | 35 | public virtual Nullable UnitsOnOrder { get; set; } 36 | 37 | public virtual Nullable ReorderLevel { get; set; } 38 | 39 | public virtual bool Discontinued { get; set; } 40 | 41 | public virtual Category Category { get; set; } 42 | 43 | public virtual ICollection OrderDetails { get; set; } 44 | 45 | public virtual Supplier Supplier { get; set; } 46 | 47 | 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Region.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class Region 20 | { 21 | public virtual int RegionID { get; set; } 22 | 23 | public virtual string RegionDescription { get; set; } 24 | 25 | public virtual ICollection Territories { get; set; } 26 | 27 | 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Shipper.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class Shipper 20 | { 21 | public virtual int ShipperID { get; set; } 22 | 23 | public virtual string CompanyName { get; set; } 24 | 25 | public virtual string Phone { get; set; } 26 | 27 | public virtual ICollection Orders { get; set; } 28 | 29 | 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Supplier.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class Supplier 20 | { 21 | public virtual int SupplierID { get; set; } 22 | 23 | public virtual string CompanyName { get; set; } 24 | 25 | public virtual string ContactName { get; set; } 26 | 27 | public virtual string ContactTitle { get; set; } 28 | 29 | public virtual string Address { get; set; } 30 | 31 | public virtual string City { get; set; } 32 | 33 | public virtual string Region { get; set; } 34 | 35 | public virtual string PostalCode { get; set; } 36 | 37 | public virtual string Country { get; set; } 38 | 39 | public virtual string Phone { get; set; } 40 | 41 | public virtual string Fax { get; set; } 42 | 43 | public virtual string HomePage { get; set; } 44 | 45 | public virtual ICollection Products { get; set; } 46 | 47 | 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Northwind/Territory.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class Territory 20 | { 21 | public virtual string TerritoryID { get; set; } 22 | 23 | public virtual string TerritoryDescription { get; set; } 24 | 25 | public virtual int RegionID { get; set; } 26 | 27 | public virtual Region Region { get; set; } 28 | 29 | public virtual ICollection Employees { get; set; } 30 | 31 | 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Effort.Test.Data")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("Effort.Test.Data")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2012")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("20efadf6-9c30-4c87-9e60-197fc8e31bfa")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data.EF6/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/App.Config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Features/Content/Foo.csv: -------------------------------------------------------------------------------- 1 | Id,Value 2 | 1,"Foo" -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Features/EmptyEntity.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Data.Features 26 | { 27 | public class EmptyEntity 28 | { 29 | public int Id { get; set; } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Features/EnumFieldType.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // ------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Data.Features 26 | { 27 | public enum EnumFieldType 28 | { 29 | EnumValue1, 30 | EnumValue2 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Features/FlagEnumFieldType.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // ------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Data.Features 26 | { 27 | using System; 28 | 29 | [Flags] 30 | public enum FlagEnumFieldType 31 | { 32 | Value1 = 1, 33 | Value2 = 2 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Features/StringFieldEntity.cs: -------------------------------------------------------------------------------- 1 | // ---------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // ---------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Data.Features 26 | { 27 | using System.ComponentModel.DataAnnotations; 28 | 29 | public class StringFieldEntity 30 | { 31 | [Key] 32 | public int Id { get; set; } 33 | 34 | public string Value { get; set; } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Features/TimeFieldEntity.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Data.Features 26 | { 27 | using System; 28 | 29 | public class TimeFieldEntity 30 | { 31 | public int Id { get; set; } 32 | 33 | public TimeSpan Time { get; set; } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/FinalPublicKey.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/test/Effort.Test.Data/FinalPublicKey.snk -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/Category.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class Category 20 | { 21 | public virtual int CategoryID { get; set; } 22 | 23 | public virtual string CategoryName { get; set; } 24 | 25 | public virtual string Description { get; set; } 26 | 27 | public virtual byte[] Picture { get; set; } 28 | 29 | public virtual ICollection Products { get; set; } 30 | 31 | 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/Content/CustomerCustomerDemo.csv: -------------------------------------------------------------------------------- 1 | CustomerID,CustomerTypeID 2 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/Content/CustomerDemographics.csv: -------------------------------------------------------------------------------- 1 | CustomerTypeID,CustomerDesc 2 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/Content/EmployeeTerritories.csv: -------------------------------------------------------------------------------- 1 | EmployeeID,TerritoryID 2 | 1,"06897" 3 | 1,"19713" 4 | 2,"01581" 5 | 2,"01730" 6 | 2,"01833" 7 | 2,"02116" 8 | 2,"02139" 9 | 2,"02184" 10 | 2,"40222" 11 | 3,"30346" 12 | 3,"31406" 13 | 3,"32859" 14 | 3,"33607" 15 | 4,"20852" 16 | 4,"27403" 17 | 4,"27511" 18 | 5,"02903" 19 | 5,"07960" 20 | 5,"08837" 21 | 5,"10019" 22 | 5,"10038" 23 | 5,"11747" 24 | 5,"14450" 25 | 6,"85014" 26 | 6,"85251" 27 | 6,"98004" 28 | 6,"98052" 29 | 6,"98104" 30 | 7,"60179" 31 | 7,"60601" 32 | 7,"80202" 33 | 7,"80909" 34 | 7,"90405" 35 | 7,"94025" 36 | 7,"94105" 37 | 7,"95008" 38 | 7,"95054" 39 | 7,"95060" 40 | 8,"19428" 41 | 8,"44122" 42 | 8,"45839" 43 | 8,"53404" 44 | 9,"03049" 45 | 9,"03801" 46 | 9,"48075" 47 | 9,"48084" 48 | 9,"48304" 49 | 9,"55113" 50 | 9,"55439" 51 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/Content/Northwind.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/test/Effort.Test.Data/Northwind/Content/Northwind.sql -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/Content/Region.csv: -------------------------------------------------------------------------------- 1 | RegionID,RegionDescription 2 | 1,"Eastern " 3 | 2,"Western " 4 | 3,"Northern " 5 | 4,"Southern " 6 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/Content/Shippers.csv: -------------------------------------------------------------------------------- 1 | ShipperID,CompanyName,Phone 2 | 1,"Speedy Express","(503) 555-9831" 3 | 2,"United Package","(503) 555-3199" 4 | 3,"Federal Shipping","(503) 555-9931" 5 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/Customer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class Customer 20 | { 21 | public virtual string CustomerID { get; set; } 22 | 23 | public virtual string CompanyName { get; set; } 24 | 25 | public virtual string ContactName { get; set; } 26 | 27 | public virtual string ContactTitle { get; set; } 28 | 29 | public virtual string Address { get; set; } 30 | 31 | public virtual string City { get; set; } 32 | 33 | public virtual string Region { get; set; } 34 | 35 | public virtual string PostalCode { get; set; } 36 | 37 | public virtual string Country { get; set; } 38 | 39 | public virtual string Phone { get; set; } 40 | 41 | public virtual string Fax { get; set; } 42 | 43 | public virtual ICollection Orders { get; set; } 44 | 45 | public virtual ICollection CustomerDemographics { get; set; } 46 | 47 | 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/CustomerDemography.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class CustomerDemography 20 | { 21 | public virtual string CustomerTypeID { get; set; } 22 | 23 | public virtual string CustomerDesc { get; set; } 24 | 25 | public virtual ICollection Customers { get; set; } 26 | 27 | 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/Northwind.DbContext.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System.Data.Entity; 11 | #if !EFOLD 12 | using System.Data.Entity.Core.EntityClient; 13 | #else 14 | using System.Data.EntityClient; 15 | #endif 16 | 17 | namespace Effort.Test.Data.Northwind 18 | { 19 | public class NorthwindDbContext : DbContext 20 | { 21 | #region Constructors 22 | 23 | public NorthwindDbContext(EntityConnection connection) 24 | : base(connection, true) 25 | { 26 | } 27 | 28 | #endregion 29 | 30 | #region ObjectSet Properties 31 | 32 | public IDbSet Categories { get; set; } 33 | 34 | public IDbSet CustomerDemographics { get; set; } 35 | 36 | public IDbSet Customers { get; set; } 37 | 38 | public IDbSet Employees { get; set; } 39 | 40 | public IDbSet OrderDetails { get; set; } 41 | 42 | public IDbSet Orders { get; set; } 43 | 44 | public IDbSet Products { get; set; } 45 | 46 | public IDbSet Regions { get; set; } 47 | 48 | public IDbSet Shippers { get; set; } 49 | 50 | public IDbSet Suppliers { get; set; } 51 | 52 | public IDbSet Territories { get; set; } 53 | 54 | #endregion 55 | 56 | 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/Northwind.Designer.cs: -------------------------------------------------------------------------------- 1 | // T4 code generation is enabled for model 'C:\Users\Jonathan\Documents\GitHub\EntityFramework-Effort\Main\Source\test\Effort.Test.Data\Northwind\Northwind.edmx'. 2 | // To enable legacy code generation, change the value of the 'Code Generation Strategy' designer 3 | // property to 'Legacy ObjectContext'. This property is available in the Properties Window when the model 4 | // is open in the designer. 5 | 6 | // If no context and entity classes have been generated, it may be because you created an empty model but 7 | // have not yet chosen which version of Entity Framework to use. To generate a context class and entity 8 | // classes for your model, open the model in the designer, right-click on the designer surface, and 9 | // select 'Update Model from Database...', 'Generate Database from Model...', or 'Add Code Generation 10 | // Item...'. -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/Northwind.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/OrderDetail.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class OrderDetail 20 | { 21 | public virtual int OrderID { get; set; } 22 | 23 | public virtual int ProductID { get; set; } 24 | 25 | public virtual decimal UnitPrice { get; set; } 26 | 27 | public virtual short Quantity { get; set; } 28 | 29 | public virtual float Discount { get; set; } 30 | 31 | public virtual Order Order { get; set; } 32 | 33 | public virtual Product Product { get; set; } 34 | 35 | 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/Product.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class Product 20 | { 21 | public virtual int ProductID { get; set; } 22 | 23 | public virtual string ProductName { get; set; } 24 | 25 | public virtual Nullable SupplierID { get; set; } 26 | 27 | public virtual Nullable CategoryID { get; set; } 28 | 29 | public virtual string QuantityPerUnit { get; set; } 30 | 31 | public virtual Nullable UnitPrice { get; set; } 32 | 33 | public virtual Nullable UnitsInStock { get; set; } 34 | 35 | public virtual Nullable UnitsOnOrder { get; set; } 36 | 37 | public virtual Nullable ReorderLevel { get; set; } 38 | 39 | public virtual bool Discontinued { get; set; } 40 | 41 | public virtual Category Category { get; set; } 42 | 43 | public virtual ICollection OrderDetails { get; set; } 44 | 45 | public virtual Supplier Supplier { get; set; } 46 | 47 | 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/Region.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class Region 20 | { 21 | public virtual int RegionID { get; set; } 22 | 23 | public virtual string RegionDescription { get; set; } 24 | 25 | public virtual ICollection Territories { get; set; } 26 | 27 | 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/Shipper.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class Shipper 20 | { 21 | public virtual int ShipperID { get; set; } 22 | 23 | public virtual string CompanyName { get; set; } 24 | 25 | public virtual string Phone { get; set; } 26 | 27 | public virtual ICollection Orders { get; set; } 28 | 29 | 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/Supplier.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class Supplier 20 | { 21 | public virtual int SupplierID { get; set; } 22 | 23 | public virtual string CompanyName { get; set; } 24 | 25 | public virtual string ContactName { get; set; } 26 | 27 | public virtual string ContactTitle { get; set; } 28 | 29 | public virtual string Address { get; set; } 30 | 31 | public virtual string City { get; set; } 32 | 33 | public virtual string Region { get; set; } 34 | 35 | public virtual string PostalCode { get; set; } 36 | 37 | public virtual string Country { get; set; } 38 | 39 | public virtual string Phone { get; set; } 40 | 41 | public virtual string Fax { get; set; } 42 | 43 | public virtual string HomePage { get; set; } 44 | 45 | public virtual ICollection Products { get; set; } 46 | 47 | 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Northwind/Territory.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated from a template. 4 | // 5 | // Changes to this file may cause incorrect behavior and will be lost if 6 | // the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | 10 | using System; 11 | using System.Collections; 12 | using System.Collections.Generic; 13 | using System.Collections.ObjectModel; 14 | using System.Collections.Specialized; 15 | 16 | namespace Effort.Test.Data.Northwind 17 | { 18 | 19 | public class Territory 20 | { 21 | public virtual string TerritoryID { get; set; } 22 | 23 | public virtual string TerritoryDescription { get; set; } 24 | 25 | public virtual int RegionID { get; set; } 26 | 27 | public virtual Region Region { get; set; } 28 | 29 | public virtual ICollection Employees { get; set; } 30 | 31 | 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Effort.Test.Data")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("Effort.Test.Data")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2012")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("20efadf6-9c30-4c87-9e60-197fc8e31bfa")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.Data/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.EF6/App.Config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.EF6/Effort.Test.EF.csproj.vspscc: -------------------------------------------------------------------------------- 1 | "" 2 | { 3 | "FILE_VERSION" = "9237" 4 | "ENLISTMENT_CHOICE" = "NEVER" 5 | "PROJECT_FILE_RELATIVE_PATH" = "" 6 | "NUMBER_OF_EXCLUDED_FILES" = "0" 7 | "ORIGINAL_PROJECT_FILE_PATH" = "" 8 | "NUMBER_OF_NESTED_PROJECTS" = "0" 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" 10 | } 11 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.EF6/Internal/Resources/EmptyResource.txt: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.EF6/Internal/Resources/Foo.csv: -------------------------------------------------------------------------------- 1 | Id,Value 2 | 1,"Foo" -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.EF6/Internal/ResultSets/IResultSet.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Internal.ResultSets 26 | { 27 | using System.Collections.Generic; 28 | 29 | internal interface IResultSet 30 | { 31 | IEnumerable Elements { get; } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.EF6/Settings.StyleCop: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | False 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test.EF6/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test/App.Config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test/Effort.Test.csproj.vspscc: -------------------------------------------------------------------------------- 1 | "" 2 | { 3 | "FILE_VERSION" = "9237" 4 | "ENLISTMENT_CHOICE" = "NEVER" 5 | "PROJECT_FILE_RELATIVE_PATH" = "" 6 | "NUMBER_OF_EXCLUDED_FILES" = "0" 7 | "ORIGINAL_PROJECT_FILE_PATH" = "" 8 | "NUMBER_OF_NESTED_PROJECTS" = "0" 9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER" 10 | } 11 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test/FinalPublicKey.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/Main/Source/test/Effort.Test/FinalPublicKey.snk -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test/Internal/Resources/EmptyResource.txt: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test/Internal/Resources/Foo.csv: -------------------------------------------------------------------------------- 1 | Id,Value 2 | 1,"Foo" -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test/Internal/ResultSets/IResultSet.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Internal.ResultSets 26 | { 27 | using System.Collections.Generic; 28 | 29 | internal interface IResultSet 30 | { 31 | IEnumerable Elements { get; } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test/Internal/ResultSets/IResultSetElement.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------- 2 | // 3 | // Copyright (C) Effort Team 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | // 23 | // -------------------------------------------------------------------------------------------- 24 | 25 | namespace Effort.Test.Internal.ResultSets 26 | { 27 | public interface IResultSetElement 28 | { 29 | object GetValue(string name); 30 | 31 | bool HasValue(string name); 32 | 33 | string[] FieldNames { get; } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test/Settings.StyleCop: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | False 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Main/Source/test/Effort.Test/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /dapper-plus-sponsor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/dapper-plus-sponsor.png -------------------------------------------------------------------------------- /entity-framework-extensions-sponsor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zzzprojects/EntityFramework-Effort/80ed10e09a4b89b90d11c4856e785eecaf1bdea0/entity-framework-extensions-sponsor.png --------------------------------------------------------------------------------