コード例 #1
0
        public IEnumerator <T> GetEnumerator()
        {
            if (!FlaggedForDeletion)
            {
                var items = this.CollectionGeneric.AsQueryable().ToList();

                foreach (var item in items)
                {
                    this.Context.AddObjectToTracking(item);
                }
            }
            //Need to figure out how this is goint to work with the tracker provider
            return(Loaded.GetEnumerator());
        }