Comments (8)
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.
Hi, where do I send the edmx? By email? Thanks.
from entityframework-plus.
Yes sorry, I forgot to add it.
You can send it here: [email protected]
from entityframework-plus.
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.
Hi, must be my mistake over removed the data. I have sent you the untouch edmx for your perusal. Sorry.
from entityframework-plus.
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.
Hi, the new updates working fine. Thank you for your quick fixed.
from entityframework-plus.
Closing: User confirmed the fix is working
from entityframework-plus.
Related Issues (20)
- Future broke pooled DbContext instance because previous Future query was cancelled HOT 9
- Update creates invalid query EntityFramework-Plus with EF6 on Postgresql HOT 4
- Using Futures takes a lot of JIT compilation time HOT 8
- FromCache internally calls AsNoTracking<T> but should use AsNoTrackingWithIdentityResolution<T> HOT 5
- [8.0.0-rc.1] Exception on MergeBulk with ColumnPrimaryKeyExpression, Column not found HOT 9
- Entities with spatial types are not read/materialized. HOT 3
- FromCache: how to deal with lazy loading HOT 1
- Query Filters doesn't apply to JOIN or subqueries HOT 4
- Bulk operations applied to wrong schema
- Add NET 8 support HOT 2
- EF CORE 8 and Pgsql 8: Parameter without name in synchronize & merge HOT 1
- AuditConfiguration.Exclude(Func<object, bool>) allows any custom logic, but caches the result only by entity type HOT 7
- Future() throws error when being called from unit test project HOT 10
- AuditId property in AuditEntry DB Table, but not in Model HOT 4
- Problem with FromCache in EF8 when use "contains" (translated to openJson) HOT 4
- Query Future does not seem to work as expected. Two DB calls being made HOT 15
- Running parallel test using InMemoryDatabase - how to facilitate the global requirement of EntityFrameworkManager HOT 6
- Redis on FromCache (EfCore) HOT 1
- Use SetDynamic execute WhereDynamic HOT 7
- BulkMerge(Async) with IncludeGraphOperationBuilder IgnoreOnMergeUpdate not being honored HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from entityframework-plus.