[This is preliminary documentation and is subject to change.]
Decorates Pacel-derivative classes specifying distributed data store options.
Unlike the CRUD family of metadata attributes this attributed is NOT TARGETABLE on purpose
beacause different sharding definitions would have affected the properties of the parcel which could have been
very complex to maintain/account for. So, every parcel has ONLY ONE set opf metadata definition.
In case when different parcel definitions needed a new parcel type should be created which can reuse the payload - this is much
easier to implement (two parcels) than targeting within the same parcel.
Table mappings are targetable
System Object
System Attribute NFX.DataAccess.Distributed DataParcelAttributeNamespace: NFX.DataAccess.DistributedAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class DataParcelAttribute : Attribute,
ICachePolicy
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class DataParcelAttribute : Attribute,
ICachePolicy
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := false, Inherited := false)>
Public NotInheritable Class DataParcelAttribute
Inherits Attribute
Implements ICachePolicy
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := false, Inherited := false)>
Public NotInheritable Class DataParcelAttribute
Inherits Attribute
Implements ICachePolicy
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false, Inherited = false)]
public ref class DataParcelAttribute sealed : public Attribute,
ICachePolicy
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false, Inherited = false)]
public ref class DataParcelAttribute sealed : public Attribute,
ICachePolicy
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = false)>]
type DataParcelAttribute =
class
inherit Attribute
interface ICachePolicy
end
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = false)>]
type DataParcelAttribute =
class
inherit Attribute
interface ICachePolicy
end