[This is preliminary documentation and is subject to change.]
The DataParcelAttribute type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | DataParcelAttribute | Initializes a new instance of the DataParcelAttribute class |
Methods
Name | Description | |
---|---|---|
![]() | ![]() | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Returns the hash code for this instance. (Inherited from ![]() |
![]() ![]() | GetParcelAttr |
Returns DataParcelAttribute for a parcel type. Use Parcel.MetadataAttribute to
obtain the attribute instance polymorphically for instance.
If parcel is not decorated by the attribute then exception is thrown
|
![]() ![]() | getParcelAttrCore | |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from ![]() |
![]() | ![]() | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Properties
Name | Description | |
---|---|---|
![]() | AreaName |
Specifies the Areaname - the logical subdivision in the store where parcels reside within the schema(see SchemaName): i.e. 'commonClinicalData'.
Depending on a particular store setup this logical name may or may not represent physical servers/locations in the store.
Every store implementation maps logical paths to physical servers and/or shards. This feature provides very high degree
of distributed database design flexibility, as some parcels may represent common/dictionary data that does not need to be sharded,
whereas others may represent purely transactional high-volume data that needs to be sharded.
The value is required and is always specified or exception is thrown in .ctor
|
![]() | CacheAbsoluteExpirationUTC |
This property can not be set on the attribute level and always returns null
|
![]() | CachePriority |
Specifies the relative cache priority of this parcel
This property acts as a default, the runtime first checks parcel instance properties then reverts to this attribute
|
![]() | CacheReadMaxAgeSec |
Specifies the maximum age of parcel instance in cache to be suitable for reading
This property acts as a default, the runtime first checks parcel instance properties then reverts to this attribute
|
![]() | CacheTableName |
Specifies the name of the cache table for this parcel
This property acts as a default, the runtime first checks parcel instance properties then reverts to this attribute
|
![]() | CacheWriteMaxAgeSec |
Specifies for how long should this parcel be cached in RAM after a write (after a saved change).
This property acts as a default, the runtime first checks parcel instance properties then reverts to this attribute
|
![]() | ReplicationChannel |
Specifies the name of the replication channel used to pump data between servers/data centers/locations
|
![]() | SchemaName |
Specifies the name for logical schema that parcel decorated by this attribute belongs to.
The exact location within the data store is detailed further with AreaName property.
The value is required and is always specified or exception is thrown in .ctor
|
![]() | ShardingParcel |
Specifies the type of Parcel that is used for sharding. By default this parameter is null, so
parcels are sharded on their own instance types, however there are cases when a parcel overrides ShardingID
and specifies ShardingParcel type via this member so it gets stored along with the specified parcel
|
![]() | SupportsMerge |
Returns true if parcel supports merge with other versions.
Server may merge multiple parcel versions to resolve versioning conflict.
Default implementation returns false
|
![]() | TableMappings |
Returns mappins of target->table attributes. Pass in [DataParcel(targetTableMappings = "targetName1=tableName1{atr1=v1 atr2=v2...} targetName2=tableName2{atr1=v1 atr2=v2...}...")];
|
![]() | ![]() | When implemented in a derived class, gets a unique identifier for this (Inherited from ![]() ![]() |
See Also