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: 10.8.0
Syntax
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
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