Dynamicweb 8 Documentation
Period Class Members
Properties  Methods 


The following tables list the members exposed by Period.

Public Constructors
 NameDescription
Public ConstructorPeriod ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyActiveIs this period active  
Public PropertyActiveNowDetermines if the period is active according to todays date.  
Public PropertyAlwaysIs this period always valid  
Public PropertyCreatedDatePeriod created date  
Public PropertyEndDatePeriod end date  
Public PropertyEndDateForGridPeriod end date for grid  
Public PropertyIDPeriod ID  
Public PropertyNamePeriod name  
Public PropertyShowProductsAfterExpirationGets or sets a value indicating whether products are shown after period expiration. Price will not be affected by Period after expiration.  
Public PropertyStartDatePeriod start date  
Top
Public Methods
 NameDescription
Public MethodCloneCreate in-memory copy of current period  
Public MethodCopyCreate and save to database a copy of period  
Public MethodDeleteOverloaded. Delete period  
Public MethodFillFill Period with properties from provided data reader  
Public Methodstatic (Shared in Visual Basic)getPeriodsOverloaded. Load all periods from database  
Public Methodstatic (Shared in Visual Basic)IsPeriodActiveIs period with given ID active  
Public MethodLockMakes this object readonly  
Public MethodSaveSave period using period ID  
Public MethodToStringGet string representation of a period  
Public MethodToTimeSpanStringGet string with Start\End dates  
Top
See Also

Reference

Period Class
Dynamicweb.eCommerce.Products Namespace

Send Feedback