C# Class AppActs.Client.Repository.ApplicationRepository

Inheritance: AppActs.Repository.ApplicationRepository, AppActs.Client.Repository.Interface.IApplicationRepository
Mostra file Open project: Appacts/mobile-analytics-server

Public Methods

Method Description
ApplicationRepository ( MongoClient client, string databaseName ) : System
Find ( string applicationName ) : Application
FindAll ( ) : IEnumerable
Update ( Application application ) : void

Method Details

ApplicationRepository() public method

public ApplicationRepository ( MongoClient client, string databaseName ) : System
client MongoDB.Driver.MongoClient
databaseName string
return System

Find() public method

public Find ( string applicationName ) : Application
applicationName string
return AppActs.Model.Application

FindAll() public method

public FindAll ( ) : IEnumerable
return IEnumerable

Update() public method

public Update ( Application application ) : void
application AppActs.Model.Application
return void