ldj/Model/platform/tables/RoleEmp.cs

48 lines
898 B
C#

/// <summary>
///INTERFACE CLASS FOR TABLE t_RoleEmp
///By wm with codesmith.
///on 04/18/2017
/// </summary>
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.
/// <summary>
/// delete by role
/// </summary>
/// <param name="roleId"></param>
/// <returns></returns>
public int Delete(int roleId)
{
cmdParameters[0] = roleId;
return CustOper(100); //delete by role
}
}
}