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()
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
public class WarehouseRepositoryDatabase : IWarehouseRepository
Constructors
Declaration
public WarehouseRepositoryDatabase()
Declaration
public WarehouseRepositoryDatabase(ISynchronizedObjectInstanceCache cache)
Parameters
Type |
Name |
Description |
EPiServer.Framework.Cache.ISynchronizedObjectInstanceCache |
cache |
|
Properties
Declaration
public static Func<string> ConnectionStringFunction { get; set; }
Property Value
Type |
Description |
System.Func<System.String> |
|
Methods
Declaration
public void Delete(int warehouseId)
Parameters
Type |
Name |
Description |
System.Int32 |
warehouseId |
|
Declaration
public IWarehouse Get(int warehouseId)
Parameters
Type |
Name |
Description |
System.Int32 |
warehouseId |
|
Returns
Declaration
public IWarehouse Get(string warehouseCode)
Parameters
Type |
Name |
Description |
System.String |
warehouseCode |
|
Returns
Declaration
public IWarehouse GetDefaultWarehouse()
Returns
Declaration
public IEnumerable<IWarehouse> List()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IWarehouse> |
|
Declaration
public void Save(IWarehouse warehouse)
Parameters
Implements