Beispiel #1
0
        internal void LoadListItem <TEntity>(int fieldLookupValue, EntityListItemsCollection <TEntity> entityListItemsCollection)
            where TEntity : class, ITrackEntityState, ITrackOriginalValues, INotifyPropertyChanged, INotifyPropertyChanging, new()
        {
            ListItemCollection m_ListItemCollection = GetListItemCollection(entityListItemsCollection.MyList, CommonDefinition.GetCAMLSelectedID(fieldLookupValue, CommonDefinition.FieldID, CommonDefinition.CAMLTypeNumber));

            foreach (ListItem _listItemx in m_ListItemCollection)
            {
                entityListItemsCollection.Add(_listItemx);
            }
        }
Beispiel #2
0
 private void Add(TEntity entity)
 {
     m_AllItemsCollection.Add(entity);
     m_LocalItemsCollection.Add(entity);
 }