public GX_SYS_USERROLERELATE FindRoleEntity(decimal id) { GxSysUserrolerelate relation = new GxSysUserrolerelate(uw); return(relation.Find(t => t.USERID == id && t.ROLEID > 0 & t.USERID > 0)); }
public GX_SYS_USERROLERELATE FindEntity(decimal id) { GxSysUserrolerelate relation = new GxSysUserrolerelate(uw); return(relation.Find(t => t.ID == id)); }