Class WarehouseInventoryServiceDatabase

Inheritance
System.Object
WarehouseInventoryServiceDatabase
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
[Obsolete("Use Mediachase.Commerce.InventoryService.Compatibility.WarehouseInventoryProxy instead. Will remain at least until November 2016.")]
public class WarehouseInventoryServiceDatabase : IWarehouseInventoryService

Constructors

WarehouseInventoryServiceDatabase(IWarehouseRepository)

Declaration
public WarehouseInventoryServiceDatabase(IWarehouseRepository warehouseRepository)
Parameters
Type Name Description
IWarehouseRepository warehouseRepository

Properties

ConnectionStringFunction

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

Methods

Delete(CatalogKey)

Declaration
public void Delete(CatalogKey catalogKey)
Parameters
Type Name Description
CatalogKey catalogKey

Delete(CatalogKey, IWarehouse)

Declaration
public void Delete(CatalogKey catalogKey, IWarehouse warehouse)
Parameters
Type Name Description
CatalogKey catalogKey
IWarehouse warehouse

Delete(CatalogKey, IEnumerable<IWarehouse>)

Declaration
public void Delete(CatalogKey catalogKey, IEnumerable<IWarehouse> warehouses)
Parameters
Type Name Description
CatalogKey catalogKey
System.Collections.Generic.IEnumerable<IWarehouse> warehouses

Delete(IWarehouse)

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

Delete(IEnumerable<CatalogKey>)

Declaration
public void Delete(IEnumerable<CatalogKey> catalogKeys)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<CatalogKey> catalogKeys

Delete(IEnumerable<CatalogKey>, IWarehouse)

Declaration
public void Delete(IEnumerable<CatalogKey> catalogKeys, IWarehouse warehouse)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<CatalogKey> catalogKeys
IWarehouse warehouse

Delete(IEnumerable<CatalogKey>, IEnumerable<IWarehouse>)

Declaration
public void Delete(IEnumerable<CatalogKey> catalogKeys, IEnumerable<IWarehouse> warehouses)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<CatalogKey> catalogKeys
System.Collections.Generic.IEnumerable<IWarehouse> warehouses

Delete(IEnumerable<IWarehouse>)

Declaration
public void Delete(IEnumerable<IWarehouse> warehouses)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IWarehouse> warehouses

Get(CatalogKey, IWarehouse)

Declaration
public IWarehouseInventory Get(CatalogKey catalogKey, IWarehouse warehouse)
Parameters
Type Name Description
CatalogKey catalogKey
IWarehouse warehouse
Returns
Type Description
IWarehouseInventory

GetTotal(CatalogKey)

Declaration
public IWarehouseInventory GetTotal(CatalogKey catalogKey)
Parameters
Type Name Description
CatalogKey catalogKey
Returns
Type Description
IWarehouseInventory

GetTotal(CatalogKey, IEnumerable<IWarehouse>)

Declaration
public IWarehouseInventory GetTotal(CatalogKey catalogKey, IEnumerable<IWarehouse> warehouses)
Parameters
Type Name Description
CatalogKey catalogKey
System.Collections.Generic.IEnumerable<IWarehouse> warehouses
Returns
Type Description
IWarehouseInventory

List()

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

List(CatalogKey)

Declaration
public IEnumerable<IWarehouseInventory> List(CatalogKey catalogEntryKey)
Parameters
Type Name Description
CatalogKey catalogEntryKey
Returns
Type Description
System.Collections.Generic.IEnumerable<IWarehouseInventory>

List(CatalogKey, IEnumerable<IWarehouse>)

Declaration
public IEnumerable<IWarehouseInventory> List(CatalogKey catalogKey, IEnumerable<IWarehouse> warehouses)
Parameters
Type Name Description
CatalogKey catalogKey
System.Collections.Generic.IEnumerable<IWarehouse> warehouses
Returns
Type Description
System.Collections.Generic.IEnumerable<IWarehouseInventory>

List(IWarehouse)

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

List(IEnumerable<CatalogKey>)

Declaration
public IEnumerable<IWarehouseInventory> List(IEnumerable<CatalogKey> catalogKeys)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<CatalogKey> catalogKeys
Returns
Type Description
System.Collections.Generic.IEnumerable<IWarehouseInventory>

List(IEnumerable<CatalogKey>, IWarehouse)

Declaration
public IEnumerable<IWarehouseInventory> List(IEnumerable<CatalogKey> catalogKeys, IWarehouse warehouse)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<CatalogKey> catalogKeys
IWarehouse warehouse
Returns
Type Description
System.Collections.Generic.IEnumerable<IWarehouseInventory>

List(IEnumerable<CatalogKey>, IEnumerable<IWarehouse>)

Declaration
public IEnumerable<IWarehouseInventory> List(IEnumerable<CatalogKey> catalogKeys, IEnumerable<IWarehouse> warehouses)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<CatalogKey> catalogKeys
System.Collections.Generic.IEnumerable<IWarehouse> warehouses
Returns
Type Description
System.Collections.Generic.IEnumerable<IWarehouseInventory>

List(IEnumerable<IWarehouse>)

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

ListAll()

Declaration
public IEnumerable<IWarehouseInventory> ListAll()
Returns
Type Description
System.Collections.Generic.IEnumerable<IWarehouseInventory>

ListTotals(IEnumerable<CatalogKey>)

Declaration
public IEnumerable<IWarehouseInventory> ListTotals(IEnumerable<CatalogKey> catalogKeys)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<CatalogKey> catalogKeys
Returns
Type Description
System.Collections.Generic.IEnumerable<IWarehouseInventory>

ListTotals(IEnumerable<CatalogKey>, IEnumerable<IWarehouse>)

Declaration
public IEnumerable<IWarehouseInventory> ListTotals(IEnumerable<CatalogKey> catalogKeys, IEnumerable<IWarehouse> warehouses)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<CatalogKey> catalogKeys
System.Collections.Generic.IEnumerable<IWarehouse> warehouses
Returns
Type Description
System.Collections.Generic.IEnumerable<IWarehouseInventory>

Save(IWarehouseInventory)

Declaration
public void Save(IWarehouseInventory inventory)
Parameters
Type Name Description
IWarehouseInventory inventory

Save(IEnumerable<IWarehouseInventory>)

Declaration
public void Save(IEnumerable<IWarehouseInventory> inventories)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IWarehouseInventory> inventories

Implements