KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
The roles data factory More...
Public Member Functions | |
TestRolesFactory (TestDataContext context) | |
override Guid | GetId (Role obj) |
override Expression< Func< Role, bool > > | GetIdValidationExpression (Guid id) |
Public Member Functions inherited from KlusterKite.Data.EF.EntityDataFactorySync< TestDataContext, Role, Guid > | |
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< Role > | GetDbSet () |
Gets the data set from current context More... | |
Protected Member Functions inherited from KlusterKite.Data.EF.EntityDataFactorySync< TestDataContext, Role, Guid > | |
EntityDataFactorySync (TContext context) | |
Initializes a new instance of the EntityDataFactorySync<TContext,TObject,TId> class. More... | |
The roles data factory
Definition at line 23 of file TestRolesFactory.cs.
KlusterKite.Data.Tests.Mock.TestRolesFactory.TestRolesFactory | ( | TestDataContext | context | ) |
Definition at line 26 of file TestRolesFactory.cs.
|
protectedvirtual |
Gets the data set from current context
Implements KlusterKite.Data.EF.EntityDataFactorySync< TestDataContext, Role, Guid >.
Definition at line 38 of file TestRolesFactory.cs.
override Guid KlusterKite.Data.Tests.Mock.TestRolesFactory.GetId | ( | Role | obj | ) |
override Expression<Func<Role, bool> > KlusterKite.Data.Tests.Mock.TestRolesFactory.GetIdValidationExpression | ( | Guid | id | ) |