Comments (4)
Hello, I am late and have not done any operation for the EDM of OData.
private static IEdmModel GetEdmModel()
{
var builder = new ODataConventionModelBuilder();
builder.EntitySet<Book>("Books");
return builder.GetEdmModel();
}
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Default">
<EntityType Name="Book">
<Key>
<PropertyRef Name="Id"/>
</Key>
<Property Name="Id" Type="Edm.Int32" Nullable="false"/>
</EntityType>
</EntityContainer>
</Schema>
</edmx:DataServices>
</edmx:Edmx>
As shown above, what you said way of EDM is introduced into?
from abp.dynamicentity.
Hello, let me try to clarify.
Let's say the Book entity is a dynamic entity. Just like the computer entity in your sample project.
It would be really sweet if you could use that computer model in the API just like a regular model.
So you could create add a new computer to the database by doing a post to /api/Computer
from abp.dynamicentity.
Hi @sNakiex, the DynamicEntity module doesn't have separated HTTP APIs for each entity.
DynamicEntityAppService provides unified APIs for them.
But I'm sure you'll be interested in the EntityUi module, which provides real-time generated CRUD pages. It supports traditional entities and dynamic entities.
See: https://github.com/EasyAbp/Abp.EntityUi
from abp.dynamicentity.
Sorry for the late response, I haven't really had a lot of free time ^^
Would it be worthwhile to invest some time into researching if this is possible?
from abp.dynamicentity.
Related Issues (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 abp.dynamicentity.