Item Modifier added
This commit is contained in:
15
Tanshu.Accounts.Contracts/DAOFactory/ModifierDAO.cs
Normal file
15
Tanshu.Accounts.Contracts/DAOFactory/ModifierDAO.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Tanshu.Accounts.Contracts;
|
||||
|
||||
namespace Tanshu.Accounts.DAOFactory
|
||||
{
|
||||
public interface IModifierDAO : IDisposable
|
||||
{
|
||||
void Insert(ModifierBO modifier);
|
||||
//void Update(ModifierBO modifier);
|
||||
void Delete(string modifierID);
|
||||
ModifierBO GetModifier(string modifierID);
|
||||
List<ModifierBO> GetModifiers();
|
||||
}
|
||||
}
|
||||
17
Tanshu.Accounts.Contracts/DAOFactory/ProductGroupDAO.cs
Normal file
17
Tanshu.Accounts.Contracts/DAOFactory/ProductGroupDAO.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Tanshu.Accounts.Contracts;
|
||||
|
||||
namespace Tanshu.Accounts.DAOFactory
|
||||
{
|
||||
public interface IProductGroupDAO : IDisposable
|
||||
{
|
||||
bool Insert(ProductGroupBO productType);
|
||||
ProductGroupBO GetProductGroup(Guid productGroupID);
|
||||
ProductGroupBO GetProductGroup(string name);
|
||||
bool Delete(Guid productGroupID);
|
||||
bool Update(ProductGroupBO productGroup);
|
||||
List<ProductGroupBO> GetProductGroups();
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Tanshu.Accounts.Contracts;
|
||||
|
||||
namespace Tanshu.Accounts.DAOFactory
|
||||
{
|
||||
public interface IProductGroupModifierDAO : IDisposable
|
||||
{
|
||||
bool Insert(ProductGroupModifierBO productGroupModifier);
|
||||
bool Delete(int productGroupModifierID);
|
||||
bool Update(ProductGroupModifierBO productGroupModifier);
|
||||
List<ProductGroupModifierBO> GetProductGroupModifiers(Guid productGroupID);
|
||||
List<ProductGroupModifierBO> GetProductGroupModifiers();
|
||||
bool HasCompulsoryModifier(Guid productGroupID);
|
||||
}
|
||||
}
|
||||
@ -1,17 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Tanshu.Accounts.Contracts;
|
||||
|
||||
namespace Tanshu.Accounts.DAOFactory
|
||||
{
|
||||
public interface IProductTypeDAO : IDisposable
|
||||
{
|
||||
bool Insert(ProductTypeBO productType);
|
||||
ProductTypeBO GetProductType(Guid productTypeID);
|
||||
ProductTypeBO GetProductType(string name);
|
||||
bool Delete(Guid productTypeID);
|
||||
bool Update(ProductTypeBO productType);
|
||||
List<ProductTypeBO> GetProductTypes();
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user