18 using System.Collections.Generic;
19 using System.Collections.ObjectModel;
25 namespace Deveel.Data.Sql.Cursors {
32 if (cursorName == null)
33 throw new ArgumentNullException(
"cursorName");
34 if (queryExpression == null)
35 throw new ArgumentNullException(
"queryExpression");
37 CursorName = cursorName;
38 QueryExpression = queryExpression;
44 public string CursorName {
get;
private set; }
46 public ICollection<CursorParameter> Parameters {
get;
private set; }
50 public bool IsInsensitive {
51 get {
return (Flags &
CursorFlags.Insensitive) != 0; }
55 public bool IsScroll {
69 #region ParameterCollection
74 throw new ArgumentException(String.Format(
"Argument '{0}' was already added to the collection.", item.
ParameterName));
82 base.InsertItem(index, item);
87 base.SetItem(index, item);
override void InsertItem(int index, CursorParameter item)
Describes the name of an object within a database.
override void SetItem(int index, CursorParameter item)
CursorInfo(string cursorName, CursorFlags flags, SqlQueryExpression queryExpression)
CursorInfo(string cursorName, SqlQueryExpression queryExpression)
DbObjectType
The kind of objects that can be handled by a database system and its managers