public SponsorService() { _sponsorContext = new SQLiteClientBase <Sponsor>(); _crossFileService = DependencyService.Get <ICrossFileService>(); _globalOptionService = DependencyService.Get <IGlobalOptionService>(); _logService = DependencyService.Get <ILogService>(); }
public void CreateDatabase() { SQLiteClientBase <GlobalOption> globalOption = new SQLiteClientBase <GlobalOption>(); SQLiteClientBase <Sponsor> sponsor = new SQLiteClientBase <Sponsor>(); SQLiteClientBase <LanguagePack> languagePack = new SQLiteClientBase <LanguagePack>(); SQLiteClientBase <LanguageResource> languageResource = new SQLiteClientBase <LanguageResource>(); SQLiteClientBase <UserOption> userOption = new SQLiteClientBase <UserOption>(); SQLiteClientBase <milkDigitalID> milkDigitalId = new SQLiteClientBase <milkDigitalID>(); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); //SetContentView(Resource.Layout.hello); // Create your application here global::Xamarin.Forms.Forms.Init(this, savedInstanceState); var path = DependencyService.Get <ICrossFileService>().GetDefaultDirectory(); var globalOptionTable = new SQLiteClientBase <GlobalOption>(); }
public DigitalIDService() { _digitalIdContext = new SQLiteClientBase <DigitalId>(); _logService = DependencyService.Get <ILogService>(); }
public GlobalOptionService() { _optionContext = new SQLiteClientBase <GlobalOption>(); }
public LanguagePackService() { _languageContext = new SQLiteClientBase <LanguagePack>(); }