Dynamicweb.eCommerce.Products Namespace : Period Class |
The following tables list the members exposed by Period.
Name | Description | |
---|---|---|
Period Constructor | Overloaded. |
Name | Description | |
---|---|---|
Active | Is this period active | |
ActiveNow | Determines if the period is active according to todays date. | |
Always | Is this period always valid | |
CreatedDate | Period created date | |
EndDate | Period end date | |
EndDateForGrid | Period end date for grid | |
ID | Period ID | |
Name | Period name | |
ShowProductsAfterExpiration | Gets or sets a value indicating whether products are shown after period expiration. Price will not be affected by Period after expiration. | |
StartDate | Period start date |
Name | Description | |
---|---|---|
Clone | Create in-memory copy of current period | |
Copy | Create and save to database a copy of period | |
Delete | Overloaded. Delete period | |
Fill | Fill Period with properties from provided data reader | |
getPeriods | Overloaded. Load all periods from database | |
IsPeriodActive | Is period with given ID active | |
Lock | Makes this object readonly | |
Save | Save period using period ID | |
ToString | Get string representation of a period | |
ToTimeSpanString | Get string with Start\End dates |