Example #1
0
 /// <summary>
 /// 获取行数
 /// </summary>
 public static int GetCount()
 {
     return(ActiveRecordMediator.Count(typeof(SysOrgUser)));
 }
Example #2
0
 public static int Count(params SimpleExpression[] criteria)
 {
     return(ActiveRecordMediator <Estabelecimento> .Count(criteria));
 }
Example #3
0
 /// <summary>
 /// 获取行数
 /// </summary>
 public static int GetCount(string fileter, params object[] objects)
 {
     return(ActiveRecordMediator.Count(typeof(SysFile), fileter, objects));
 }
Example #4
0
 /// <summary>
 /// 获取行数
 /// </summary>
 public static int GetCount(params ICriterion[] ICrit)
 {
     return(ActiveRecordMediator.Count(typeof(SysFile), ICrit));
 }
Example #5
0
 /// <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"));
 }