Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Created May 11, 2018 12:15
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save icebeam7/9468e9bdedd39616beabf034baf8356a to your computer and use it in GitHub Desktop.
SistemaEscolar: BaseDatosiOS.cs
using System;
using System.IO;
using Xamarin.Forms;
using SistemaEscolar.iOS.Datos;
using SistemaEscolar.Datos;
using SistemaEscolar.Helpers;
[assembly: Dependency(typeof(BaseDatosiOS))]
namespace SistemaEscolar.iOS.Datos
{
public class BaseDatosiOS : IBaseDatos
{
public string GetDatabasePath()
{
return Path.Combine(
Environment.GetFolderPath(
Environment.SpecialFolder.MyDocuments),
"..",
"Library",
Constantes.NombreBD);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment