KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.NodeManager.ConfigurationSource.UserFactoryByLogin Class Reference

Data factory to work with User More...

Inheritance diagram for KlusterKite.NodeManager.ConfigurationSource.UserFactoryByLogin:
KlusterKite.Data.EF.EntityDataFactorySync< ConfigurationContext, User, string >

Public Member Functions

 UserFactoryByLogin (ConfigurationContext context)
 
override async Task< Maybe< User > > Get (string id)
 
override string GetId (User obj)
 
override Expression< Func< User, bool > > GetIdValidationExpression (string id)
 
- Public Member Functions inherited from KlusterKite.Data.EF.EntityDataFactorySync< ConfigurationContext, User, string >
override async Task< Maybe< TObject > > Delete (TId id)
 Deletes object from data source More...
 
override Task< Maybe< TObject > > Get (TId id)
 Gets an object from data source using it's identification More...
 
abstract Expression< Func< TObject, bool > > GetIdValidationExpression (TId id)
 Gets the expression to check an object's identification More...
 
override Task< CollectionResponse< TObject > > GetList (Expression< Func< TObject, bool >> filter, List< SortingCondition > sort, int? skip, int? count, ApiRequest apiRequest)
 
override Task Insert (TObject obj)
 Adds an object to data source More...
 
override Task Update (TObject newData, TObject oldData)
 Updates an object in data source More...
 

Protected Member Functions

override DbSet< UserGetDbSet ()
 Gets the data set from current context More...
 
- Protected Member Functions inherited from KlusterKite.Data.EF.EntityDataFactorySync< ConfigurationContext, User, string >
 EntityDataFactorySync (TContext context)
 Initializes a new instance of the EntityDataFactorySync<TContext,TObject,TId> class. More...
 

Detailed Description

Data factory to work with User

Definition at line 25 of file UserFactoryByLogin.cs.

Constructor & Destructor Documentation

◆ UserFactoryByLogin()

KlusterKite.NodeManager.ConfigurationSource.UserFactoryByLogin.UserFactoryByLogin ( ConfigurationContext  context)

Definition at line 28 of file UserFactoryByLogin.cs.

Member Function Documentation

◆ Get()

override async Task<Maybe<User> > KlusterKite.NodeManager.ConfigurationSource.UserFactoryByLogin.Get ( string  id)

Definition at line 34 of file UserFactoryByLogin.cs.

◆ GetDbSet()

override DbSet<User> KlusterKite.NodeManager.ConfigurationSource.UserFactoryByLogin.GetDbSet ( )
protectedvirtual

Gets the data set from current context

Implements KlusterKite.Data.EF.EntityDataFactorySync< ConfigurationContext, User, string >.

◆ GetId()

override string KlusterKite.NodeManager.ConfigurationSource.UserFactoryByLogin.GetId ( User  obj)

◆ GetIdValidationExpression()

override Expression<Func<User, bool> > KlusterKite.NodeManager.ConfigurationSource.UserFactoryByLogin.GetIdValidationExpression ( string  id)


The documentation for this class was generated from the following file: