Created
May 11, 2018 12:15
-
-
Save icebeam7/9468e9bdedd39616beabf034baf8356a to your computer and use it in GitHub Desktop.
SistemaEscolar: BaseDatosiOS.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; | |
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