Class JoinCollection

The collection of joins in the data dictionary.

System.Object
  Stonefield.Collections.BaseKeyedCollection<IJoin>
    Stonefield.Collections.BasePersistedCollection<IJoin>
      Stonefield.Query.DataDictionary.MetaDataCollection<IJoin>
        Stonefield.Query.DataDictionary.JoinCollection
public class JoinCollection : MetaDataCollection<IJoin>, IMetaDataCollection<IJoin>,
   IJoinCollection

Class Members

MemberDescription

Constructor

Constructor.

CollectionChanged

Add

Adds an item to the collection.

public virtual void Add(IJoin item);

Any

Determines whether any items satisfy the specified condition.

public bool Any(Func<IJoin,Boolean> predicate);

public sealed bool Any(Func<IJoin,Boolean> predicate)

CanRemoveItem

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

public virtual bool CanRemoveItem(IJoin item);

CanSaveItem

Determines if the specified item can be saved.

public virtual bool CanSaveItem(IJoin item);

Clear

Clears the collection.

public virtual void Clear();

Contains

Returns true if the collection contains the specified item.

public sealed bool Contains(IJoin item);

CopyTo

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

GetEnumerator

Gets a custom enumerator for the collection.

public sealed IEnumerator<IJoin> GetEnumerator();

GetItem

Returns the item with the specified name or ID.

public sealed IJoin GetItem(string name);

public sealed IJoin GetItem(int index);

GetItems

Returns an array with all items in the collection.

public IJoin[] GetItems();

GetJoin

Returns the Join for the specified tables or null if there isn't one.

public sealed IJoin GetJoin(ITable table1,
    ITable table2);

public sealed IJoin GetJoin(string tableID1,
    string tableID2);

GetJoinsForTable

Returns a collection of joins for the specified table.

public sealed List<IJoin> GetJoinsForTable(ITable table);

public sealed IJoin[] GetJoinsForTable(string tableID,
    string filter,
    string updated);

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 IJoin New(string name);

public virtual IJoin New();

Remove

Removes an item from the collection.

public virtual bool Remove(IJoin item);

SaveItem

Saves the specified item to the table.

public virtual bool SaveItem(IJoin item);

SaveItemStudio

Saves a Stonefield Query Studio object.

public virtual IJoin SaveItemStudio(object item);

Where

Returns a subset of the collection based on a condition.

public IEnumerable<IJoin> Where(Func<IJoin,Boolean> predicate);

public sealed IEnumerable<IJoin> Where(Func<IJoin,Boolean> predicate)

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