Beispiel #1
0
 //企业
 public abstract int CreateNewCorp(Corp newCorp);
Beispiel #2
0
 /*** ��̬���� ***/
 /// <summary>
 /// ������ҵ
 /// </summary>
 /// <returns></returns>
 public static int InsertCorp(string admin, string title, string note)
 {
     if (String.IsNullOrEmpty(title))
         throw (new NullReferenceException("title"));
     Corp insertCorp = new Corp(0, admin, title, note);
     if (insertCorp.Save())
     {
         return insertCorp.CorpId;
     }
     else
     {
         return 0;
     }
 }
Beispiel #3
0
 public abstract bool UpdateCorp(Corp newCorp);