private void Update(DomainObjectBase domainObject) { CreateTableIfNecessary(domainObject.GetType()); domainObject.LastModified = GetLastModified(); Connection.Update(domainObject); }
private void Delete(DomainObjectBase domainObject) { CreateTableIfNecessary(domainObject.GetType()); Connection.Delete(domainObject.Id); }