Class AddonBag
Represents a container of IAddon objects.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DevZest.Data.Primitives
Assembly: DevZest.Data.dll
Syntax
public abstract class AddonBag
Remarks
AddonBag is the base class of extensible rich metadata objects, such as Model and Column. IAddon object, on the other hand, is uniquely identified by Key, can be added into this metadata object and later retrieved either by key or by type. For example: DbIndex, which implements IAddon, can be added into Model identified by its Name.
Use extension methods provided in AddonBagExtensions class to manipulate AddonBag object. This is a design decision to separate addon operations into a different namespace.
Constructors
Name | Description |
---|---|
AddonBag() | Initializes a new instance of the AddonBag class. |