public override void EnsureExtendedTableUpToDate(BootFX.Common.Entities.EntityType entityType)
        {
            // create a new database update args...
            DatabaseUpdateArgs args = new DatabaseUpdateArgs();

            args.LimitEntityTypes.Add(entityType);

            // update...  this will magically create or update the associated table.
            DatabaseUpdate.Current.Update(null, args);
        }
        public override IWorkUnit[] GetUpdateWorkUnits(object entity, BootFX.Common.Entities.EntityType et, BootFX.Common.Entities.EntityField[] modifiedFields)
        {
            if (entity == null)
            {
                throw new ArgumentNullException("entity");
            }
            if (et == null)
            {
                throw new ArgumentNullException("et");
            }

            // get...
            object[] values = et.Storage.GetValues(entity, modifiedFields);
            return(new WorkUnit[] { new ColumnPerFieldUpdateWorkUnit(et, entity, modifiedFields, values) });
        }
 public override bool IsPropertyInUse(BootFX.Common.Entities.EntityType entityType, string name)
 {
     return(false);
 }
 public override IWorkUnit[] GetDeleteWorkUnits(object entity, BootFX.Common.Entities.EntityType et, BootFX.Common.Entities.EntityField[] modifiedFields)
 {
     return(new WorkUnit[] { new ColumnPerFieldDeleteWorkUnit(et, entity) });
 }