Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.