예제 #1
0
        public void Remove <T>(IKey foreignKey, IKVStore store, IStoreSchema schema)
        {
            IObjectTypeSchema thisObjectSchema = schema.GetObjectSchema <T>();

            var relationships = thisObjectSchema.BuildKeyRelationships(store, Key);

            foreach (var relationship in relationships)
            {
                relationship.Remove(this);
            }
        }
예제 #2
0
 public KVRelationalStore(IKVStore store, IStoreSchema schema)
 {
     _store  = store;
     _schema = schema;
 }