SfcCollection<T,K,ParentT> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 seq<'T (requires 'T :> SfcInstance)>
interface IEnumerable
interface ICollection
interface ISfcCollection
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>
- Derived
- Implements
Constructors
SfcCollection<T,K,ParentT>(ParentT) |
Properties
Count | |
Initialized | |
IsReadOnly | |
IsSynchronized | |
Item[K] | |
Parent | |
SyncRoot |
Methods
Add(T) |
Adds the obj to the collection |
AddImpl(T) | |
AddShadow(T) | |
Clear() | |
Contains(K) | |
Contains(T) | |
CopyTo(Array, Int32) | |
CopyTo(T[], Int32) | |
CreateAndInitializeChildObject(K) | |
EnsureCollectionInitialized() | |
FinishMerge() | |
GetCollectionElementNameImpl() | |
GetElementFactoryImpl() | |
GetEnumerator() | |
GetExistingObjectByKey(K) | |
GetObjectByKey(K) | |
InitInnerCollection() | |
PrepareMerge() | |
Refresh() | |
Refresh(Boolean) | |
Remove(T) | |
RemoveImpl(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) |