Git Product home page Git Product logo

Comments (8)

 avatar commented on May 10, 2024

Thank you icebits for reporting this issue.

It looks to be caused when we try to read the model.

Tomorrow, we will try our code with some model we own to see if we find something missing.

If you can, you can send us directly your model to let us test with it. This will greatly help us to find the issue.

Database First
Simply send us your .edmx file.

Code First
You can generate your XML model by using the following method.

public string GetModelXDocument(DbContext context)
{
    XDocument doc;
    using (var memoryStream = new MemoryStream())
    {
        using (XmlWriter xmlWriter = XmlWriter.Create(memoryStream, new XmlWriterSettings { Indent = true }))
        {
            EdmxWriter.WriteEdmx(context, xmlWriter);
        }

        memoryStream.Position = 0;

        doc = XDocument.Load(memoryStream);
    }
    return doc.ToString();
}

from entityframework-plus.

icebits avatar icebits commented on May 10, 2024

Hi, where do I send the edmx? By email? Thanks.

from entityframework-plus.

 avatar commented on May 10, 2024

Yes sorry, I forgot to add it.

You can send it here: [email protected]

from entityframework-plus.

 avatar commented on May 10, 2024

The .emdx has been received and the answer by email sent.

We discovered the XML was malformatted, and the end tag for "EntityContainerMapping" was missed which cause the issue.

We are waiting for the confirmation if our library is working again by adding the missing tag.

from entityframework-plus.

icebits avatar icebits commented on May 10, 2024

Hi, must be my mistake over removed the data. I have sent you the untouch edmx for your perusal. Sorry.

from entityframework-plus.

 avatar commented on May 10, 2024

The v1.3.6 has been released.

The issue was caused due to the GetModelName method using the database connection instead of Entity Connection to get the model name.

Let us know if this version is now working

from entityframework-plus.

icebits avatar icebits commented on May 10, 2024

Hi, the new updates working fine. Thank you for your quick fixed.

from entityframework-plus.

 avatar commented on May 10, 2024

Closing: User confirmed the fix is working

from entityframework-plus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.