Exemplo n.º 1
0
        /// <summary> Performs the update action of an existing Entity to the persistent storage.</summary>
        /// <param name="updateRestriction">Predicate expression, meant for concurrency checks in an Update query</param>
        /// <returns>true if succeeded, false otherwise</returns>
        protected override bool UpdateEntity(IPredicate updateRestriction)
        {
            StatusDAO dao = (StatusDAO)CreateDAOInstance();

            return(dao.UpdateExisting(base.Fields, base.Transaction, updateRestriction));
        }