Class CatalogEntryRowExtensions

Inheritance
System.Object
CatalogEntryRowExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Extensions
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0
Syntax
[Obsolete("This class is no longer used. To using entry row's extension methods, use Mediachase.Commerce.Extensions.CatalogEntryRowExtensions instead. Will remain at least until January 2017.")]
public static class CatalogEntryRowExtensions

Methods

EndDate(CatalogEntryDto.CatalogEntryRow, String)

Get entry end date in the specific language.

Declaration
public static DateTime EndDate(this CatalogEntryDto.CatalogEntryRow catalogEntryRow, string language)
Parameters
Type Name Description
CatalogEntryDto.CatalogEntryRow catalogEntryRow

The catalog entry row.

System.String language

The language.

Returns
Type Description
System.DateTime

IsAvailable(CatalogEntryDto.CatalogEntryRow)

Determines whether the specified catalog entry row is available (is active, startdate and enddate are correct)

Declaration
public static bool IsAvailable(this CatalogEntryDto.CatalogEntryRow catalogEntryRow)
Parameters
Type Name Description
CatalogEntryDto.CatalogEntryRow catalogEntryRow

The catalog entry row.

Returns
Type Description
System.Boolean

true if the specified catalog entry row is available; otherwise, false.

IsAvailable(CatalogEntryDto.CatalogEntryRow, String)

Determines whether the specified catalog entry row is available (is published, startdate and enddate are correct) in the specific language.

Declaration
public static bool IsAvailable(this CatalogEntryDto.CatalogEntryRow catalogEntryRow, string language)
Parameters
Type Name Description
CatalogEntryDto.CatalogEntryRow catalogEntryRow

The catalog entry row.

System.String language

The language.

Returns
Type Description
System.Boolean

true if the specified catalog entry row is available; otherwise, false.

IsPublished(CatalogEntryDto.CatalogEntryRow, String)

Checks if the entry is published in the specific language.

Declaration
public static bool IsPublished(this CatalogEntryDto.CatalogEntryRow row, string language)
Parameters
Type Name Description
CatalogEntryDto.CatalogEntryRow row

The entry row.

System.String language

The language to check if the entry is published.

Returns
Type Description
System.Boolean

true if the entry is published in this language, otherwise false.

StartDate(CatalogEntryDto.CatalogEntryRow, String)

Get entry start date in the specific language.

Declaration
public static DateTime StartDate(this CatalogEntryDto.CatalogEntryRow catalogEntryRow, string language)
Parameters
Type Name Description
CatalogEntryDto.CatalogEntryRow catalogEntryRow

The catalog entry row.

System.String language

The language.

Returns
Type Description
System.DateTime