//企业 public abstract int CreateNewCorp(Corp newCorp);
/*** ��̬���� ***/ /// <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; } }
public abstract bool UpdateCorp(Corp newCorp);