Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.DigitalDelivery Namespace / DigitalGood Class
Properties Methods


In This Topic
    DigitalGood Class Members
    In This Topic

    The following tables list the members exposed by DigitalGood.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public Property Gets the absolute file path of the file resource  
    Public Property Gets or sets the ActivationEmailId  
    Public Property Gets or sets the activation mode of this digital good.  
    Public Property Gets or sets the ActivationModeId  
    Public Property Gets or sets the ActivationTimeout  
    Public Property Gets or sets the DigitalGoodGroups  
    Public Property Gets or sets the identity of this entity.  
    Public Property Gets or sets the DownloadTimeout  
    Public Property Gets or sets a value indicating whether EnableSerialKeys  
    Public Property Gets a manager that provides strongly typed access to extended fields. (Inherited from CommerceBuilder.DomainModel.Entity)
    Public Property Gets or sets the FileName  
    Public Property Gets or sets the FileSize  
    Public Property Gets the size of the resource file associated with this digital good  
    Public Property Gets or sets the FulfillmentEmailId  
    Public Property Gets or sets the fulfillment mode of this digital good.  
    Public Property Gets or sets the FulfillmentModeId  
    Public Property Gets a value indicating whether the entity have extended fields or not (Inherited from CommerceBuilder.DomainModel.Entity)
    Public PropertyOverridden.  Gets or sets the Id for the entity.  
    Public Property Gets or sets the LicenseAgreement  
    Public Property Gets or sets the LicenseAgreement for this entity.  
    Public Property Gets or sets the license agreement mode of this digital good.  
    Public Property Gets or sets the LicenseAgreementModeId  
    Public Property Gets or sets the MaxDownloads  
    Public Property Gets or sets the MediaKey  
    Public Property Gets or sets the Name  
    Public Property Gets or sets the OrderItemDigitalGoods  
    Public Property Gets or sets the ProductDigitalGoods  
    Public Property Gets or sets the Readme  
    Public Property Gets or sets the Readme for this entity.  
    Public Property Gets or sets an instance of the repository for this entity (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Property Gets or sets the SerialKeyConfigData  
    Public Property Gets or sets the SerialKeyProviderId  
    Public Property Gets or sets the SerialKeys  
    Public Property Gets or sets the ServerFileName  
    Public Property Gets or sets the Store  
    Top
    Public Methods
     NameDescription
    Public Method Create a shallow copy of this DigitalGood instance.  
    Public Method Deletes this digital good from database  
    Public Method Determines if this object instance is equal to another. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Methodstatic (Shared in Visual Basic) Gets expiration date of this digital good  
    Public MethodServes as the default hash function. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Method Gets an instance of the serial key provider associated with this digital good  
    Public Method Gets the signature properties for the class type. (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Public Method You may override this method to provide your own comparison routine. (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Public Method Check if the given serial key is one of the serial keys for this digital good  
    Public Method Transient objects are not associated with an item already in storage. For instance, a Customer is transient if its Id is 0. It's virtual to allow NHibernate-backed objects to be lazily loaded. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Methodstatic (Shared in Visual Basic) Parses a timeout string of the format "days,hours,minutes"  
    Public Method Reads data of the file for this digital good in the given buffer  
    Public Method Writes byte data to the file resource of this digital good  
    Top
    Protected Methods
     NameDescription
    Protected Method Enforces the template method pattern to have child objects determine which specific properties should and should not be included in the object signature comparison. Note that the the BaseObject already takes care of performance caching, so this method shouldn't worry about caching...just return the goods man! (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Protected Method

    When NHibernate proxies objects, it masks the type of the actual entity object. This wrapper burrows into the proxied object to get its actual type.

    Although this assumes NHibernate is being used, it doesn't require any NHibernate related dependencies and has no bad side effects if NHibernate isn't being used.

    Related discussion is at http://groups.google.com/group/sharp-architecture/browse_thread/thread/ddd05f9baede023a ...thanks Jay Oliver!

    (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Top
    Extension Methods
     NameDescription
    Public Extension Method Delete the entity from the database
    Public Extension Method Save the entity to the database
    Public Extension MethodOverloaded.  Use this method to bulid query string from NameValueCollection
    Top
    See Also