コード例 #1
0
 /// <summary>
 /// remove a Entity in DB (DP) for PK
 /// </summary>
 /// <param name="key">anonymous type descrive PKs properties</param>
 public void Remove(object key)
 {
     dpRepository.Remove(key);
 }
コード例 #2
0
        public void Remove_GoodEntity_OK()
        {
            object key = new { IdIncidencia = 141486 };

            instance.Remove(key);
        }