Skip to content

Adding/Updating/Deleting items in a transaction throws null reference exception unless a query has been performed beforehand. #152

Description

@holocentric-bmsnext

e.g. when adding a new vertex into the database, if we don't fetch something from the database first a null reference exception will be thrown.

var transaction = database.Transaction;

//database.Select().From(new ORID("#0:0")); <- workaround code
.
.
.
transaction.Add(vertex);
transaction.Commit();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions