Self-Tracking entities support
Self-Tracking entities support
Does dotConnect for MySQL support Self-Tracking entities?
I'm primarily interested in the following approach:
Is it supported? I ask because 1. it doesn't work in MySQL official provider 2. I can't test it using your provider as I get "connection lost" exception described in one of the above topics.
Code: Select all
public void Update(Entity entity)
{
using (var ctx = new RepositoryContext())
{
ctx.Entities.ApplyChanges(entity);
ctx.SaveChanges();
}
}