public bool Insert_to_DB() { HssUtility.SQLserver.DB_insert ins = this.Get_DBinsert(); int count = ins.SaveToDB(Utility.Get_ESP2_hDB()); return(count > 0); }
/// <summary> /// insert object to DB /// </summary> public bool Insert_to_DB() { HssUtility.SQLserver.DB_insert ins = this.Get_DBinsert(); int count = ins.SaveToDB(Utility.Get_DRWIN_hDB()); bool flag = count > 0; if (flag) { this.SyncWithDB(); } return(flag); }