Class MdbPartitionedArea
Represents a non-central area with partitions
Inheritance
System.Object
MdbPartitionedArea
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)
Namespace: Azos.Sky.Mdb
Assembly: Azos.Sky.dll
Syntax
public sealed class MdbPartitionedArea : MdbArea, IDisposable, IApplicationComponent, IExternallyParameterized, INamed
Properties
AllPartitions
Declaration
public override IEnumerable<MdbArea.Partition> AllPartitions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<MdbArea.Partition> |
Overrides
AllShards
Declaration
public override IEnumerable<MdbArea.Partition.Shard> AllShards { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<MdbArea.Partition.Shard> |
Overrides
Name
Declaration
public override string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Partitions
Returns partitions ordered by StartGDID
Declaration
public IEnumerable<MdbArea.Partition> Partitions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<MdbArea.Partition> |
Methods
FindPartitionForBriefcase(GDID)
Returns a partition that holds the data for a briefcase identified by id
Declaration
public MdbArea.Partition FindPartitionForBriefcase(GDID idBriefcase)
Parameters
Type | Name | Description |
---|---|---|
GDID | idBriefcase |
Returns
Type | Description |
---|---|
MdbArea.Partition |
GetPartitionsStartingFromBriefcase(Nullable<GDID>)
Returns an enumerations partitions that start from the specified briefcase identified by id. If briefcase is null or zero then all partitions are returned
Declaration
public IEnumerable<MdbArea.Partition> GetPartitionsStartingFromBriefcase(GDID? idBriefcase)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<GDID> | idBriefcase |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<MdbArea.Partition> |
PartitionedOperationsFor(GDID)
Returns CRUDOperations facade connected to the appropriate database server within this named area which services the shard computed from briefcase GDID
Declaration
public CRUDOperations PartitionedOperationsFor(GDID idBriefcase)
Parameters
Type | Name | Description |
---|---|---|
GDID | idBriefcase |
Returns
Type | Description |
---|---|
CRUDOperations |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
Implements
System.IDisposable