Exemple #1
0
        private void RemoveIndex(int index)
        {
            List <EntityParameter> innerList       = this.InnerList;
            EntityParameter        entityParameter = innerList[index];

            innerList.RemoveAt(index);
            entityParameter.ResetParent();
        }
Exemple #2
0
        private void Replace(int index, object newValue)
        {
            List <EntityParameter> innerList = this.InnerList;

            EntityParameterCollection.ValidateType(newValue);
            this.Validate(index, newValue);
            EntityParameter entityParameter = innerList[index];

            innerList[index] = (EntityParameter)newValue;
            entityParameter.ResetParent();
        }