/// <summary> /// 获取行数 /// </summary> public static int GetCount() { return(ActiveRecordMediator.Count(typeof(SysOrgUser))); }
public static int Count(params SimpleExpression[] criteria) { return(ActiveRecordMediator <Estabelecimento> .Count(criteria)); }
/// <summary> /// 获取行数 /// </summary> public static int GetCount(string fileter, params object[] objects) { return(ActiveRecordMediator.Count(typeof(SysFile), fileter, objects)); }
/// <summary> /// 获取行数 /// </summary> public static int GetCount(params ICriterion[] ICrit) { return(ActiveRecordMediator.Count(typeof(SysFile), ICrit)); }
/// <summary> /// 获取行数 /// </summary> public static int GetCount() { return(ActiveRecordMediator.Count(typeof(SysGroupOrRole))); }
/// <summary> /// 获取系统用户数 /// </summary> /// <returns></returns> public static int RetrieveUserCount() { return(ActiveRecordMediator.Count(typeof(SysUser), " 1 = 1")); }