Exemplo n.º 1
0
 /// <summary>
 /// Modify data
 /// </summary>
 /// <param name="newData">New data</param>
 /// <param name="oldData">Old data</param>
 /// <returns>Return command</returns>
 public ICommand Modify(TEntity newData, TEntity oldData)
 {
     return(Modify(newData, oldData, QueryManager.AppendEntityIdentityCondition(newData)));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Execute delete data
 /// </summary>
 /// <param name="data">Data</param>
 /// <returns>Return delete command</returns>
 protected override ICommand ExecuteDeleteData(TEntity data)
 {
     return(ExecuteDeleteByCondition(QueryManager.AppendEntityIdentityCondition(data)));
 }