Skip to content

Commit

Permalink
Fix Cursor dose redirect all Methods to its inner Cursor.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanwin committed May 6, 2010
1 parent 8cea9ed commit a203331
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/MongoDB/Obsolete/Cursor.cs
Expand Up @@ -32,6 +32,7 @@ public long Id
/// <param name="spec">The spec.</param>
/// <returns></returns>
public ICursor Spec(Document spec){
_cursor.Spec(spec);
return this;
}

Expand Down Expand Up @@ -101,6 +102,7 @@ public long Id
/// <param name="fields">The fields.</param>
/// <returns></returns>
public ICursor Sort(Document fields){
_cursor.Sort(fields);
return this;
}

Expand All @@ -110,6 +112,7 @@ public long Id
/// <param name="index">The index.</param>
/// <returns></returns>
public ICursor Hint(Document index){
_cursor.Hint(index);
return this;
}

Expand Down

0 comments on commit a203331

Please sign in to comment.