/// 
///INTERFACE CLASS FOR TABLE t_RoleEmp
///By wm with codesmith. 
///on 04/18/2017
/// 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace DeiNiu.wms.Data.Model
{
    [Serializable]
    public class RoleEmp : RoleEmp_base
    {
        public RoleEmp()
        {
        }
        public RoleEmp(int id): base(id)
        {
        }
        protected override void getImp()
        {
            model_imp = new RoleEmp_Imp();
        }
        //begin cust db operation, query, excute sql etc.
        /// 
        /// delete by role
        /// 
        /// 
        /// 
        public int Delete(int roleId)
        {
            cmdParameters[0] = roleId;
            return CustOper(100);  //delete by role
        }
    }
}