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()
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
[Obsolete("Use Mediachase.Commerce.InventoryService.Compatibility.WarehouseInventoryProxy instead. Will remain at least until November 2016.")]
public class WarehouseInventoryServiceDatabase : IWarehouseInventoryService
Constructors
Declaration
public WarehouseInventoryServiceDatabase(IWarehouseRepository warehouseRepository)
Parameters
Properties
Declaration
public static Func<string> ConnectionStringFunction { get; set; }
Property Value
Type |
Description |
System.Func<System.String> |
|
Methods
Declaration
public void Delete(CatalogKey catalogKey)
Parameters
Declaration
public void Delete(CatalogKey catalogKey, IWarehouse warehouse)
Parameters
Declaration
public void Delete(CatalogKey catalogKey, IEnumerable<IWarehouse> warehouses)
Parameters
Type |
Name |
Description |
CatalogKey |
catalogKey |
|
System.Collections.Generic.IEnumerable<IWarehouse> |
warehouses |
|
Declaration
public void Delete(IWarehouse warehouse)
Parameters
Declaration
public void Delete(IEnumerable<CatalogKey> catalogKeys)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<CatalogKey> |
catalogKeys |
|
Declaration
public void Delete(IEnumerable<CatalogKey> catalogKeys, IWarehouse warehouse)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<CatalogKey> |
catalogKeys |
|
IWarehouse |
warehouse |
|
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 |
|
Declaration
public void Delete(IEnumerable<IWarehouse> warehouses)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IWarehouse> |
warehouses |
|
Declaration
public IWarehouseInventory Get(CatalogKey catalogKey, IWarehouse warehouse)
Parameters
Returns
Declaration
public IWarehouseInventory GetTotal(CatalogKey catalogKey)
Parameters
Returns
Declaration
public IWarehouseInventory GetTotal(CatalogKey catalogKey, IEnumerable<IWarehouse> warehouses)
Parameters
Type |
Name |
Description |
CatalogKey |
catalogKey |
|
System.Collections.Generic.IEnumerable<IWarehouse> |
warehouses |
|
Returns
Declaration
public IEnumerable<IWarehouseInventory> List()
Returns
Declaration
public IEnumerable<IWarehouseInventory> List(CatalogKey catalogEntryKey)
Parameters
Returns
Declaration
public IEnumerable<IWarehouseInventory> List(CatalogKey catalogKey, IEnumerable<IWarehouse> warehouses)
Parameters
Type |
Name |
Description |
CatalogKey |
catalogKey |
|
System.Collections.Generic.IEnumerable<IWarehouse> |
warehouses |
|
Returns
Declaration
public IEnumerable<IWarehouseInventory> List(IWarehouse warehouse)
Parameters
Returns
Declaration
public IEnumerable<IWarehouseInventory> List(IEnumerable<CatalogKey> catalogKeys)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<CatalogKey> |
catalogKeys |
|
Returns
Declaration
public IEnumerable<IWarehouseInventory> List(IEnumerable<CatalogKey> catalogKeys, IWarehouse warehouse)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<CatalogKey> |
catalogKeys |
|
IWarehouse |
warehouse |
|
Returns
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
Declaration
public IEnumerable<IWarehouseInventory> List(IEnumerable<IWarehouse> warehouses)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IWarehouse> |
warehouses |
|
Returns
Declaration
public IEnumerable<IWarehouseInventory> ListAll()
Returns
Declaration
public IEnumerable<IWarehouseInventory> ListTotals(IEnumerable<CatalogKey> catalogKeys)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<CatalogKey> |
catalogKeys |
|
Returns
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
Declaration
public void Save(IWarehouseInventory inventory)
Parameters
Declaration
public void Save(IEnumerable<IWarehouseInventory> inventories)
Parameters
Implements