public OnFlushDirty ( object entity, object id, object currentState, object previousState, string propertyNames, IType types ) : bool | ||
entity | object | |
id | object | |
currentState | object | |
previousState | object | |
propertyNames | string | |
types | IType | |
Résultat | bool |
public override bool OnFlushDirty(object entity, object id, object[] currentState, object[] previousState, string[] propertyNames, IType[] types)
{
ActiveRecordHooksBase hookTarget = entity as ActiveRecordHooksBase;
if (hookTarget != null)
{
return hookTarget.OnFlushDirty(id, new DictionaryAdapter(propertyNames, previousState), new DictionaryAdapter(propertyNames, currentState), types);
}
return false;
}