C# Class countly_sdk_xamarin.Services.DbService

Datei anzeigen Open project: Countly/countly-sdk-xamarin

Public Methods

Method Description
DbService ( ) : System

Initializes a new instance of the Tasky.DL.TaskDatabase TaskDatabase. if the database doesn't exist, it will create the database and all the tables.

DeleteItem ( int id ) : int
GetItem ( int id ) : Event
GetItems ( ) : IEnumerable
GetItemsNotDone ( ) : IEnumerable
SaveItem ( Event item ) : int

Method Details

DbService() public method

Initializes a new instance of the Tasky.DL.TaskDatabase TaskDatabase. if the database doesn't exist, it will create the database and all the tables.
public DbService ( ) : System
return System

DeleteItem() public method

public DeleteItem ( int id ) : int
id int
return int

GetItem() public method

public GetItem ( int id ) : Event
id int
return countly_sdk_xamarin.Models.Event

GetItems() public method

public GetItems ( ) : IEnumerable
return IEnumerable

GetItemsNotDone() public method

public GetItemsNotDone ( ) : IEnumerable
return IEnumerable

SaveItem() public method

public SaveItem ( Event item ) : int
item countly_sdk_xamarin.Models.Event
return int