Does DataTables support entity framework?
Does DataTables support entity framework?
Dennis Chan
Posts: 18Questions: 8Answers: 0
Can I use entity framework to define the target table and to execute the database operation (insert, update, delete)?
Since I would like to record audit log through entity framework, DataTables cannot help me to achieve this purpose.
Any recommendation?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You can certainly use EF with DataTables since DataTables is a client-side library and doesn't really "care" about what is happening on the server-side. However, the provided Editor .NET libraries, which might be what you are referring to, do not currently support EF I'm sorry to say.
Allan
Is there any plan that EF will be supported in the future?
Not in the immediate future. Its currently blue sky (i.e. doesn't have a planned release, but it is something that is on the feature list for future implementation).
Allan
How about if the data source is not SQL server but e.g. web service, is there any path that I can control the way how I retrieve and update of the data source?
The Editor libraries support the Azure database (since that is basically just SQL Server). Aside from that as long as your server-side can talk to Editor's client-side then you can use anything you want on the server-side. But the provided Editor libraries are aimed at using an SQL server.
Allan