예제 #1
0
 public MongoQueryableResource(MongoQueryProvider provider, Expression expression)
 {
     this.provider   = provider;
     this.expression = expression;
 }
예제 #2
0
 public MongoQueryableResource(MongoMetadata mongoMetadata, string connectionString, string collectionName, Type collectionType)
 {
     this.mongoMetadata = mongoMetadata;
     this.provider      = new MongoQueryProvider(mongoMetadata, connectionString, collectionName, collectionType);
     this.expression    = (new DSPResource[0]).AsQueryable().Expression;
 }