Class PriceListRows.IdxValidFrom
Class representing index 'IValidFromValidToIsActiveIsER'. This particular class implements a from-the-left subset of the fields, to ease coding of these efficient searches
Inheritance
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public sealed class IdxValidFrom : PriceListRows.PriceListRowsIdx, ICloneable, ISentryIgnorable
Constructors
IdxValidFrom(DateTime)
Constructor for class PriceListRows.IdxValidFrom This class represents index 'IValidFromValidToIsActiveIsERPCopy'. This particular class implements a from-the-left subset of the fields, to ease coding of these efficient searches
Declaration
public IdxValidFrom(DateTime validFrom)
Parameters
Type | Name | Description |
---|---|---|
DateTime | validFrom |
IdxValidFrom(DateTime, DateTimeSearchType)
Constructor for class PriceListRows.IdxValidFrom This class represents index 'IValidFromValidToIsActiveIsERPCopy'.
Declaration
public IdxValidFrom(DateTime validFrom, DateTimeSearchType validFromSearchType)
Parameters
Type | Name | Description |
---|---|---|
DateTime | validFrom | |
DateTimeSearchType | validFromSearchType | How to search for ValidFrom |
Properties
InnerRestriction
The Restriction passed to the Select statement.
Declaration
protected override Restriction InnerRestriction { get; }
Property Value
Type | Description |
---|---|
Restriction | Restriction object holding the restrictions for the select statement. |
Overrides
ValidFrom
The date (inclusive) the pricelist start to be valid. This can be DateTime.MinValue to signal that it doesn't have a specific start date.
Declaration
public DateTime ValidFrom { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Methods
UpdateRow(TableRowBase)
Update the PriceListRow with the values from the index.
Declaration
public override void UpdateRow(TableRowBase baseRow)
Parameters
Type | Name | Description |
---|---|---|
TableRowBase | baseRow | The row to update. This must be an instance of PriceListRow. |