Class PriceDetailDatabase

Inheritance
System.Object
PriceDetailDatabase
Implements
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: Mediachase.Commerce.Pricing.Database
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class PriceDetailDatabase : IPriceDetailService

Constructors

PriceDetailDatabase(ReferenceConverter)

Declaration
public PriceDetailDatabase(ReferenceConverter referenceConverter)
Parameters
Type Name Description
ReferenceConverter referenceConverter

Fields

priceService

Declaration
public Injected<IPriceService> priceService
Field Value
Type Description
EPiServer.ServiceLocation.Injected<IPriceService>

Properties

ConnectionStringFunction

Declaration
public static Func<string> ConnectionStringFunction { get; set; }
Property Value
Type Description
System.Func<System.String>

IsReadOnly

Declaration
public bool IsReadOnly { get; }
Property Value
Type Description
System.Boolean

Methods

Delete(IEnumerable<Int64>)

Declaration
public void Delete(IEnumerable<long> priceValueIds)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Int64> priceValueIds

Get(Int64)

Declaration
public IPriceDetailValue Get(long priceValueId)
Parameters
Type Name Description
System.Int64 priceValueId
Returns
Type Description
IPriceDetailValue

List(ContentReference)

Declaration
public IList<IPriceDetailValue> List(ContentReference catalogContentReference)
Parameters
Type Name Description
EPiServer.Core.ContentReference catalogContentReference
Returns
Type Description
System.Collections.Generic.IList<IPriceDetailValue>

List(ContentReference, MarketId, PriceFilter, Int32, Int32, out Int32)

Declaration
public IList<IPriceDetailValue> List(ContentReference catalogContentReference, MarketId marketId, PriceFilter priceFilter, int offset, int count, out int totalCount)
Parameters
Type Name Description
EPiServer.Core.ContentReference catalogContentReference
MarketId marketId
PriceFilter priceFilter
System.Int32 offset
System.Int32 count
System.Int32 totalCount
Returns
Type Description
System.Collections.Generic.IList<IPriceDetailValue>

List(ContentReference, Int32, Int32, out Int32)

Declaration
public IList<IPriceDetailValue> List(ContentReference catalogContentReference, int offset, int count, out int totalCount)
Parameters
Type Name Description
EPiServer.Core.ContentReference catalogContentReference
System.Int32 offset
System.Int32 count
System.Int32 totalCount
Returns
Type Description
System.Collections.Generic.IList<IPriceDetailValue>

ReplicatePriceServiceChanges(IEnumerable<CatalogKey>, IEnumerable<IPriceValue>)

Declaration
public void ReplicatePriceServiceChanges(IEnumerable<CatalogKey> catalogKeys, IEnumerable<IPriceValue> priceValues)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<CatalogKey> catalogKeys
System.Collections.Generic.IEnumerable<IPriceValue> priceValues

Save(IEnumerable<IPriceDetailValue>)

Declaration
public IList<IPriceDetailValue> Save(IEnumerable<IPriceDetailValue> priceValues)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IPriceDetailValue> priceValues
Returns
Type Description
System.Collections.Generic.IList<IPriceDetailValue>

Implements

Extension Methods