DBAction.h 627 Bytes
//
//  DBAction.h
//  SCIOLive
//
//  Created by wei on 14-9-29.
//  Copyright (c) 2014年 Miao Long. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NoticeData.h"
@interface DBAction : NSObject
+ (DBAction *)sharedDBAction;

- (void)createNoticeTable;
- (BOOL)isInNoticeTable:(NoticeData*)notice;
- (void)insertNoticeTable: (NoticeData*)notice;
- (void)deleteNotice: (NoticeData*)notice;
- (NSMutableArray *)queryNoticeTable;


- (void)createTable;
- (BOOL)isInTable:(TableData*)notice;
- (BOOL)insertTable: (TableData*)notice;
- (BOOL)deleteTable: (TableData*)notice;
- (NSMutableArray *)queryTable;
@end