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