-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from tvandinther/xmldoc
Add XML Documentation to public members
- Loading branch information
Showing
18 changed files
with
275 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace Libsql.Client | ||
{ | ||
/// <summary> | ||
/// Represents the result set of a SQL query. | ||
/// </summary> | ||
public interface IResultSet | ||
{ | ||
/// <summary> | ||
/// The ID of the last row inserted by the connection. | ||
/// </summary> | ||
/// <returns>The ID of the last row inserted.</returns> | ||
long LastInsertRowId { get; } | ||
|
||
/// <summary> | ||
/// The number of rows affected by the last query executed by the connection. | ||
/// </summary> | ||
/// <returns>The number of rows affected.</returns> | ||
ulong RowsAffected { get; } | ||
|
||
/// <summary> | ||
/// The names of the columns in the result set. | ||
/// </summary> | ||
/// <returns>An enumerable of column names.</returns> | ||
IEnumerable<string> Columns { get; } | ||
|
||
/// <summary> | ||
/// The rows in the result set. | ||
/// </summary> | ||
/// <returns>An enumerable of enumerable rows. Rows are enumerated by column.</returns> | ||
IEnumerable<IEnumerable<Value>> Rows { get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System; | ||
|
||
namespace Libsql.Client | ||
{ | ||
/// <summary> | ||
/// Represents an exception that is thrown when an error occurs in the Libsql.Client library. | ||
/// </summary> | ||
public class LibsqlException : ApplicationException | ||
{ | ||
internal LibsqlException() | ||
{ | ||
} | ||
|
||
internal LibsqlException(string message) | ||
: base(message) | ||
{ | ||
} | ||
|
||
internal LibsqlException(string message, Exception inner) | ||
: base(message, inner) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.