示例#1
0
 private void Update(DomainObjectBase domainObject)
 {
     CreateTableIfNecessary(domainObject.GetType());
      domainObject.LastModified = GetLastModified();
      Connection.Update(domainObject);
 }
示例#2
0
 private void Delete(DomainObjectBase domainObject)
 {
     CreateTableIfNecessary(domainObject.GetType());
      Connection.Delete(domainObject.Id);
 }