Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Created May 11, 2018 12:16
  • 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/371ef1b5ca179a8947e69f004c7dde7d to your computer and use it in GitHub Desktop.
SistemaEscolar: BaseDatosAndroid.cs
using System.IO;
using Xamarin.Forms;
using SistemaEscolar.Droid.Datos;
using SistemaEscolar.Datos;
using SistemaEscolar.Helpers;
[assembly: Dependency(typeof(BaseDatosAndroid))]
namespace SistemaEscolar.Droid.Datos
{
public class BaseDatosAndroid : IBaseDatos
{
public string GetDatabasePath()
{
return Path.Combine(
System.Environment.GetFolderPath(
System.Environment.SpecialFolder.Personal),
Constantes.NombreBD);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment