How to get around “Internal .NET Framework Data Provider error 1025.”?

后端 未结 3 1091
轮回少年
轮回少年 2021-01-06 01:11

I am using the Entity Framework 4.3, POCO, database first and I am getting the following error:

Internal .NET Framework Data Provider error 1025.

3条回答
  •  伪装坚强ぢ
    2021-01-06 01:17

    I have worked out a solution to this, in case anyone is interested. Doing the following is equivalent and does not result in the exception in the question:

    var res = ctx
        .Bs
        .GroupBy(b => b.A)
        .Where(g => g.All(b => names.Contains(b.SomeName)))
        .Select(g => g.Key);
    

    I do not know if this is the best way though!?

提交回复
热议问题