Bug #89310 | Creating a Database with Code First in EF Core | ||
---|---|---|---|
Submitted: | 19 Jan 2018 8:36 | Modified: | 23 Feb 2018 6:23 |
Reporter: | clover rookie | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | 6.10.5 | OS: | Windows |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | MySql.Data.EntityFrameworkCore |
[19 Jan 2018 8:36]
clover rookie
[23 Jan 2018 6:23]
Chiranjeevi Battula
Hello clover rookie, Thank you for the bug report. I could not repeat the issue at our end using with Visual Studio 2017, Connector/NET 6.10.5 version. example: https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework-core-example.html Could you please provide repeatable test case (exact steps/sample project, MySQL version,create tables statements etc. - please make it as private if you prefer) to confirm this issue at our end? Thanks, Chiranjeevi.
[1 Feb 2018 4:03]
Arturo Mendez
I am following the steps here: https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework-core-scaffold-exa... I am getting the same error: System.NotImplementedException: The method or operation is not implemented. at MySql.Data.EntityFrameworkCore.Scaffolding.Internal.MySQLDatabaseModelFactory.Create(String connectionString, IEnumerable`1 tables, IEnumerable`1 schemas) at Microsoft.EntityFrameworkCore.Scaffolding.Internal.RelationalScaffoldingModelFactory.Create(String connectionString, IEnumerable`1 tables, IEnumerable`1 schemas, Boolean useDatabaseNames) at Microsoft.EntityFrameworkCore.Scaffolding.Internal.ModelScaffolder.Generate(String connectionString, IEnumerable`1 tables, IEnumerable`1 schemas, String projectPath, String outputPath, String rootNamespace, String contextName, Boolean useDataAnnotations, Boolean overwriteFiles, Boolean useDatabaseNames) at Microsoft.EntityFrameworkCore.Design.Internal.DatabaseOperations.ScaffoldContext(String provider, String connectionString, String outputDir, String dbContextClassName, IEnumerable`1 schemas, IEnumerable`1 tables, Boolean useDataAnnotations, Boolean overwriteFiles, Boolean useDatabaseNames) at Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScaffoldContextImpl(String provider, String connectionString, String outputDir, String dbContextClassName, IEnumerable`1 schemaFilters, IEnumerable`1 tableFilters, Boolean useDataAnnotations, Boolean overwriteFiles, Boolean useDatabaseNames) at Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScaffoldContext.<>c__DisplayClass0_1.<.ctor>b__0() at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0() at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action) The method or operation is not implemented. The command executed was: dotnet ef dbcontext scaffold "server=localhost;port=3306;user=root;password=mypass;database=sakila" MySql.Data.EntityFrameworkCore -o sakila -f Using donet CLI. This in my project. <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>netcoreapp2.0</TargetFramework> </PropertyGroup> <ItemGroup> <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.0.1" /> <PackageReference Include="MySql.Data.EntityFrameworkCore" Version="8.0.10-rc" /> <PackageReference Include="MySql.Data.EntityFrameworkCore.Design" Version="8.0.10-rc" /> </ItemGroup> <ItemGroup> <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="2.0.1" /> </ItemGroup> </Project> I am using MySQL 5.7.
[24 Feb 2018 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".