DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Protected Member Functions | List of all members
Deveel.Data.Sql.Cursors.CursorInfo.ParameterCollection Class Reference
Inheritance diagram for Deveel.Data.Sql.Cursors.CursorInfo.ParameterCollection:

Protected Member Functions

override void InsertItem (int index, CursorParameter item)
 
override void SetItem (int index, CursorParameter item)
 

Detailed Description

Definition at line 71 of file CursorInfo.cs.

Member Function Documentation

override void Deveel.Data.Sql.Cursors.CursorInfo.ParameterCollection.InsertItem ( int  index,
CursorParameter  item 
)
inlineprotected

Definition at line 72 of file CursorInfo.cs.

72  {
73  if (Items.Any(x => x.ParameterName == item.ParameterName))
74  throw new ArgumentException(String.Format("Argument '{0}' was already added to the collection.", item.ParameterName));
75 
76  if (item.Offset < 0) {
77  item.Offset = index;
78  } else {
79  index = item.Offset;
80  }
81 
82  base.InsertItem(index, item);
83  }
A long string in the system.
override void Deveel.Data.Sql.Cursors.CursorInfo.ParameterCollection.SetItem ( int  index,
CursorParameter  item 
)
inlineprotected

Definition at line 85 of file CursorInfo.cs.

85  {
86  item.Offset = index;
87  base.SetItem(index, item);
88  }

The documentation for this class was generated from the following file: