コード例 #1
0
        public void Find_GoodFilter_OK()
        {
            object pkFields = new { IdIncidencia = 395 };

            GEHD_INCIDENCIAS result = instance.Find(pkFields);

            Assert.NotNull(result);
        }
コード例 #2
0
        /// <summary>
        /// Find entity in DB for PK (DP)
        /// </summary>
        /// <param name="pksFields">Object with pk properties</param>
        /// <returns>Entity for pk values</returns>
        public TEntity Find(object pksFields)
        {
            var result = dpRepository.Find(pksFields);

            return(result);
        }