Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    雨宮丶優子
    @Kagamine
    I've replied you on GitHub @mhdshevilkp2441
    TiriSane
    @TiriSane
    Hello
    rshestakou
    @rshestakou
    Hi @Kagamine ,
    Could you tell me please when the 1.1.1 version will become available as a release?
    Thanks in advance.
    雨宮丶優子
    @Kagamine
    We will following the ef core version rule. in other words, we will keep it prerelease until the microsoft releases a new version.
    rshestakou
    @rshestakou
    Ok, thank you, but could you specify which version does it correspond to?
    Because in the EF Core Roadmap (https://github.com/aspnet/EntityFramework/wiki/Roadmap#ef-core-20) I can see that they're working on 2.0 version, and from the other side if I follow the link from the same article and see the ASP.NET Core Roadmap (https://github.com/aspnet/Home/wiki/Roadmap), there is specified 1.0.4 version...
    雨宮丶優子
    @Kagamine
    We are not working on ef core 2.0, because it is not a stable lib yet, keep maintaining a unstable is hard for a 3 people community. But we have covered 1.0.0 1.0.1 1.1.0 now. 1.1.1 is based on ef core 1.1.0 rtm.
    rshestakou
    @rshestakou
    Ok got it.
    So we don't know when RTM will come right?
    雨宮丶優子
    @Kagamine
    yep, but 1.1.1 pre is stable enough to use in production environment
    rshestakou
    @rshestakou
    Yes I believe so, but I'm waiting for another project using it, and I suppose it won't until it becomes a release :)
    pegasy
    @pegasy

    Hi, does this (Pomelo.EntityFrameworkCore.MySql) support ulong (mapped to bigint in mysql)?

    I created an entity with ulong as PK and I can add it and save it just fine but when I try to get it (using .Find or .FirstOrDefault) I get an exception saying "Unable to cast object of type 'System.Int64' to type 'System.UInt64'.".

    This is the stacktrace I get.
       at Microsoft.EntityFrameworkCore.Storage.SynchronizedMySqlDataReader.ConvertWithReflection[T](Int32 ordinal, InvalidCastException e)
       at Microsoft.EntityFrameworkCore.Storage.SynchronizedMySqlDataReader.GetFieldValue[T](Int32 ordinal)
       at lambda_method(Closure , DbDataReader )
       at Microsoft.EntityFrameworkCore.Storage.Internal.TypedRelationalValueBufferFactory.Create(DbDataReader dataReader)
       at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable.Enumerator.BufferlessMoveNext(Boolean buffer)
       at Microsoft.EntityFrameworkCore.Query.QueryMethodProvider.<_ShapedQuery>d__3`1.MoveNext()
       at Microsoft.EntityFrameworkCore.Query.Internal.MySqlQueryingEnumerable`1.MySqlEnumerator.MoveNext()
       at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
       at lambda_method(Closure , QueryContext )
       at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<>c__DisplayClass20_0`1.<CompileQueryCore>b__0(QueryContext qc)
       at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source, Expression`1 predicate)
       at RaidBot.Database.GuildRepository.GetGuild(UInt64 id) in E:\code\git\RaidBot\RaidBot\Database\GuildRepository.cs:line 25
    Qin
    @qinxiaowen
    ShadowDancer
    @ShadowDancer
    Hello. Does this provider support naming tables via [Table] Attribute? I have my
    [Table("tb_users")] public class Users
    entity, and in query log I see that application asked for Users table, not tb_users. Same goes for columns. Official doc states that this is supported in ef core, so may it be not supported in the provider?
    雨宮丶優子
    @Kagamine
    which version r u using
    ShadowDancer
    @ShadowDancer
    EntityFrameworkCore v1.1.1, Pomelo.EntityFrameworkCore.MySql 1.1.0
    雨宮丶優子
    @Kagamine
    please do not mix different versions
    if your ef core is 1.1.1 plz use pomelo 1.1.1-prerelease-*
    ShadowDancer
    @ShadowDancer
    @Kagamine Thanks!
    juandrn
    @juandrn
    pomelo acept ef-code first?
    雨宮丶優子
    @Kagamine
    yep
    juandrn
    @juandrn
    :smile:
    Qin
    @qinxiaowen
    morning
    Caleb Lloyd
    @caleblloyd
    Congrats to everyone on the 1.1.1 release! This release contains 44 issues fixed, performance increases, and upgrade to 1.0 RTM Tooling
    雨宮丶優子
    @Kagamine
    👍🏻👍🏻👍🏻
    Phong Bui
    @loveunCG
    你好
    Light
    @lightgh
    Hi eveyone! It's nice joining the room. I spend long hours fruitlessly trying to get mysql connector (the nuget package provided by oracle) to work with .netcore on ubuntu. I stumbled on this link to this gitter channel. Hope this Provider works!
    Because I can't wait to try it out. As I am using the latest version of .netcore :)
    Chaos
    @ChaosEngine
    Hi, is PomeloFoundation going to stringly sign it's packages? I am doing some work inside Pomelo.Extensions.Caching.MySql project space.
    It would be nice to have strongly signed assemblies of oyher Pomelo...dll
    Adrien Borderon
    @aborderon

    Hello, I'm coming to you about a problem with ASP.NET core 2.0 and EntityFramework Core 2.0.

    I can not execute migrations with dotnet cli.

    I have configured my .csproj file with the EntityFramework dependencies:
    <ItemGroup> <PackageReference Include = "Microsoft.AspNetCore.All" Version = "2.0.0" /> </ ItemGroup> <ItemGroup> <PackageReference Include = "Pomelo.EntityFrameworkCore.MySql" Version = "2.0.0-rtm-10058" /> <PackageReference Include = "Pomelo.EntityFrameworkCore.MySql.Design" Version = "1.1.2" /> </ ItemGroup> <ItemGroup> <DotNetCliToolReference Include = "Microsoft.EntityFrameworkCore.Tools.DotNet" Version = "2.0.0" /> <DotNetCliToolReference Include = "Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version = "2.0.0" /> </ ItemGroup>
    I configured my DbContext with DI in the statup.cs file :
    Services.AddDbContext <ApplicationDbContext> (options => options.UseMySql (Configuration.GetConnectionString ("MySQLConnection"));
    But when I launch :
    "Dotnet ef migrations add InitialCreate"

    I have the following errors:
    An error occurred while calling method 'BuildWebHost' on class 'Program'. Continuing without the application service provider. Error: Could not find file '/home/aborderon/workdir/Preconeo/ibis/ibis-core-api/src/IBISCoreAPI/bin/Debug/netcoreapp2.0/ef.xml'.
    Unable to create an object of type 'ApplicationDbContext'. Add an implementation of 'IDesignTimeDbContextFactory <ApplicationDbContext>' to the project, or see https://go.microsoft.com/fwlink/?linkid=851728 for additional patterns supported at design time.

    sorry for my bad english ...
    Chaos
    @ChaosEngine
    Adrien Borderon
    @aborderon
    Thank, @ChaosEngine, I solved my problem
    Phong Bui
    @loveunCG
    hello
    Valentin Soulas
    @soulasvalentin
    Hello guys. I'm trying to connect an ASP.NET Core 2.0 MVC application (Azure web app) to a MySql local server (Mysql in app) with pomelo 2.0.1 and I keep getting the same error: MySqlException: Unable to connect to any of the specified MySQL hosts. - MySqlConnector.Core.ServerSession+<ConnectAsync>d__56.MoveNext() in ServerSession.cs, line 212. I was wondering up to wich version of mysql does pomelo works with? Web app is running 5.7.9. But I don't think that's the problem. Any ideas?
    @aborderon About migrations. I had a similar problem. Then I just created the script using script-migrate and ran it.
    Chaos
    @ChaosEngine
    @valensoulas I could reproduce the same error by breaking my ConnectionString host name. Check that it is correct and accessible
    Roman Popovici
    @lambidu
    Hello guys, is anybody here?
    Chaos
    @ChaosEngine
    Yup, what is your issue?
    Denis Lopatin
    @DSpade-r
    Hello, author. Tell me, please, now I can use the pre-release version(Core 2.1)? From the resource myGET, the link for the Nuget console can not work.
    Denis Lopatin
    @DSpade-r
    Oh, sorry, my mistake - did not set up nuGET
    Denis Lopatin
    @DSpade-r
    QueryTypes does not work yet?
    Denis Lopatin
    @DSpade-r
    I have exception: Method not found: 'Void Microsoft.EntityFrameworkCore.Storage.Internal.RelationalParameterBuilder..ctor(Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper)'.
    Bernard Bondos
    @bond-os
    hi, is there a way to use guids without hypens in version 1.1.2?
    slaveoftime
    @albertwoo
    @DSpade-r I face the same issue, I think this is an issue in EF Core because it works fine with EF core 2.0.8 on dotnet sdk 2.1.200.
    brux88
    @brux88
    hi, iam using the pomelo package for ef core mysql connector, but i had the error of migration for renamecolumn, how can i fix?
    J Khalaf
    @Ciwan1859
    Hello everyone
    lousaibiao
    @lousaibiao
    any one?
    HelloKitty
    @HelloKitty
    Is OwnedAttribute implemented in the 2.1 RCs? I'm getting odd exceptions during migrations right now on types marked with Owned saying: Unable to determine the relationship represented by navigation property
    Might not be Pomelo related, migrations fail with SqlServer too. Nevermind!
    Amaury Gomez
    @armagen
    Hello everyone!, I'm trying to publish net core 2.1 project with pomelo rc 2.1 on rhel 7,I have this error with MySql.Data.MySqlClient.MySqlException (0x80004005): The user specified as a definer ('admin'@'localhost') does not exist ---> MySql.Data.MySqlClient.MySqlException (0x80004005): The user specified as a definer ('admin'@'localhost') does not exist
    at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in C:\projects\mysqlconnector\src\MySqlConnector\Core\ResultSet.cs:line 44, and i dont have on any part of my project that route , run very well at windows