コード例 #1
0
        protected override void RemoveItemInternal(ITable obj)
        {
            ITableContainer container = itemContainer as ITableContainer;

            if (container != null)
            {
                container.RemoveTable(obj);
            }
            else
            {
                throw new InvalidOperationException("No Entity attached to TableCollectionPresenter");
            }
        }