Class ApplicationViewCollection

A collection of application views in the data dictionary.

System.Object
  Stonefield.Collections.BaseKeyedCollection<IApplicationView>
    Stonefield.Collections.BasePersistedCollection<IApplicationView>
      Stonefield.Query.DataDictionary.MetaDataCollection<IApplicationView>
        Stonefield.Query.DataDictionary.ApplicationViewCollection
public class ApplicationViewCollection : MetaDataCollection<IApplicationView>, IMetaDataCollection<IApplicationView>,
   IApplicationViewCollection

Class Members

MemberDescription

Constructor

Constructor.

CollectionChanged

Add

Adds an item to the collection.

public virtual void Add(IApplicationView item);

CanRemoveItem

Determines if the item can be removed from the collection and the table.

public virtual bool CanRemoveItem(IApplicationView item);

CanSaveItem

Determines if the specified item can be saved.

public virtual bool CanSaveItem(IApplicationView item);

Clear

Clears the collection.

public virtual void Clear();

Contains

Returns true if the collection contains the specified item.

public sealed bool Contains(IApplicationView item);

CopyTo

public virtual void CopyTo(IApplicationView[] array,
    int arrayIndex);

CreateTable

Creates the table if it doesn't exist using the specified open connection.

public virtual void CreateTable(IDbConnection conn);

public virtual void CreateTable();

DeleteItem

Removes the specified item from the table and the collection.

public virtual bool DeleteItem(string ID);

public virtual bool DeleteItem(IApplicationView item);

GetApplicationViewsInDataGroup

Returns a collection of application views that are in the specified data group.

public sealed List<IApplicationView> GetApplicationViewsInDataGroup(IDataGroup dataGroup,
    IApplicationView parentAppView);

GetEnumerator

Returns an enumerator that iterates through the collection.

public virtual IEnumerator<IApplicationView> GetEnumerator();

GetItem

Returns the item with the specified name or ID.

public sealed IApplicationView GetItem(string name);

public sealed IApplicationView GetItem(int index);

GetItems

Returns an array of application views that are in the specified data group.

public IApplicationView[] GetItems(string dataGroupID,
    string parentAppViewID);

public IApplicationView[] GetItems();

LoadCollection

Loads the collection from the table.

public virtual void LoadCollection();

public virtual void LoadCollection(IDbConnection conn);

public virtual void LoadCollection(IDbConnection conn,
    bool checkForDuplicates);

New

Creates an item and adds it to the collection.

public virtual IApplicationView New(string name);

public virtual IApplicationView New();

Remove

Removes an item from the collection.

public virtual bool Remove(IApplicationView item);

SaveItem

Saves the specified item to the table.

public virtual bool SaveItem(IApplicationView item);

SaveItemStudio

Saves a Stonefield Query Studio object.

public virtual IApplicationView SaveItemStudio(object item);

Count

The number of items in the collection.

IsReadOnly

Indicates whether the collection is read-only.

Item

Provider

The provider that connects to the database.

Requirements

Namespace: Stonefield.Query.DataDictionary
Assembly: datadictionary.dll