Example #1
0
 public SponsorService()
 {
     _sponsorContext      = new SQLiteClientBase <Sponsor>();
     _crossFileService    = DependencyService.Get <ICrossFileService>();
     _globalOptionService = DependencyService.Get <IGlobalOptionService>();
     _logService          = DependencyService.Get <ILogService>();
 }
Example #2
0
 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>();
 }
Example #3
0
        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>();
        }
Example #4
0
 public DigitalIDService()
 {
     _digitalIdContext = new SQLiteClientBase <DigitalId>();
     _logService       = DependencyService.Get <ILogService>();
 }
Example #5
0
 public GlobalOptionService()
 {
     _optionContext = new SQLiteClientBase <GlobalOption>();
 }
Example #6
0
 public LanguagePackService()
 {
     _languageContext = new SQLiteClientBase <LanguagePack>();
 }