mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 05:23:13 +00:00
cipher
This commit is contained in:
@ -35,7 +35,7 @@ namespace Esiur.Stores.MongoDB
|
||||
{
|
||||
public class MongoDBStore<T> : MongoDBStore where T:IResource
|
||||
{
|
||||
[Public]
|
||||
[Export]
|
||||
public async AsyncReply<T> New(string name = null, object properties = null)
|
||||
{
|
||||
var resource = await Warehouse.New<T>(name, this, null, null, null, properties);
|
||||
@ -43,7 +43,7 @@ namespace Esiur.Stores.MongoDB
|
||||
return resource;
|
||||
}
|
||||
|
||||
[Public]
|
||||
[Export]
|
||||
public async AsyncReply<IResource[]> Slice(int index, int limit)
|
||||
{
|
||||
var list = await this.Instance.Children<IResource>();
|
||||
|
Reference in New Issue
Block a user