public ODocument Run() { var operation = new LoadRecord(_orid, _fetchPlan, _connection.Database); var result = new OCommandResult(_connection.ExecuteOperation(operation)); return(result.ToSingle().To <ODocument>()); }
public ODocument Run() { var operation = new LoadRecord(_orid, _fetchPlan, _connection.Database); var result = new OCommandResult(_connection.ExecuteOperation(operation)); return result.ToSingle().To<ODocument>(); }
public T Run <T>() where T : class, new() { var operation = new LoadRecord(_orid, _fetchPlan, _connection.Database); var result = new OCommandResult(_connection.ExecuteOperation(operation)); return(result.ToSingle().To <T>()); }