KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
Data factory to work with User More...
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< User > | GetDbSet () |
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... | |
Data factory to work with User
Definition at line 25 of file UserFactoryByLogin.cs.
KlusterKite.NodeManager.ConfigurationSource.UserFactoryByLogin.UserFactoryByLogin | ( | ConfigurationContext | context | ) |
Definition at line 28 of file UserFactoryByLogin.cs.
override async Task<Maybe<User> > KlusterKite.NodeManager.ConfigurationSource.UserFactoryByLogin.Get | ( | string | id | ) |
Definition at line 34 of file UserFactoryByLogin.cs.
|
protectedvirtual |
Gets the data set from current context
Implements KlusterKite.Data.EF.EntityDataFactorySync< ConfigurationContext, User, string >.
override string KlusterKite.NodeManager.ConfigurationSource.UserFactoryByLogin.GetId | ( | User | obj | ) |
override Expression<Func<User, bool> > KlusterKite.NodeManager.ConfigurationSource.UserFactoryByLogin.GetIdValidationExpression | ( | string | id | ) |