コード例 #1
0
        public ODocument Run()
        {
            var operation = new LoadRecord(_orid, _fetchPlan, _connection.Database);
            var result    = new OCommandResult(_connection.ExecuteOperation(operation));

            return(result.ToSingle().To <ODocument>());
        }
コード例 #2
0
ファイル: OLoadRecord.cs プロジェクト: PaybackMan/Cinder
        public ODocument Run()
        {
            var operation = new LoadRecord(_orid, _fetchPlan, _connection.Database);

            var result = new OCommandResult(_connection.ExecuteOperation(operation));

            return result.ToSingle().To<ODocument>();
        }
コード例 #3
0
        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>());
        }