London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class WarehouseRepositoryDatabase

Inheritance
System.Object
WarehouseRepositoryDatabase
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.Inventory.Database
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
[Obsolete("This class is no longer used. Use IWarehouseRepository instead. Will remain at least until February 2020.")]
public class WarehouseRepositoryDatabase : IWarehouseRepository

Constructors

WarehouseRepositoryDatabase()

Declaration
public WarehouseRepositoryDatabase()

WarehouseRepositoryDatabase(ISynchronizedObjectInstanceCache)

Declaration
public WarehouseRepositoryDatabase(ISynchronizedObjectInstanceCache cache)
Parameters
Type Name Description
EPiServer.Framework.Cache.ISynchronizedObjectInstanceCache cache

Properties

ConnectionStringFunction

Declaration
[Obsolete("This property no longer have effect. Will remain at least until February 2020.")]
public static Func<string> ConnectionStringFunction { get; set; }
Property Value
Type Description
System.Func<System.String>

Methods

Delete(Int32)

Declaration
public void Delete(int warehouseId)
Parameters
Type Name Description
System.Int32 warehouseId

Get(Int32)

Declaration
public IWarehouse Get(int warehouseId)
Parameters
Type Name Description
System.Int32 warehouseId
Returns
Type Description
IWarehouse

Get(String)

Declaration
public IWarehouse Get(string warehouseCode)
Parameters
Type Name Description
System.String warehouseCode
Returns
Type Description
IWarehouse

GetDefaultWarehouse()

Declaration
public IWarehouse GetDefaultWarehouse()
Returns
Type Description
IWarehouse

List()

Declaration
public IEnumerable<IWarehouse> List()
Returns
Type Description
System.Collections.Generic.IEnumerable<IWarehouse>

Save(IWarehouse)

Declaration
public void Save(IWarehouse warehouse)
Parameters
Type Name Description
IWarehouse warehouse

Implements