Xamarin.Forms.AzureEasyTable NuGetPackage

By bence960206

With this Package, you can use the essential database functions with your Azure Easy Tables. You don’t have to write all of your Tables all functions, just create the Model of your Table with a string id and give it to the functions.
What should we do?
Step Zero: we must create an Azure Easy Table.
First step: we have to download Xamarin.Azure.EasyTableFunctions this NuGetPackage.
Than we must create a new object of the XamarinAzureEasyTableFunctions class with your Azure Mobile Service URL:
XamarinAzureEasyTableFunctions DB = new XamarinAzureEasyTableFunctions(“your url”);
Second step: we must create a Model of your Table:
public class Events
public string id { get; set; } //most important row, always use this row

public string DESCRIPTION { get; set; }
Events event = new Events();
Finally, we must use:
var listOfEvents = await DB.GetModel(event); // it works for bool too