de.greenrobot.dao.internal.DaoConfig Java Examples
The following examples show how to use
de.greenrobot.dao.internal.DaoConfig.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DaoSession.java From iBeebo with GNU General Public License v3.0 | 6 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); green_AccountBeanDaoConfig = daoConfigMap.get(Green_AccountBeanDao.class).clone(); green_AccountBeanDaoConfig.initIdentityScope(type); green_AtUsersBeanDaoConfig = daoConfigMap.get(Green_AtUsersBeanDao.class).clone(); green_AtUsersBeanDaoConfig.initIdentityScope(type); green_TimeLineStatusDaoConfig = daoConfigMap.get(Green_TimeLineStatusDao.class).clone(); green_TimeLineStatusDaoConfig.initIdentityScope(type); green_AccountBeanDao = new Green_AccountBeanDao(green_AccountBeanDaoConfig, this); green_AtUsersBeanDao = new Green_AtUsersBeanDao(green_AtUsersBeanDaoConfig, this); green_TimeLineStatusDao = new Green_TimeLineStatusDao(green_TimeLineStatusDaoConfig, this); registerDao(Green_AccountBean.class, green_AccountBeanDao); registerDao(Green_AtUsersBean.class, green_AtUsersBeanDao); registerDao(Green_TimeLineStatus.class, green_TimeLineStatusDao); }
Example #2
Source File: DaoSession.java From Puff-Android with MIT License | 6 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); accountDaoConfig = daoConfigMap.get(AccountDao.class).clone(); accountDaoConfig.initIdentityScope(type); categoryDaoConfig = daoConfigMap.get(CategoryDao.class).clone(); categoryDaoConfig.initIdentityScope(type); acctTypeDaoConfig = daoConfigMap.get(AcctTypeDao.class).clone(); acctTypeDaoConfig.initIdentityScope(type); accountDao = new AccountDao(accountDaoConfig, this); categoryDao = new CategoryDao(categoryDaoConfig, this); acctTypeDao = new AcctTypeDao(acctTypeDaoConfig, this); registerDao(Account.class, accountDao); registerDao(Category.class, categoryDao); registerDao(AcctType.class, acctTypeDao); }
Example #3
Source File: DaoSession.java From Expert-Android-Programming with MIT License | 6 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); //MEMBERS ITEM restaurantImageDaoConfig = daoConfigMap.get(RestaurantImageDao.class).clone(); restaurantImageDaoConfig.initIdentityScope(type); restaurantImageDao = new RestaurantImageDao(restaurantImageDaoConfig, this); registerDao(RestaurantImage.class, restaurantImageDao); //MEMBERS ITEM photoItemDaoConfig = daoConfigMap.get(PhotoItemDao.class).clone(); photoItemDaoConfig.initIdentityScope(type); photoItemDao = new PhotoItemDao(photoItemDaoConfig, this); registerDao(PhotoItem.class, photoItemDao); //TODO ADD HERE }
Example #4
Source File: DaoSession.java From SweetMusicPlayer with Apache License 2.0 | 6 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); musicInfoDaoConfig = daoConfigMap.get(MusicInfoDao.class).clone(); musicInfoDaoConfig.initIdentityScope(type); albumInfoDaoConfig = daoConfigMap.get(AlbumInfoDao.class).clone(); albumInfoDaoConfig.initIdentityScope(type); artistInfoDaoConfig = daoConfigMap.get(ArtistInfoDao.class).clone(); artistInfoDaoConfig.initIdentityScope(type); musicInfoDao = new MusicInfoDao(musicInfoDaoConfig, this); albumInfoDao = new AlbumInfoDao(albumInfoDaoConfig, this); artistInfoDao = new ArtistInfoDao(artistInfoDaoConfig, this); registerDao(MusicInfo.class, musicInfoDao); registerDao(AlbumInfo.class, albumInfoDao); registerDao(ArtistInfo.class, artistInfoDao); }
Example #5
Source File: DaoSession.java From MinMinGuard with GNU General Public License v3.0 | 5 votes |
public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig> daoConfigMap) { super(db); appDataDaoConfig = daoConfigMap.get(AppDataDao.class).clone(); appDataDaoConfig.initIdentityScope(type); appDataDao = new AppDataDao(appDataDaoConfig, this); registerDao(AppData.class, appDataDao); }
Example #6
Source File: CustomMusic10Dao.java From DMusic with Apache License 2.0 | 4 votes |
public CustomMusic10Dao(DaoConfig config, DaoSession daoSession) { super(config, daoSession); }
Example #7
Source File: MessageDao.java From sctalk with Apache License 2.0 | 4 votes |
public MessageDao(DaoConfig config) { super(config); }
Example #8
Source File: CustomMusic8Dao.java From DMusic with Apache License 2.0 | 4 votes |
public CustomMusic8Dao(DaoConfig config) { super(config); }
Example #9
Source File: CustomMusic8Dao.java From DMusic with Apache License 2.0 | 4 votes |
public CustomMusic8Dao(DaoConfig config, DaoSession daoSession) { super(config, daoSession); }
Example #10
Source File: CustomMusic6Dao.java From DMusic with Apache License 2.0 | 4 votes |
public CustomMusic6Dao(DaoConfig config) { super(config); }
Example #11
Source File: GreenStrategyDao.java From Dota2Helper with Apache License 2.0 | 4 votes |
public GreenStrategyDao(DaoConfig config, DaoSession daoSession) { super(config, daoSession); }
Example #12
Source File: RestaurantImageDao.java From Expert-Android-Programming with MIT License | 4 votes |
public RestaurantImageDao(DaoConfig config) { super(config); }
Example #13
Source File: HtmlEntityDao.java From MeiZiNews with MIT License | 4 votes |
public HtmlEntityDao(DaoConfig config, DaoSession daoSession) { super(config, daoSession); }
Example #14
Source File: VideoCacheDao.java From JianDan_OkHttp with Apache License 2.0 | 4 votes |
public VideoCacheDao(DaoConfig config, DaoSession daoSession) { super(config, daoSession); }
Example #15
Source File: LocalAllMusicDao.java From DMusic with Apache License 2.0 | 4 votes |
public LocalAllMusicDao(DaoConfig config, DaoSession daoSession) { super(config, daoSession); }
Example #16
Source File: ChatSettingsDao.java From Yahala-Messenger with MIT License | 4 votes |
public ChatSettingsDao(DaoConfig config) { super(config); }
Example #17
Source File: PhotoItemDao.java From Expert-Android-Programming with MIT License | 4 votes |
public PhotoItemDao(DaoConfig config) { super(config); }
Example #18
Source File: BlackListDao.java From sealtalk-android with MIT License | 4 votes |
public BlackListDao(DaoConfig config, DaoSession daoSession) { super(config, daoSession); }
Example #19
Source File: CollectionMusicDao.java From DMusic with Apache License 2.0 | 4 votes |
public CollectionMusicDao(DaoConfig config, DaoSession daoSession) { super(config, daoSession); }
Example #20
Source File: CollectionMusicDao.java From DMusic with Apache License 2.0 | 4 votes |
public CollectionMusicDao(DaoConfig config) { super(config); }
Example #21
Source File: CustomMusic16Dao.java From DMusic with Apache License 2.0 | 4 votes |
public CustomMusic16Dao(DaoConfig config, DaoSession daoSession) { super(config, daoSession); }
Example #22
Source File: SettingsDao.java From BrainPhaser with GNU General Public License v3.0 | 4 votes |
public SettingsDao(DaoConfig config, DaoSession daoSession) { super(config, daoSession); }
Example #23
Source File: AlarmsDao.java From MyWeather with Apache License 2.0 | 4 votes |
public AlarmsDao(DaoConfig config, DaoSession daoSession) { super(config, daoSession); }
Example #24
Source File: AbstractDao.java From MiBandDecompiled with Apache License 2.0 | 4 votes |
public AbstractDao(DaoConfig daoconfig) { this(daoconfig, null); }
Example #25
Source File: JokeCacheDao.java From JianDan_OkHttp with Apache License 2.0 | 4 votes |
public JokeCacheDao(DaoConfig config, DaoSession daoSession) { super(config, daoSession); }
Example #26
Source File: CustomMusic0Dao.java From DMusic with Apache License 2.0 | 4 votes |
public CustomMusic0Dao(DaoConfig config) { super(config); }
Example #27
Source File: PrinterDbEntityDao.java From octoandroid with GNU General Public License v3.0 | 4 votes |
public PrinterDbEntityDao(DaoConfig config, DaoSession daoSession) { super(config, daoSession); }
Example #28
Source File: SisterCacheDao.java From JianDan_OkHttp with Apache License 2.0 | 4 votes |
public SisterCacheDao(DaoConfig config) { super(config); }
Example #29
Source File: MessageDao.java From android-orm-benchmark with Apache License 2.0 | 4 votes |
public MessageDao(DaoConfig config, DaoSession daoSession) { super(config, daoSession); this.daoSession = daoSession; }
Example #30
Source File: collectionDao.java From ZhiHu-TopAnswer with Apache License 2.0 | 4 votes |
public CollectionDao(DaoConfig config) { super(config); }