コード例 #1
0
        public IEnumerable <SerializedEntity> GetObjects(INativeQuerySpec querySpec, TableSchema schema)
        {
            if (querySpec != null)
            {
                throw new NotSupportedException();
            }

            using (var bucket = GetBucket(schema))
            {
                return(from o in bucket.Objects select new SerializedEntity(o));
            }
        }
コード例 #2
0
 public bool DeleteObjects(INativeQuerySpec filter, TableSchema schema)
 {
     throw new NotSupportedException();
 }
コード例 #3
0
 public IEnumerable <SerializedEntity> GetObjectsWithPrefetch(INativeQuerySpec filter, TableSchema schema, IEnumerable <TableSchema.Relation> prefetchRelations, out IEnumerable <Dictionary <TableSchema.Relation, SerializedEntity> > relatedEntities)
 {
     throw new NotSupportedException();
 }
コード例 #4
0
ファイル: IQuerySpec.cs プロジェクト: abrobston/DB
 public QuerySpec(ICodeQuerySpec code, INativeQuerySpec native)
 {
     Code = code;
     Native = native;
 }
コード例 #5
0
 public object GetScalar(Aggregate aggregate, INativeQuerySpec nativeQuerySpec, TableSchema schema)
 {
     throw new NotSupportedException();
 }
コード例 #6
0
ファイル: MemoryDataProvider.cs プロジェクト: abrobston/DB
        public IEnumerable<SerializedEntity> GetObjects(INativeQuerySpec querySpec, OrmSchema schema)
        {
            if (querySpec != null)
                throw new NotSupportedException();

            using (var bucket = GetBucket(schema))
            {
                return from o in bucket.Objects select new SerializedEntity(o);
            }
        }
コード例 #7
0
ファイル: MemoryDataProvider.cs プロジェクト: abrobston/DB
 public bool DeleteObjects(INativeQuerySpec filter, OrmSchema schema)
 {
     throw new NotSupportedException();
 }
コード例 #8
0
ファイル: MemoryDataProvider.cs プロジェクト: abrobston/DB
 public object GetScalar(Aggregate aggregate, INativeQuerySpec nativeQuerySpec, OrmSchema schema)
 {
     throw new NotSupportedException();
 }
コード例 #9
0
ファイル: MemoryDataProvider.cs プロジェクト: abrobston/DB
 public IEnumerable<SerializedEntity> GetObjectsWithPrefetch(INativeQuerySpec filter, OrmSchema schema, IEnumerable<OrmSchema.Relation> prefetchRelations, out IEnumerable<Dictionary<OrmSchema.Relation, SerializedEntity>> relatedEntities)
 {
     throw new NotSupportedException();
 }
コード例 #10
0
ファイル: IQuerySpec.cs プロジェクト: wangfujia/iridium
 public QuerySpec(ICodeQuerySpec code, INativeQuerySpec native)
 {
     Code   = code;
     Native = native;
 }