Class JoinTreeCollection

A collection of join trees in the data dictionary.

System.Object
  Stonefield.Collections.BaseKeyedCollection<IJoinTree>
    Stonefield.Collections.BasePersistedCollection<IJoinTree>
      Stonefield.Query.DataDictionary.MetaDataCollection<IJoinTree>
        Stonefield.Query.DataDictionary.JoinTreeCollection
public class JoinTreeCollection : MetaDataCollection<IJoinTree>, IMetaDataCollection<IJoinTree>

Class Members

MemberDescription

Constructor

Constructor.

CollectionChanged

Add

Adds an item to the collection.

public virtual void Add(IJoinTree item);

CanRemoveItem

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

public virtual bool CanRemoveItem(IJoinTree item);

CanSaveItem

Determines if the specified item can be saved.

public virtual bool CanSaveItem(IJoinTree item);

Clear

Clears the collection.

public virtual void Clear();

Contains

Returns true if the collection contains the specified item.

public sealed bool Contains(IJoinTree item);

CopyTo

public virtual void CopyTo(IJoinTree[] 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(IJoinTree item);

GetEnumerator

Returns an enumerator that iterates through the collection.

public virtual IEnumerator<IJoinTree> GetEnumerator();

GetItem

Returns the item with the specified name or ID.

public sealed IJoinTree GetItem(string name);

public sealed IJoinTree GetItem(int index);

GetItems

Returns an array with all items in the collection.

public IJoinTree[] 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 IJoinTree New(string name);

public virtual IJoinTree New();

Remove

Removes an item from the collection.

public virtual bool Remove(IJoinTree item);

SaveItem

Saves the specified item to the table.

public virtual bool SaveItem(IJoinTree item);

SaveItemStudio

Saves a Stonefield Query Studio object.

public virtual IJoinTree 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