Esempio n. 1
0
 //权限
 public abstract int CreateNewAuthority(Authority newAuthority);
Esempio n. 2
0
 /*** ��̬���� ***/
 /// <summary>
 /// ����Ȩ��
 /// </summary>
 /// <returns></returns>
 public static int InsertAuthority(byte types, string url, string title, string note)
 {
     if (String.IsNullOrEmpty(title))
         throw (new NullReferenceException("title"));
     Authority insertAuthority = new Authority(0, types, url, title, note);
     if (insertAuthority.Save())
     {
         return insertAuthority.AuthorityId;
     }
     else
     {
         return 0;
     }
 }
Esempio n. 3
0
 public abstract bool UpdateAuthority(Authority newAuthority);