Created
May 11, 2018 12:16
-
-
Save icebeam7/371ef1b5ca179a8947e69f004c7dde7d to your computer and use it in GitHub Desktop.
SistemaEscolar: BaseDatosAndroid.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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