MarcTron.Sqlite 1.0.1

MarcTron Sqlite Plugin

This package, built on top of the Sqlite-net library, makes extremely easy to add a SqlLite database to your projects.

Requires NuGet 2.8.6 or higher.

Install-Package MarcTron.Sqlite -Version 1.0.1
dotnet add package MarcTron.Sqlite --version 1.0.1
paket add MarcTron.Sqlite --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

SqlLite Plugin for Xamarin

It is avery intuitive Plugin to use SqlLite on Xamarin.
It requires only 1 line of code.

What is this repository for?

You can learn more about SqlLite and this plugin on http://www.xamarinexpert.it/2018/03/01/sqlite-made-easy/

LINKS

  • Available on Nuget: https://www.nuget.org/packages/MarcTron.Sqlite
  • Project website: http://www.xamarinexpert.it/plugins/mt-sqlite/
  • Tutorial: http://www.xamarinexpert.it/2018/03/01/sqlite-made-easy/
  • To report any issue: https://bitbucket.org/marcojak81/mtsql

SETUP

  • Install into your PCL/.NetStandard project and Client projects.
  • The nuget package will automatically install the sqlite-net-pcl package version 1.4.118

HOT TO USE IT

To get the connection to your Sql database you just need to add this line:

SQLiteConnection conn = MTSql.Current.GetConnection("yourdatabasename.db3");

in case you want to use an async connection you can use:

SQLiteAsyncConnection conn MTSql.Current.GetConnectionAsync("youdatabasename.db3");

Supported Platforms

  • Android
  • iOS
  • UWP
  • Windows

SqlLite Plugin for Xamarin

It is avery intuitive Plugin to use SqlLite on Xamarin.
It requires only 1 line of code.

What is this repository for?

You can learn more about SqlLite and this plugin on http://www.xamarinexpert.it/2018/03/01/sqlite-made-easy/

LINKS

  • Available on Nuget: https://www.nuget.org/packages/MarcTron.Sqlite
  • Project website: http://www.xamarinexpert.it/plugins/mt-sqlite/
  • Tutorial: http://www.xamarinexpert.it/2018/03/01/sqlite-made-easy/
  • To report any issue: https://bitbucket.org/marcojak81/mtsql

SETUP

  • Install into your PCL/.NetStandard project and Client projects.
  • The nuget package will automatically install the sqlite-net-pcl package version 1.4.118

HOT TO USE IT

To get the connection to your Sql database you just need to add this line:

SQLiteConnection conn = MTSql.Current.GetConnection("yourdatabasename.db3");

in case you want to use an async connection you can use:

SQLiteAsyncConnection conn MTSql.Current.GetConnectionAsync("youdatabasename.db3");

Supported Platforms

  • Android
  • iOS
  • UWP
  • Windows

Release Notes

Added compatibility with old PCL projects

Version History

Version Downloads Last updated
1.0.1 291 3/28/2018
1.0.0 112 3/2/2018