SfcCollection<T,K,ParentT> SfcCollection<T,K,ParentT> SfcCollection<T,K,ParentT> Class

Definition

The Sfc collection base for all domain collections. It abstracts all the necesssary handshaking between the parent object, and the collection or element objects.

public abstract class SfcCollection<T,K,ParentT> : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcCollection, System.Collections.Generic.ICollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.ICollection, System.ComponentModel.IListSource where T : SfcInstance where K : SfcKey where ParentT : SfcInstance
type SfcCollection<'T, 'K, 'ParentT (requires 'T :> SfcInstance and 'K :> SfcKey and 'ParentT :> SfcInstance)> = class
    interface ICollection<'T (requires 'T :> SfcInstance)>
    interface ICollection
    interface ISfcCollection
    interface seq<'T (requires 'T :> SfcInstance)>
    interface IEnumerable
    interface IListSource
Public MustInherit Class SfcCollection(Of T, K, ParentT)
Implements ICollection, ICollection(Of T), IEnumerable(Of T), IListSource, ISfcCollection

Type Parameters

T
K
ParentT
Inheritance
SfcCollection<T,K,ParentT>SfcCollection<T,K,ParentT>SfcCollection<T,K,ParentT>
Derived
Implements

Constructors

SfcCollection<T,K,ParentT>(ParentT) SfcCollection<T,K,ParentT>(ParentT) SfcCollection<T,K,ParentT>(ParentT)

Properties

Count Count Count
Initialized Initialized Initialized
IsReadOnly IsReadOnly IsReadOnly
IsSynchronized IsSynchronized IsSynchronized
Item[K] Item[K] Item[K]
Parent Parent Parent
SyncRoot SyncRoot SyncRoot

Methods

Add(T) Add(T) Add(T)

Adds the obj to the collection

AddImpl(T) AddImpl(T) AddImpl(T)
AddShadow(T) AddShadow(T) AddShadow(T)
Clear() Clear() Clear()
Contains(K) Contains(K) Contains(K)
Contains(T) Contains(T) Contains(T)
CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)
CopyTo(T[], Int32) CopyTo(T[], Int32) CopyTo(T[], Int32)
CreateAndInitializeChildObject(K) CreateAndInitializeChildObject(K) CreateAndInitializeChildObject(K)
EnsureCollectionInitialized() EnsureCollectionInitialized() EnsureCollectionInitialized()
FinishMerge() FinishMerge() FinishMerge()
GetCollectionElementNameImpl() GetCollectionElementNameImpl() GetCollectionElementNameImpl()
GetElementFactoryImpl() GetElementFactoryImpl() GetElementFactoryImpl()
GetEnumerator() GetEnumerator() GetEnumerator()
GetExistingObjectByKey(K) GetExistingObjectByKey(K) GetExistingObjectByKey(K)
GetObjectByKey(K) GetObjectByKey(K) GetObjectByKey(K)
InitInnerCollection() InitInnerCollection() InitInnerCollection()
PrepareMerge() PrepareMerge() PrepareMerge()
Refresh(Boolean) Refresh(Boolean) Refresh(Boolean)
Refresh() Refresh() Refresh()
Remove(T) Remove(T) Remove(T)
RemoveImpl(T) RemoveImpl(T) RemoveImpl(T)
RemoveInternal(T) RemoveInternal(T) RemoveInternal(T)

Remove the item given by the key. Existing object are marked with a state of ToBeDropped for dropping when their parent is Altered or Dropped. At that time the marked object will be removed fro the collection. Pending, None or Dropped objects are removed from the collection immediately.

Rename(T, K) Rename(T, K) Rename(T, K)

Explicit Interface Implementations

ISfcCollection.Add(SfcInstance) ISfcCollection.Add(SfcInstance) ISfcCollection.Add(SfcInstance)
ISfcCollection.AddShadow(SfcInstance) ISfcCollection.AddShadow(SfcInstance) ISfcCollection.AddShadow(SfcInstance)
ISfcCollection.Count ISfcCollection.Count ISfcCollection.Count
ISfcCollection.EnsureInitialized() ISfcCollection.EnsureInitialized() ISfcCollection.EnsureInitialized()
ISfcCollection.FinishMerge() ISfcCollection.FinishMerge() ISfcCollection.FinishMerge()
ISfcCollection.GetCollectionElementNameImpl() ISfcCollection.GetCollectionElementNameImpl() ISfcCollection.GetCollectionElementNameImpl()
ISfcCollection.GetElementFactory() ISfcCollection.GetElementFactory() ISfcCollection.GetElementFactory()
ISfcCollection.GetExisting(SfcKey, SfcInstance) ISfcCollection.GetExisting(SfcKey, SfcInstance) ISfcCollection.GetExisting(SfcKey, SfcInstance)
ISfcCollection.GetObjectByKey(SfcKey) ISfcCollection.GetObjectByKey(SfcKey) ISfcCollection.GetObjectByKey(SfcKey)
ISfcCollection.Initialized ISfcCollection.Initialized ISfcCollection.Initialized
ISfcCollection.Parent ISfcCollection.Parent ISfcCollection.Parent
ISfcCollection.PrepareMerge() ISfcCollection.PrepareMerge() ISfcCollection.PrepareMerge()
ISfcCollection.Remove(SfcInstance) ISfcCollection.Remove(SfcInstance) ISfcCollection.Remove(SfcInstance)
ISfcCollection.RemoveElement(SfcInstance) ISfcCollection.RemoveElement(SfcInstance) ISfcCollection.RemoveElement(SfcInstance)
ISfcCollection.Rename(SfcInstance, SfcKey) ISfcCollection.Rename(SfcInstance, SfcKey) ISfcCollection.Rename(SfcInstance, SfcKey)
IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()
IListSource.ContainsListCollection IListSource.ContainsListCollection IListSource.ContainsListCollection
IListSource.GetList() IListSource.GetList() IListSource.GetList()

Applies to