diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.AutoIncrementAttribute.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.AutoIncrementAttribute.html new file mode 100644 index 0000000..433b848 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.AutoIncrementAttribute.html @@ -0,0 +1,166 @@ + + + + + + + AutoIncrementAttribute Class | API Reference | SqlBind Project + + + + + +
+
+
+

AutoIncrementAttribute Class

+ +
+
+

An attribute that qualifies any parameter in the constructor, making the + column associated with the parameter an AUTOINCREMENT field.

+
+
+
+ C# +
+
[AttributeUsage(System.AttributeTargets.Parameter, Inherited = false, AllowMultiple = false)]
public sealed class AutoIncrementAttribute : Attribute
+
+
+ Inheritance +
+
+
+
+ object +
+
+ Attribute +
+ AutoIncrementAttribute +
+
+
+
+
+ Attributes +
+
+ +
+
+

Remarks

+

This attribute must be specified together with the PrimaryKeyAttribute.

+

See: SQLite + Autoincrement.

+

Properties

+
+ + + + + + + +
+ TypeId + + (Inherited from Attribute) +
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Equals(object) + + (Inherited from Attribute) +
+ GetHashCode() + + (Inherited from Attribute) +
+ IsDefaultAttribute() + + (Inherited from Attribute) +
+ Match(object) + + (Inherited from Attribute) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.ColumnAttribute.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.ColumnAttribute.html new file mode 100644 index 0000000..97953d8 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.ColumnAttribute.html @@ -0,0 +1,231 @@ + + + + + + + ColumnAttribute Class | API Reference | SqlBind Project + + + + + +
+
+
+

ColumnAttribute Class

+ +
+
+

An attribute that qualifies any parameter in the constructor, associating + the parameter with the column that has the specified name.

+
+
+
+ C# +
+
[AttributeUsage(System.AttributeTargets.Parameter, Inherited = false, AllowMultiple = false)]
public sealed class ColumnAttribute : Attribute
+
+
+ Inheritance +
+
+
+
+ object +
+
+ Attribute +
+ ColumnAttribute +
+
+
+
+
+ Attributes +
+
+ +
+
+

Constructors

+
+ + + + + + + +
+ ColumnAttribute(string) + +

Initializes a new instance of the ColumnAttribute class.

+
+
+

Properties

+
+ + + + + + + + + + + +
+ Name + +

Gets the column name.

+
+ TypeId + + (Inherited from Attribute) +
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Equals(object) + + (Inherited from Attribute) +
+ GetHashCode() + + (Inherited from Attribute) +
+ IsDefaultAttribute() + + (Inherited from Attribute) +
+ Match(object) + + (Inherited from Attribute) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+

See Also

+ +

Constructors Detail

+

ColumnAttribute(string)

+
+
+

Initializes a new instance of the ColumnAttribute class.

+
+
+
+ C# +
+
public ColumnAttribute(string name)
+

Parameters

+
+
+
+ name +
+
+ string +
+
+

The column name.

+
+

Properties Detail

+

Name

+
+
+

Gets the column name.

+
+
+
+ C# +
+
public string Name { get; }
+

Property Value

+
+
+ string +
+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.DeleteFrom.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.DeleteFrom.html new file mode 100644 index 0000000..ba517d2 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.DeleteFrom.html @@ -0,0 +1,120 @@ + + + + + + + DeleteFrom<T> Interface | API Reference | SqlBind Project + + + + + +
+
+
+

DeleteFrom<T> Interface

+ +
+
+

Represents the DELETE statement in SQL.

+
+
+
+ C# +
+
public interface DeleteFrom<T>
+

Type Parameters

+
+
+
+ T +
+
+
+
+

The type of the class qualified with the TableAttribute.

+
+

Methods

+
+ + + + + + + +
+ Where(string, IReadOnlyDictionary<string, object>) + +

Executes the delete statement with the specified condition and + parameters.

+
+
+

Methods Detail

+

Where(string, IReadOnlyDictionary<string, object>)

+
+
+

Executes the delete statement with the specified condition and + parameters.

+
+
+
+ C# +
+
void Where(string condition, IReadOnlyDictionary<string, object> parameters)
+

Parameters

+
+
+
+ condition +
+
+ string +
+
+

The condition of the WHERE clause.

+
+
+
+
+ parameters +
+
+ IReadOnlyDictionary<string, object> +
+
+

Immutable key-value pairs. The condition must + contain all the keys. Each value must be of the appropriate type.

+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.IgnoredAttribute.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.IgnoredAttribute.html new file mode 100644 index 0000000..277119e --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.IgnoredAttribute.html @@ -0,0 +1,162 @@ + + + + + + + IgnoredAttribute Class | API Reference | SqlBind Project + + + + + +
+
+
+

IgnoredAttribute Class

+ +
+
+

An attribute that qualifies the constructor that SqlBind does not use to + instantiate when the type has two or more constructors.

+
+
+
+ C# +
+
[AttributeUsage(System.AttributeTargets.Constructor, Inherited = false, AllowMultiple = false)]
public sealed class IgnoredAttribute : Attribute
+
+
+ Inheritance +
+
+
+
+ object +
+
+ Attribute +
+ IgnoredAttribute +
+
+
+
+
+ Attributes +
+
+ +
+
+

Properties

+
+ + + + + + + +
+ TypeId + + (Inherited from Attribute) +
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Equals(object) + + (Inherited from Attribute) +
+ GetHashCode() + + (Inherited from Attribute) +
+ IsDefaultAttribute() + + (Inherited from Attribute) +
+ Match(object) + + (Inherited from Attribute) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Committable.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Committable.html new file mode 100644 index 0000000..a00ff5f --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Committable.html @@ -0,0 +1,123 @@ + + + + + + + Committable Interface | API Reference | SqlBind Project + + + + + +
+
+
+

Committable Interface

+ +
+
+

Represents an atomic transaction.

+
+
+
+ C# +
+
public interface Committable : IDisposable
+
+
+ Derived +
+
+ +
+
+
+
+ Implements +
+
+ +
+
+

Methods

+
+ + + + + + + + + + + +
+ Commit() + +

Applies the changes made in the transaction.

+
+ Rollback() + +

Reverts the changes made in the transaction.

+
+
+

Methods Detail

+

Commit()

+
+
+

Applies the changes made in the transaction.

+
+
+
+ C# +
+
void Commit()
+

Rollback()

+
+
+

Reverts the changes made in the transaction.

+
+
+
+ C# +
+
void Rollback()
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.DatabaseLink.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.DatabaseLink.html new file mode 100644 index 0000000..9ca2d48 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.DatabaseLink.html @@ -0,0 +1,149 @@ + + + + + + + DatabaseLink Interface | API Reference | SqlBind Project + + + + + +
+
+
+

DatabaseLink Interface

+ +
+
+

Represents connection to the database.

+
+
+
+ C# +
+
public interface DatabaseLink : IDisposable
+
+
+ Derived +
+
+ +
+
+
+
+ Implements +
+
+ +
+
+

Methods

+
+ + + + + + + + + + + +
+ BeginTransaction() + +

Begins the transaction.

+
+ NewSiphon(Action<Func<string>>) + +

Gets a new siphon with the specified logger.

+
+
+

Methods Detail

+

BeginTransaction()

+
+
+

Begins the transaction.

+
+
+
+ C# +
+
Committable BeginTransaction()
+

Returns

+
+ +

The abstract transaction.

+
+

NewSiphon(Action<Func<string>>)

+
+
+

Gets a new siphon with the specified logger.

+
+
+
+ C# +
+
Siphon NewSiphon(Action<Func<string>> logger)
+

Parameters

+
+
+
+ logger +
+
+ Action<Func<string>> +
+
+

The logger to record statements.

+
+

Returns

+
+
+ Siphon +
+

The new siphon.

+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.DefaultToolkit.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.DefaultToolkit.html new file mode 100644 index 0000000..9c932c1 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.DefaultToolkit.html @@ -0,0 +1,179 @@ + + + + + + + DefaultToolkit Class | API Reference | SqlBind Project + + + + + +
+
+
+

DefaultToolkit Class

+ +
+
+

The default implementation of the Toolkit interface.

+
+
+
+ C# +
+
public sealed class DefaultToolkit : Toolkit
+
+
+ Inheritance +
+
+
+
+ object +
+ DefaultToolkit +
+
+
+
+
+ Implements +
+
+
+ Toolkit +
+
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ NewDatabaseLink(string) + +

Description copied from interface: Toolkit

+
+

Gets a new database connection.

+
+
+ Equals(object) + + (Inherited from object) +
+ GetHashCode() + + (Inherited from object) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+

Methods Detail

+

NewDatabaseLink(string)

+
+
+

Description copied from interface: Toolkit

+
+

Gets a new database connection.

+
+
+
+
+ C# +
+
public DatabaseLink NewDatabaseLink(string databasePath)
+

Parameters

+
+
+
+ databasePath +
+
+ string +
+
+
+

Returns

+
+ +

Description copied from interface: Toolkit

+
+

The new database connection.

+
+
+

Implements

+ +
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.DeleteFromImpl.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.DeleteFromImpl.html new file mode 100644 index 0000000..1e16f5b --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.DeleteFromImpl.html @@ -0,0 +1,192 @@ + + + + + + + DeleteFromImpl<T> Class | API Reference | SqlBind Project + + + + + +
+
+
+

DeleteFromImpl<T> Class

+ +
+
+

The default implementation of DeleteFrom<T>.

+
+
+
+ C# +
+
public sealed class DeleteFromImpl<T> : DeleteFrom<T>
+

Type Parameters

+
+
+
+ T +
+
+
+
+

The type of the class qualified with the TableAttribute.

+
+
+
+ Inheritance +
+
+
+
+ object +
+ DeleteFromImpl<T> +
+
+
+
+
+ Implements +
+
+ +
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Where(string, IReadOnlyDictionary<string, object>) + +

Description copied from interface: DeleteFrom

+
+

Executes the delete statement with the specified condition and + parameters.

+
+
+ Equals(object) + + (Inherited from object) +
+ GetHashCode() + + (Inherited from object) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+

Methods Detail

+

Where(string, IReadOnlyDictionary<string, object>)

+
+
+

Description copied from interface: DeleteFrom

+
+

Executes the delete statement with the specified condition and + parameters.

+
+
+
+
+ C# +
+
public void Where(string condition, IReadOnlyDictionary<string, object> parameters)
+

Parameters

+
+
+
+ condition +
+
+ string +
+
+
+
+
+
+ parameters +
+
+ IReadOnlyDictionary<string, object> +
+
+
+

Implements

+ +
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Field.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Field.html new file mode 100644 index 0000000..20ff6ef --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Field.html @@ -0,0 +1,345 @@ + + + + + + + Field<T> Class | API Reference | SqlBind Project + + + + + +
+
+
+

Field<T> Class

+ +
+
+

Represents a column of the table's row. Each instance corresponds to the + parameter in the constructor that the class qualified with TableAttribute has.

+
+
+
+ C# +
+
public sealed class Field<T> : WildField
+

Type Parameters

+
+
+
+ T +
+
+
+
+

The type qualified with TableAttribute.

+
+
+
+ Inheritance +
+
+
+
+ object +
+ Field<T> +
+
+
+
+
+ Implements +
+
+
+ WildField +
+
+
+

Constructors

+
+ + + + + + + +
+ Field(ParameterInfo) + +

Initializes a new instance of the Field<T> class.

+
+
+

Properties

+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ ParameterName + +
+ ColumnDefinition + +
+ ColumnName + +
+ PropertyInfo + +
+ IsAutoIncrement + +
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ GetPropertyValue(T) + +

Gets the value of the property associated with the field that the + specified row object contains.

+
+ Equals(object) + + (Inherited from object) +
+ GetHashCode() + + (Inherited from object) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+

Constructors Detail

+

Field(ParameterInfo)

+
+
+

Initializes a new instance of the Field<T> class.

+
+
+
+ C# +
+
public Field(ParameterInfo parameterInfo)
+

Parameters

+
+
+
+ parameterInfo +
+
+ ParameterInfo +
+
+

The constructor's parameter corresponding to this field.

+
+

Properties Detail

+

ParameterName

+
+ C# +
+
public string ParameterName { get; }
+

Property Value

+
+
+ string +
+
+

Implements

+ +

ColumnDefinition

+
+ C# +
+
public string ColumnDefinition { get; }
+

Property Value

+
+
+ string +
+
+

Implements

+ +

ColumnName

+
+ C# +
+
public string ColumnName { get; }
+

Property Value

+
+
+ string +
+
+

Implements

+ +

PropertyInfo

+
+ C# +
+
public PropertyInfo PropertyInfo { get; }
+

Property Value

+
+ +
+

Implements

+ +

IsAutoIncrement

+
+ C# +
+
public bool IsAutoIncrement { get; }
+

Property Value

+
+
+ bool +
+
+

Implements

+ +

Methods Detail

+

GetPropertyValue(T)

+
+
+

Gets the value of the property associated with the field that the + specified row object contains.

+
+
+
+ C# +
+
public object GetPropertyValue(T row)
+

Parameters

+
+
+
+ row +
+
+ T +
+
+

The row object that contains this field.

+
+

Returns

+
+
+ object +
+

The property value.

+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Metadata.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Metadata.html new file mode 100644 index 0000000..1bb5c79 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Metadata.html @@ -0,0 +1,535 @@ + + + + + + + Metadata<T> Class | API Reference | SqlBind Project + + + + + +
+
+
+

Metadata<T> Class

+ +
+
+

The cache of the metadata for reflection.

+
+
+
+ C# +
+
public sealed class Metadata<T> : WildMetadata
where T : notnull
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+

The type qualified with TableAttribute.

+
+
+
+ Inheritance +
+
+
+
+ object +
+ Metadata<T> +
+
+
+
+
+ Implements +
+
+ +
+
+

Constructors

+
+ + + + + + + +
+ Metadata() + +

Initializes a new instance of the Metadata<T> class.

+
+
+

Properties

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ CreateTableStatements + +
+ DropTableStatements + +
+ InsertStatement + +
+ TableName + +
+ DeleteStatement + +
+ SelectAllStatement + +
+ Fields + +

Gets all the fields of T.

+
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ NewSelectStatement(string) + +

Description copied from interface: WildMetadata

+
+

Gets a new string representing the SELECT statement to find the + row where the specified column is equal to the specific value.

+
+
+ NewSelectAllStatement(string) + +

Description copied from interface: WildMetadata

+
+

Gets a new string representing the incomplete select statement.

+
+
+ ToColumnName(string) + +

Description copied from interface: WildMetadata

+
+

Gets the column name associated with the specified parameter name.

+
+
+ NewInsertParameterMap(T) + +

Gets a new map of the parameter name to the parameter value.

+
+ Equals(object) + + (Inherited from object) +
+ GetHashCode() + + (Inherited from object) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+

Constructors Detail

+

Metadata()

+
+
+

Initializes a new instance of the Metadata<T> class.

+
+
+
+ C# +
+
public Metadata()
+

Properties Detail

+

CreateTableStatements

+
+ C# +
+
public IEnumerable<string> CreateTableStatements { get; }
+

Property Value

+
+ +
+

Implements

+ +

DropTableStatements

+
+ C# +
+
public IEnumerable<string> DropTableStatements { get; }
+

Property Value

+
+ +
+

Implements

+ +

InsertStatement

+
+ C# +
+
public string InsertStatement { get; }
+

Property Value

+
+
+ string +
+
+

Implements

+ +

TableName

+
+ C# +
+
public string TableName { get; }
+

Property Value

+
+
+ string +
+
+

Implements

+ +

DeleteStatement

+
+ C# +
+
public string DeleteStatement { get; }
+

Property Value

+
+
+ string +
+
+

Implements

+ +

SelectAllStatement

+
+ C# +
+
public string SelectAllStatement { get; }
+

Property Value

+
+
+ string +
+
+

Implements

+ +

Fields

+
+
+

Gets all the fields of T.

+
+
+
+ C# +
+
public IEnumerable<Field<T>> Fields { get; }
+

Property Value

+ +

Methods Detail

+

NewSelectStatement(string)

+
+
+

Description copied from interface: WildMetadata

+
+

Gets a new string representing the SELECT statement to find the + row where the specified column is equal to the specific value.

+
+
+
+
+ C# +
+
public string NewSelectStatement(string columnName)
+

Parameters

+
+
+
+ columnName +
+
+ string +
+
+
+

Returns

+
+
+ string +
+

Description copied from interface: WildMetadata

+
+

The new string: SELECT ... FROM ... WHERE columnName = + $columnName.

+
+
+

Implements

+ +

NewSelectAllStatement(string)

+
+
+

Description copied from interface: WildMetadata

+
+

Gets a new string representing the incomplete select statement.

+
+
+
+
+ C# +
+
public string NewSelectAllStatement(string alias)
+

Parameters

+
+
+
+ alias +
+
+ string +
+
+
+

Returns

+
+
+ string +
+

Description copied from interface: WildMetadata

+
+

The new string: SELECT ... FROM ... alias.

+
+
+

Implements

+ +

ToColumnName(string)

+
+
+

Description copied from interface: WildMetadata

+
+

Gets the column name associated with the specified parameter name.

+
+
+
+
+ C# +
+
public string ToColumnName(string parameterName)
+

Parameters

+
+
+
+ parameterName +
+
+ string +
+
+
+

Returns

+
+
+ string +
+

Description copied from interface: WildMetadata

+
+

The column name.

+
+
+

Implements

+ +

NewInsertParameterMap(T)

+
+
+

Gets a new map of the parameter name to the parameter value.

+
+
+
+ C# +
+
public IReadOnlyDictionary<string, object> NewInsertParameterMap(T row)
+

Parameters

+
+
+
+ row +
+
+ T +
+
+

The row object containing the all field values.

+
+

Returns

+
+ +

The new dictionary containing the parameter name-value pairs.

+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.MetadataBank.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.MetadataBank.html new file mode 100644 index 0000000..6487081 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.MetadataBank.html @@ -0,0 +1,218 @@ + + + + + + + MetadataBank Class | API Reference | SqlBind Project + + + + + +
+
+
+

MetadataBank Class

+ +
+
+

Provides cache for the reflection.

+
+
+
+ C# +
+
public sealed class MetadataBank
+
+
+ Inheritance +
+
+
+
+ object +
+ MetadataBank +
+
+
+

Constructors

+
+ + + + + + + +
+ MetadataBank() + +

Initializes a new instance of the MetadataBank class.

+
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ GetMetadata(Type) + +

Gets the metadata associated with the specified type.

+
+ GetMetadata<T>() + +

Gets the metadata associated with the specified type.

+
+ Equals(object) + + (Inherited from object) +
+ GetHashCode() + + (Inherited from object) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+

Constructors Detail

+

MetadataBank()

+
+
+

Initializes a new instance of the MetadataBank class.

+
+
+
+ C# +
+
public MetadataBank()
+

Methods Detail

+

GetMetadata(Type)

+
+
+

Gets the metadata associated with the specified type.

+
+
+
+ C# +
+
public WildMetadata GetMetadata(Type type)
+

Parameters

+
+
+
+ type +
+
+ Type +
+
+

The type representing the table.

+
+

Returns

+
+ +

The metadata.

+
+

GetMetadata<T>()

+
+
+

Gets the metadata associated with the specified type.

+
+
+
+ C# +
+
public Metadata<T> GetMetadata<T>()
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+

The type representing the table.

+
+

Returns

+
+ +

The metadata.

+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.QueryImpl.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.QueryImpl.html new file mode 100644 index 0000000..2c7171c --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.QueryImpl.html @@ -0,0 +1,760 @@ + + + + + + + QueryImpl Class | API Reference | SqlBind Project + + + + + +
+
+
+

QueryImpl Class

+ +
+
+

The default implementation of Query.

+
+
+
+ C# +
+
public sealed class QueryImpl : Query
+
+
+ Inheritance +
+
+
+
+ object +
+ QueryImpl +
+
+
+
+
+ Implements +
+
+
+ Query +
+
+
+

Constructors

+
+ + + + + + + +
+ QueryImpl(Siphon, MetadataBank) + +

Initializes a new instance of the QueryImpl class.

+
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ SelectAllFrom<T>(string) + +

Description copied from interface: Query

+
+

Selects all columns of the specified table.

+
+
+ Select<T>(string[]) + +

Description copied from interface: Query

+
+

Gets the Query.Select<T>(string[]) object to select the specified columns + of the specified table.

+
+
+ DeleteFrom<T>() + +

Description copied from interface: Query

+
+

Gets the Query.DeleteFrom<T>() object to delete the specified + rows of the specified table.

+
+
+ NewTables(Type[]) + +

Description copied from interface: Query

+
+

Creates new tables.

+
+
+ NewTables(IEnumerable<Type>) + +

Description copied from interface: Query

+
+

Creates new tables.

+
+
+ Insert<T>(T) + +

Description copied from interface: Query

+
+

Inserts a new row into the table.

+
+
+ InsertAndGetRowId<T>(T) + +

Description copied from interface: Query

+
+

Inserts a new row into the table and gets its ID.

+
+
+ SelectUnique<T>(string, object) + +

Description copied from interface: Query

+
+

Gets the single row of the table in which the specified unique field + matches the specified value.

+
+
+ SelectAll<T>() + +

Description copied from interface: Query

+
+

Gets all the rows of the specified table.

+
+
+ ColumnName<T>(string) + +

Description copied from interface: Query

+
+

Gets the column name associated with the specified parameter.

+
+
+ Equals(object) + + (Inherited from object) +
+ GetHashCode() + + (Inherited from object) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+

Constructors Detail

+

QueryImpl(Siphon, MetadataBank)

+
+
+

Initializes a new instance of the QueryImpl class.

+
+
+
+ C# +
+
public QueryImpl(Siphon siphon, MetadataBank bank)
+

Parameters

+
+
+
+ siphon +
+
+ Siphon +
+
+

The abstraction of the database connection.

+
+
+
+
+ bank +
+
+ MetadataBank +
+
+

The cache for the reflection.

+
+

Methods Detail

+

SelectAllFrom<T>(string)

+
+
+

Description copied from interface: Query

+
+

Selects all columns of the specified table.

+
+
+
+
+ C# +
+
public SelectFrom<T> SelectAllFrom<T>(string alias)
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+
+

Parameters

+
+
+
+ alias +
+
+ string +
+
+
+

Returns

+
+ +

Description copied from interface: Query

+
+

The SelectFrom<T> object.

+
+
+

Implements

+ +

Select<T>(string[])

+
+
+

Description copied from interface: Query

+
+

Gets the Query.Select<T>(string[]) object to select the specified columns + of the specified table.

+
+
+
+
+ C# +
+
public Select<T> Select<T>(params string[] columns)
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+
+

Parameters

+
+
+
+ columns +
+
+ string[] +
+
+
+

Returns

+
+
+ Select<T> +
+

Description copied from interface: Query

+
+

The Query.Select<T>(string[]) object.

+
+
+

Implements

+ +

DeleteFrom<T>()

+
+
+

Description copied from interface: Query

+
+

Gets the Query.DeleteFrom<T>() object to delete the specified + rows of the specified table.

+
+
+
+
+ C# +
+
public DeleteFrom<T> DeleteFrom<T>()
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+
+

Returns

+
+ +

Description copied from interface: Query

+
+

The Query.DeleteFrom<T>() object.

+
+
+

Implements

+ +

NewTables(Type[])

+
+
+

Description copied from interface: Query

+
+

Creates new tables.

+
+
+
+
+ C# +
+
public void NewTables(params Type[] tables)
+

Parameters

+
+
+
+ tables +
+
+ Type[] +
+
+
+

Implements

+ +

Remarks

+

Description copied from interface: Query

+
+

This method drops the tables if they exist and then creates them newly.

+
+

NewTables(IEnumerable<Type>)

+
+
+

Description copied from interface: Query

+
+

Creates new tables.

+
+
+
+
+ C# +
+
public void NewTables(IEnumerable<Type> allTables)
+

Parameters

+
+
+
+ allTables +
+
+ IEnumerable<Type> +
+
+
+

Implements

+ +

Remarks

+

Description copied from interface: Query

+
+

This method drops the tables if they exist and then creates them newly.

+
+

Insert<T>(T)

+
+
+

Description copied from interface: Query

+
+

Inserts a new row into the table.

+
+
+
+
+ C# +
+
public void Insert<T>(T row)
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+
+

Parameters

+
+
+
+ row +
+
+ T +
+
+
+

Implements

+ +

InsertAndGetRowId<T>(T)

+
+
+

Description copied from interface: Query

+
+

Inserts a new row into the table and gets its ID.

+
+
+
+
+ C# +
+
public long InsertAndGetRowId<T>(T row)
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+
+

Parameters

+
+
+
+ row +
+
+ T +
+
+
+

Returns

+
+
+ long +
+

Description copied from interface: Query

+
+

The ID of the row newly inserted.

+
+
+

Implements

+ +

SelectUnique<T>(string, object)

+
+
+

Description copied from interface: Query

+
+

Gets the single row of the table in which the specified unique field + matches the specified value.

+
+
+
+
+ C# +
+
public T SelectUnique<T>(string columnName, object value)
+

Type Parameters

+
+
+
+ T +
+
+ class +
+
+
+

Parameters

+
+
+
+ columnName +
+
+ string +
+
+
+
+
+
+ value +
+
+ object +
+
+
+

Returns

+
+
+ T +
+

Description copied from interface: Query

+
+

The row in which the field specified with columnName + matches the specified value if it exists, + null otherwise.

+
+
+

Implements

+ +

SelectAll<T>()

+
+
+

Description copied from interface: Query

+
+

Gets all the rows of the specified table.

+
+
+
+
+ C# +
+
public IEnumerable<T> SelectAll<T>()
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+
+

Returns

+
+ +

Description copied from interface: Query

+
+

All the rows of the specified table.

+
+
+

Implements

+ +

Remarks

+

Description copied from interface: Query

+
+

The IEnumerable<T> object returned by this method is + valid as long as the transaction is in progress. If you need access to + it after the transaction, you must use something like the + Enumerable.ToList<TSource>(IEnumerable<TSource>) + method to get the list in the meantime and then use it afterward.

+
+

ColumnName<T>(string)

+
+
+

Description copied from interface: Query

+
+

Gets the column name associated with the specified parameter.

+
+
+
+
+ C# +
+
public string ColumnName<T>(string parameterName)
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+
+

Parameters

+
+
+
+ parameterName +
+
+ string +
+
+
+

Returns

+
+
+ string +
+

Description copied from interface: Query

+
+

The column name.

+
+
+

Implements

+ +
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Reservoir.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Reservoir.html new file mode 100644 index 0000000..af3b7d7 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Reservoir.html @@ -0,0 +1,172 @@ + + + + + + + Reservoir Interface | API Reference | SqlBind Project + + + + + +
+
+
+

Reservoir Interface

+ +
+
+

Retrieves the result of the query.

+
+
+
+ C# +
+
public interface Reservoir : IDisposable
+
+
+ Implements +
+
+ +
+
+

Methods

+
+ + + + + + + + + + + + + + + +
+ Read() + +

Advances to the next row in the result set.

+
+ NewInstance<T>() + +

Creates an instance with the current row.

+
+ NewInstances<T>() + +

Creates new instances with the current and susequent rows.

+
+
+

Methods Detail

+

Read()

+
+
+

Advances to the next row in the result set.

+
+
+
+ C# +
+
bool Read()
+

Returns

+
+
+ bool +
+

true if there are more rows; otherwise, false.

+
+

NewInstance<T>()

+
+
+

Creates an instance with the current row.

+
+
+
+ C# +
+
T NewInstance<T>()
+

Type Parameters

+
+
+
+ T +
+
+
+
+

The type of the instance to be created.

+
+

Returns

+
+
+ T +
+

The new instance.

+
+

NewInstances<T>()

+
+
+

Creates new instances with the current and susequent rows.

+
+
+
+ C# +
+
IEnumerable<T> NewInstances<T>()
+

Type Parameters

+
+
+
+ T +
+
+
+
+

The type of the instances to be created.

+
+

Returns

+
+ +

The new instances.

+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.SelectFromImpl.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.SelectFromImpl.html new file mode 100644 index 0000000..fd45b20 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.SelectFromImpl.html @@ -0,0 +1,396 @@ + + + + + + + SelectFromImpl<T> Class | API Reference | SqlBind Project + + + + + +
+
+
+

SelectFromImpl<T> Class

+ +
+
+

The default implementation of SelectFrom<T>.

+
+
+
+ C# +
+
public sealed class SelectFromImpl<T> : SelectFrom<T>
where T : notnull
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+

The type of the class representing any row of the result of the query.

+
+
+
+ Inheritance +
+
+
+
+ object +
+ SelectFromImpl<T> +
+
+
+
+
+ Implements +
+
+ +
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ InnerJoin<U>(string, string) + +

Description copied from interface: SelectFrom

+
+

Gets a new SelectFrom<T> object, which represents + the combination of this (SELECT ... From ...) + and the INNER JOIN ... ON ... clause with the table that + U represents.

+
+
+ Where(string, IReadOnlyDictionary<string, object>) + +

Description copied from interface: SelectFrom

+
+

Gets a new WhereImpl<T> object, which represents + the combination of this (SELECT ... From ...) + and the WHERE ... clause.

+
+
+ Execute() + +

Description copied from interface: TerminalOperation

+
+

Executes the query and gets the result.

+
+
+ OrderBy(string[]) + +

Description copied from interface: TerminalOperation

+
+

Executes the query and gets the result in the order sorted by the + specified columns.

+
+
+ Equals(object) + + (Inherited from object) +
+ GetHashCode() + + (Inherited from object) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+

Methods Detail

+

InnerJoin<U>(string, string)

+
+
+

Description copied from interface: SelectFrom

+
+

Gets a new SelectFrom<T> object, which represents + the combination of this (SELECT ... From ...) + and the INNER JOIN ... ON ... clause with the table that + U represents.

+
+
+
+
+ C# +
+
public SelectFrom<T> InnerJoin<U>(string alias, string constraint)
+

Type Parameters

+
+
+
+ U +
+
+ notnull +
+
+
+

Parameters

+
+
+
+ alias +
+
+ string +
+
+
+
+
+
+ constraint +
+
+ string +
+
+
+

Returns

+
+ +

Description copied from interface: SelectFrom

+
+

The new SelectFrom<T> object.

+
+
+

Implements

+ +

Remarks

+

Description copied from interface: SelectFrom

+
+

The object that this method returns represents SELECT ... FROM ... + INNER JOIN "the table name of U" alias ON constraint.

+
+

Where(string, IReadOnlyDictionary<string, object>)

+
+
+

Description copied from interface: SelectFrom

+
+

Gets a new WhereImpl<T> object, which represents + the combination of this (SELECT ... From ...) + and the WHERE ... clause.

+
+
+
+
+ C# +
+
public Where<T> Where(string condition, IReadOnlyDictionary<string, object> parameters)
+

Parameters

+
+
+
+ condition +
+
+ string +
+
+
+
+
+
+ parameters +
+
+ IReadOnlyDictionary<string, object> +
+
+
+

Returns

+
+
+ Where<T> +
+

Description copied from interface: SelectFrom

+
+

The new WhereImpl<T> object.

+
+
+

Implements

+ +

Remarks

+

Description copied from interface: SelectFrom

+
+

The object that this method returns represents SELECT ... FROM ... + WHERE condition.

+
+

Execute()

+
+
+

Description copied from interface: TerminalOperation

+
+

Executes the query and gets the result.

+
+
+
+
+ C# +
+
public IEnumerable<T> Execute()
+

Returns

+
+ +

Description copied from interface: TerminalOperation

+
+

The T objects representing the result of the + query.

+
+
+

Implements

+ +

OrderBy(string[])

+
+
+

Description copied from interface: TerminalOperation

+
+

Executes the query and gets the result in the order sorted by the + specified columns.

+
+
+
+
+ C# +
+
public IEnumerable<T> OrderBy(params string[] columns)
+

Parameters

+
+
+
+ columns +
+
+ string[] +
+
+
+

Returns

+
+ +

Description copied from interface: TerminalOperation

+
+

The T objects representing the result of the + query.

+
+
+

Implements

+ +

Remarks

+

Description copied from interface: TerminalOperation

+
+

The result that this method returns represents that of SELECT + ... FROM ... ORDER BY columns.

+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.SelectImpl.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.SelectImpl.html new file mode 100644 index 0000000..719b72a --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.SelectImpl.html @@ -0,0 +1,202 @@ + + + + + + + SelectImpl<T> Class | API Reference | SqlBind Project + + + + + +
+
+
+

SelectImpl<T> Class

+ +
+
+

The default implementation of Select<T>.

+
+
+
+ C# +
+
public sealed class SelectImpl<T> : Select<T>
where T : notnull
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+

The type of the class representing any row of the result of the query.

+
+
+
+ Inheritance +
+
+
+
+ object +
+ SelectImpl<T> +
+
+
+
+
+ Implements +
+
+
+ Select<T> +
+
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ From<U>(string) + +

Description copied from interface: Select

+
+

Gets a new SelectFrom<T> object.

+
+
+ Equals(object) + + (Inherited from object) +
+ GetHashCode() + + (Inherited from object) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+

Methods Detail

+

From<U>(string)

+
+
+

Description copied from interface: Select

+
+

Gets a new SelectFrom<T> object.

+
+
+
+
+ C# +
+
public SelectFrom<T> From<U>(string alias)
+

Type Parameters

+
+
+
+ U +
+
+ notnull +
+
+
+

Parameters

+
+
+
+ alias +
+
+ string +
+
+
+

Returns

+
+ +

Description copied from interface: Select

+
+

The new SelectFrom<T> object.

+
+
+

Implements

+ +
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Siphon.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Siphon.html new file mode 100644 index 0000000..14a7f4f --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Siphon.html @@ -0,0 +1,205 @@ + + + + + + + Siphon Interface | API Reference | SqlBind Project + + + + + +
+
+
+

Siphon Interface

+ +
+
+

Abstraction of the database connection.

+
+
+
+ C# +
+
public interface Siphon
+

Methods

+
+ + + + + + + + + + + + + + + +
+ ExecuteNonQuery(string, IReadOnlyDictionary<string, object>) + +

Executes the SQL statement without the results.

+
+ ExecuteReader(string, IReadOnlyDictionary<string, object>) + +

Executes the SQL statement and returns the reader of the results.

+
+ ExecuteLong(string, IReadOnlyDictionary<string, object>) + +

Executes the SQL statement and returns the scalar result.

+
+
+

Methods Detail

+

ExecuteNonQuery(string, IReadOnlyDictionary<string, object>)

+
+
+

Executes the SQL statement without the results.

+
+
+
+ C# +
+
void ExecuteNonQuery(string text, [IReadOnlyDictionary<string, object> parameters = null])
+

Parameters

+
+
+
+ text +
+
+ string +
+
+

The SQL statement.

+
+
+
+
+ parameters +
+
+ IReadOnlyDictionary<string, object> +
+
+

The parameters of the statement. This can be null + if the statement contains no parameters.

+
+

ExecuteReader(string, IReadOnlyDictionary<string, object>)

+
+
+

Executes the SQL statement and returns the reader of the results.

+
+
+
+ C# +
+
Reservoir ExecuteReader(string text, [IReadOnlyDictionary<string, object> parameters = null])
+

Parameters

+
+
+
+ text +
+
+ string +
+
+

The SQL statement.

+
+
+
+
+ parameters +
+
+ IReadOnlyDictionary<string, object> +
+
+

The parameters of the statement. This can be null + if the statement contains no parameters.

+
+

Returns

+
+
+ Reservoir +
+

The reader of the results.

+
+

ExecuteLong(string, IReadOnlyDictionary<string, object>)

+
+
+

Executes the SQL statement and returns the scalar result.

+
+
+
+ C# +
+
long ExecuteLong(string text, [IReadOnlyDictionary<string, object> parameters = null])
+

Parameters

+
+
+
+ text +
+
+ string +
+
+

The SQL statement.

+
+
+
+
+ parameters +
+
+ IReadOnlyDictionary<string, object> +
+
+

The parameters of the statement. This can be null + if the statement contains no parameters.

+
+

Returns

+
+
+ long +
+

The scalar result.

+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.SqliteCommittable.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.SqliteCommittable.html new file mode 100644 index 0000000..ec37e73 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.SqliteCommittable.html @@ -0,0 +1,246 @@ + + + + + + + SqliteCommittable Class | API Reference | SqlBind Project + + + + + +
+
+
+

SqliteCommittable Class

+ +
+
+

The implementation with Sqlite.

+
+
+
+ C# +
+
public sealed class SqliteCommittable : Committable
+
+
+ Inheritance +
+
+
+
+ object +
+ SqliteCommittable +
+
+
+
+
+ Implements +
+
+ +
+
+

Constructors

+
+ + + + + + + +
+ SqliteCommittable(SqliteTransaction) + +

Initializes a new instance of the SqliteCommittable + class.

+
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Commit() + +

Description copied from interface: Committable

+
+

Applies the changes made in the transaction.

+
+
+ Dispose() + +
+ Rollback() + +

Description copied from interface: Committable

+
+

Reverts the changes made in the transaction.

+
+
+ Equals(object) + + (Inherited from object) +
+ GetHashCode() + + (Inherited from object) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+

Constructors Detail

+

SqliteCommittable(SqliteTransaction)

+
+
+

Initializes a new instance of the SqliteCommittable + class.

+
+
+
+ C# +
+
public SqliteCommittable(SqliteTransaction transaction)
+

Parameters

+
+
+
+ transaction +
+
+ SqliteTransaction +
+
+

The Sqlite's transaction.

+
+

Methods Detail

+

Commit()

+
+
+

Description copied from interface: Committable

+
+

Applies the changes made in the transaction.

+
+
+
+
+ C# +
+
public void Commit()
+

Implements

+ +

Dispose()

+
+ C# +
+
public void Dispose()
+

Implements

+ +

Rollback()

+
+
+

Description copied from interface: Committable

+
+

Reverts the changes made in the transaction.

+
+
+
+
+ C# +
+
public void Rollback()
+

Implements

+ +
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.SqliteDatabaseLink.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.SqliteDatabaseLink.html new file mode 100644 index 0000000..bc1256e --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.SqliteDatabaseLink.html @@ -0,0 +1,277 @@ + + + + + + + SqliteDatabaseLink Class | API Reference | SqlBind Project + + + + + +
+
+
+

SqliteDatabaseLink Class

+ +
+
+

The implementation with Sqlite.

+
+
+
+ C# +
+
public sealed class SqliteDatabaseLink : DatabaseLink
+
+
+ Inheritance +
+
+
+
+ object +
+ SqliteDatabaseLink +
+
+
+
+
+ Implements +
+
+ +
+
+

Constructors

+
+ + + + + + + +
+ SqliteDatabaseLink(SqliteConnection) + +

Initializes a new instance of the SqliteDatabaseLink + class.

+
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ BeginTransaction() + +

Description copied from interface: DatabaseLink

+
+

Begins the transaction.

+
+
+ Dispose() + +
+ NewSiphon(Action<Func<string>>) + +

Description copied from interface: DatabaseLink

+
+

Gets a new siphon with the specified logger.

+
+
+ Equals(object) + + (Inherited from object) +
+ GetHashCode() + + (Inherited from object) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+

Constructors Detail

+

SqliteDatabaseLink(SqliteConnection)

+
+
+

Initializes a new instance of the SqliteDatabaseLink + class.

+
+
+
+ C# +
+
public SqliteDatabaseLink(SqliteConnection connection)
+

Parameters

+
+
+
+ connection +
+
+ SqliteConnection +
+
+

The Sqlite's connection.

+
+

Methods Detail

+

BeginTransaction()

+
+
+

Description copied from interface: DatabaseLink

+
+

Begins the transaction.

+
+
+
+
+ C# +
+
public Committable BeginTransaction()
+

Returns

+
+ +

Description copied from interface: DatabaseLink

+
+

The abstract transaction.

+
+
+

Implements

+ +

Dispose()

+
+ C# +
+
public void Dispose()
+

Implements

+ +

NewSiphon(Action<Func<string>>)

+
+
+

Description copied from interface: DatabaseLink

+
+

Gets a new siphon with the specified logger.

+
+
+
+
+ C# +
+
public Siphon NewSiphon(Action<Func<string>> logger)
+

Parameters

+
+
+
+ logger +
+
+ Action<Func<string>> +
+
+
+

Returns

+
+
+ Siphon +
+

Description copied from interface: DatabaseLink

+
+

The new siphon.

+
+
+

Implements

+ +
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Toolkit.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Toolkit.html new file mode 100644 index 0000000..421d9a4 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Toolkit.html @@ -0,0 +1,146 @@ + + + + + + + Toolkit Interface | API Reference | SqlBind Project + + + + + +
+
+
+

Toolkit Interface

+ +
+
+

Provides the database connection.

+
+
+
+ C# +
+
public interface Toolkit
+
+
+ Derived +
+
+
+ +
+
+
+

Properties

+
+ + + + + + + +
+ Instance + +

Gets or sets the toolkit instance.

+
+
+

Methods

+
+ + + + + + + +
+ NewDatabaseLink(string) + +

Gets a new database connection.

+
+
+

Properties Detail

+

Instance

+
+
+

Gets or sets the toolkit instance.

+
+
+
+ C# +
+
Toolkit Instance { get; set; }
+

Property Value

+
+
+ Toolkit +
+
+

Methods Detail

+

NewDatabaseLink(string)

+
+
+

Gets a new database connection.

+
+
+
+ C# +
+
DatabaseLink NewDatabaseLink(string databasePath)
+

Parameters

+
+
+
+ databasePath +
+
+ string +
+
+

The database path.

+
+

Returns

+
+ +

The new database connection.

+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.WhereImpl.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.WhereImpl.html new file mode 100644 index 0000000..99e5429 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.WhereImpl.html @@ -0,0 +1,241 @@ + + + + + + + WhereImpl<T> Class | API Reference | SqlBind Project + + + + + +
+
+
+

WhereImpl<T> Class

+ +
+
+

The default implementation of Where<T>.

+
+
+
+ C# +
+
public sealed class WhereImpl<T> : Where<T>
where T : notnull
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+

The type of the class representing any row of the result of the query.

+
+
+
+ Inheritance +
+
+
+
+ object +
+ WhereImpl<T> +
+
+
+
+
+ Implements +
+
+ +
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Execute() + +

Description copied from interface: TerminalOperation

+
+

Executes the query and gets the result.

+
+
+ OrderBy(string[]) + +

Description copied from interface: TerminalOperation

+
+

Executes the query and gets the result in the order sorted by the + specified columns.

+
+
+ Equals(object) + + (Inherited from object) +
+ GetHashCode() + + (Inherited from object) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+

Methods Detail

+

Execute()

+
+
+

Description copied from interface: TerminalOperation

+
+

Executes the query and gets the result.

+
+
+
+
+ C# +
+
public IEnumerable<T> Execute()
+

Returns

+
+ +

Description copied from interface: TerminalOperation

+
+

The T objects representing the result of the + query.

+
+
+

Implements

+ +

OrderBy(string[])

+
+
+

Description copied from interface: TerminalOperation

+
+

Executes the query and gets the result in the order sorted by the + specified columns.

+
+
+
+
+ C# +
+
public IEnumerable<T> OrderBy(params string[] columns)
+

Parameters

+
+
+
+ columns +
+
+ string[] +
+
+
+

Returns

+
+ +

Description copied from interface: TerminalOperation

+
+

The T objects representing the result of the + query.

+
+
+

Implements

+ +

Remarks

+

Description copied from interface: TerminalOperation

+
+

The result that this method returns represents that of SELECT + ... FROM ... ORDER BY columns.

+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.WildField.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.WildField.html new file mode 100644 index 0000000..ea2598c --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.WildField.html @@ -0,0 +1,200 @@ + + + + + + + WildField Interface | API Reference | SqlBind Project + + + + + +
+
+
+

WildField Interface

+ +
+
+

The interface of Field<T> that provides non-generic + properties.

+
+
+
+ C# +
+
public interface WildField
+
+
+ Derived +
+
+
+
+ Field<T> +
+
+
+
+

Properties

+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ ParameterName + +

Gets the parameter name.

+
+ ColumnDefinition + +

Gets a string representing the column definition.

+
+ ColumnName + +

Gets the column definition.

+
+ PropertyInfo + +

Gets the property.

+
+ IsAutoIncrement + +

Gets a value indicating whether the field is qualified with + AUTOINCREMENT.

+
+
+

Properties Detail

+

ParameterName

+
+
+

Gets the parameter name.

+
+
+
+ C# +
+
string ParameterName { get; }
+

Property Value

+
+
+ string +
+
+

ColumnDefinition

+
+
+

Gets a string representing the column definition.

+
+
+
+ C# +
+
string ColumnDefinition { get; }
+

Property Value

+
+
+ string +
+
+

ColumnName

+
+
+

Gets the column definition.

+
+
+
+ C# +
+
string ColumnName { get; }
+

Property Value

+
+
+ string +
+
+

PropertyInfo

+
+
+

Gets the property.

+
+
+
+ C# +
+
PropertyInfo PropertyInfo { get; }
+

Property Value

+
+ +
+

IsAutoIncrement

+
+
+

Gets a value indicating whether the field is qualified with + AUTOINCREMENT.

+
+
+
+ C# +
+
bool IsAutoIncrement { get; }
+

Property Value

+
+
+ bool +
+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.WildMetadata.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.WildMetadata.html new file mode 100644 index 0000000..08b0ff4 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.WildMetadata.html @@ -0,0 +1,348 @@ + + + + + + + WildMetadata Interface | API Reference | SqlBind Project + + + + + +
+
+
+

WildMetadata Interface

+ +
+
+

The interface of Metadata<T> that provides non-generic + properties.

+
+
+
+ C# +
+
public interface WildMetadata
+
+
+ Derived +
+
+
+ +
+
+
+

Properties

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ CreateTableStatements + +

Gets the SQL statements to create the table and indexes.

+
+ DropTableStatements + +

Gets the SQL statements to drop the table and indexes.

+
+ InsertStatement + +

Gets the insert statement.

+
+ TableName + +

Gets the name of the table.

+
+ DeleteStatement + +

Gets the delete statement.

+
+ SelectAllStatement + +

Gets a complete SELECT statement like SELECT ... + FROM ... for all rows.

+
+
+

Methods

+
+ + + + + + + + + + + + + + + +
+ NewSelectStatement(string) + +

Gets a new string representing the SELECT statement to find the + row where the specified column is equal to the specific value.

+
+ NewSelectAllStatement(string) + +

Gets a new string representing the incomplete select statement.

+
+ ToColumnName(string) + +

Gets the column name associated with the specified parameter name.

+
+
+

Properties Detail

+

CreateTableStatements

+
+
+

Gets the SQL statements to create the table and indexes.

+
+
+
+ C# +
+
IEnumerable<string> CreateTableStatements { get; }
+

Property Value

+
+ +
+

DropTableStatements

+
+
+

Gets the SQL statements to drop the table and indexes.

+
+
+
+ C# +
+
IEnumerable<string> DropTableStatements { get; }
+

Property Value

+
+ +
+

InsertStatement

+
+
+

Gets the insert statement.

+
+
+
+ C# +
+
string InsertStatement { get; }
+

Property Value

+
+
+ string +
+
+

TableName

+
+
+

Gets the name of the table.

+
+
+
+ C# +
+
string TableName { get; }
+

Property Value

+
+
+ string +
+
+

DeleteStatement

+
+
+

Gets the delete statement.

+
+
+
+ C# +
+
string DeleteStatement { get; }
+

Property Value

+
+
+ string +
+
+

SelectAllStatement

+
+
+

Gets a complete SELECT statement like SELECT ... + FROM ... for all rows.

+
+
+
+ C# +
+
string SelectAllStatement { get; }
+

Property Value

+
+
+ string +
+
+

Methods Detail

+

NewSelectStatement(string)

+
+
+

Gets a new string representing the SELECT statement to find the + row where the specified column is equal to the specific value.

+
+
+
+ C# +
+
string NewSelectStatement(string columnName)
+

Parameters

+
+
+
+ columnName +
+
+ string +
+
+

The column name. This must contain the Field<T> object + that has the same name.

+
+

Returns

+
+
+ string +
+

The new string: SELECT ... FROM ... WHERE columnName = + $columnName.

+
+

NewSelectAllStatement(string)

+
+
+

Gets a new string representing the incomplete select statement.

+
+
+
+ C# +
+
string NewSelectAllStatement(string alias)
+

Parameters

+
+
+
+ alias +
+
+ string +
+
+

The alias name for the table with which this is associated. + represents.

+
+

Returns

+
+
+ string +
+

The new string: SELECT ... FROM ... alias.

+
+

ToColumnName(string)

+
+
+

Gets the column name associated with the specified parameter name.

+
+
+
+ C# +
+
string ToColumnName(string parameterName)
+

Parameters

+
+
+
+ parameterName +
+
+ string +
+
+

The parameter name that the primary constructor of T contains.

+
+

Returns

+
+
+ string +
+

The column name.

+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.html new file mode 100644 index 0000000..e737098 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.html @@ -0,0 +1,196 @@ + + + + + + + Maroontress.SqlBind.Impl Namespace | API Reference | SqlBind Project + + + + + +
+
+
+

Maroontress.SqlBind.Impl Namespace

+
+
+

This namespace provides the default implementation of some interfaces.

+
+
+

Classes

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ DefaultToolkit + +

The default implementation of the Toolkit interface.

+
+ DeleteFromImpl<T> + +

The default implementation of DeleteFrom<T>.

+
+ Field<T> + +

Represents a column of the table's row. Each instance corresponds to the + parameter in the constructor that the class qualified with TableAttribute has.

+
+ Metadata<T> + +

The cache of the metadata for reflection.

+
+ MetadataBank + +

Provides cache for the reflection.

+
+ QueryImpl + +

The default implementation of Query.

+
+ SelectFromImpl<T> + +

The default implementation of SelectFrom<T>.

+
+ SelectImpl<T> + +

The default implementation of Select<T>.

+
+ SqliteCommittable + +

The implementation with Sqlite.

+
+ SqliteDatabaseLink + +

The implementation with Sqlite.

+
+ WhereImpl<T> + +

The default implementation of Where<T>.

+
+
+

Interfaces

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Committable + +

Represents an atomic transaction.

+
+ DatabaseLink + +

Represents connection to the database.

+
+ Reservoir + +

Retrieves the result of the query.

+
+ Siphon + +

Abstraction of the database connection.

+
+ Toolkit + +

Provides the database connection.

+
+ WildField + +

The interface of Field<T> that provides non-generic + properties.

+
+ WildMetadata + +

The interface of Metadata<T> that provides non-generic + properties.

+
+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.IndexedColumnsAttribute.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.IndexedColumnsAttribute.html new file mode 100644 index 0000000..921fdbe --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.IndexedColumnsAttribute.html @@ -0,0 +1,230 @@ + + + + + + + IndexedColumnsAttribute Class | API Reference | SqlBind Project + + + + + +
+
+
+

IndexedColumnsAttribute Class

+ +
+
+

An attribute that qualifies any class representing a table, creating the + index of the table and using the specified column names for the index key.

+
+
+
+ C# +
+
[AttributeUsage(System.AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
public sealed class IndexedColumnsAttribute : Attribute
+
+
+ Inheritance +
+
+
+
+ object +
+
+ Attribute +
+ IndexedColumnsAttribute +
+
+
+
+
+ Attributes +
+
+ +
+
+

Remarks

+

See: SQLite CREATE + INDEX.

+

Constructors

+
+ + + + + + + +
+ IndexedColumnsAttribute(string[]) + +

Initializes a new instance of the IndexedColumnsAttribute + class.

+
+
+

Properties

+
+ + + + + + + + + + + +
+ Names + +

Gets the column names used for the index key.

+
+ TypeId + + (Inherited from Attribute) +
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Equals(object) + + (Inherited from Attribute) +
+ GetHashCode() + + (Inherited from Attribute) +
+ IsDefaultAttribute() + + (Inherited from Attribute) +
+ Match(object) + + (Inherited from Attribute) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+

Constructors Detail

+

IndexedColumnsAttribute(string[])

+
+
+

Initializes a new instance of the IndexedColumnsAttribute + class.

+
+
+
+ C# +
+
public IndexedColumnsAttribute(params string[] names)
+

Parameters

+
+
+
+ names +
+
+ string[] +
+
+

The column names used for the index key.

+
+

Properties Detail

+

Names

+
+
+

Gets the column names used for the index key.

+
+
+
+ C# +
+
public IReadOnlyList<string> Names { get; }
+

Property Value

+ +
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.PrimaryKeyAttribute.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.PrimaryKeyAttribute.html new file mode 100644 index 0000000..71deac8 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.PrimaryKeyAttribute.html @@ -0,0 +1,167 @@ + + + + + + + PrimaryKeyAttribute Class | API Reference | SqlBind Project + + + + + +
+
+
+

PrimaryKeyAttribute Class

+ +
+
+

An attribute that qualifies any parameter in the constructor, making the + column associated with the parameter a PRIMARY KEY field.

+
+
+
+ C# +
+
[AttributeUsage(System.AttributeTargets.Parameter, Inherited = false, AllowMultiple = false)]
public sealed class PrimaryKeyAttribute : Attribute
+
+
+ Inheritance +
+
+
+
+ object +
+
+ Attribute +
+ PrimaryKeyAttribute +
+
+
+
+
+ Attributes +
+
+ +
+
+

Remarks

+

This attribute can be specified for at most one of the parameters of the + constructor.

+

See: SQLite + CREATE TABLE.

+

Properties

+
+ + + + + + + +
+ TypeId + + (Inherited from Attribute) +
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Equals(object) + + (Inherited from Attribute) +
+ GetHashCode() + + (Inherited from Attribute) +
+ IsDefaultAttribute() + + (Inherited from Attribute) +
+ Match(object) + + (Inherited from Attribute) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Query.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Query.html new file mode 100644 index 0000000..6506916 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Query.html @@ -0,0 +1,535 @@ + + + + + + + Query Interface | API Reference | SqlBind Project + + + + + +
+
+
+

Query Interface

+ +
+
+

Represents a query.

+
+
+
+ C# +
+
public interface Query
+
+
+ Derived +
+
+
+
+ QueryImpl +
+
+
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ SelectAllFrom<T>(string) + +

Selects all columns of the specified table.

+
+ Select<T>(string[]) + +

Gets the Select<T>(string[]) object to select the specified columns + of the specified table.

+
+ DeleteFrom<T>() + +

Gets the DeleteFrom<T>() object to delete the specified + rows of the specified table.

+
+ NewTables(Type[]) + +

Creates new tables.

+
+ NewTables(IEnumerable<Type>) + +

Creates new tables.

+
+ Insert<T>(T) + +

Inserts a new row into the table.

+
+ InsertAndGetRowId<T>(T) + +

Inserts a new row into the table and gets its ID.

+
+ SelectUnique<T>(string, object) + +

Gets the single row of the table in which the specified unique field + matches the specified value.

+
+ SelectAll<T>() + +

Gets all the rows of the specified table.

+
+ ColumnName<T>(string) + +

Gets the column name associated with the specified parameter.

+
+
+

Methods Detail

+

SelectAllFrom<T>(string)

+
+
+

Selects all columns of the specified table.

+
+
+
+ C# +
+
SelectFrom<T> SelectAllFrom<T>(string alias)
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+

The type qualified with TableAttribute.

+
+

Parameters

+
+
+
+ alias +
+
+ string +
+
+

The alias of the table name.

+
+

Returns

+
+ +

The SelectFrom<T> object.

+
+

Select<T>(string[])

+
+
+

Gets the Select<T>(string[]) object to select the specified columns + of the specified table.

+
+
+
+ C# +
+
Select<T> Select<T>(params string[] columns)
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+

The type representing the result of this query, which must have the + single constructor accepting the parameters corresponding to columns.

+
+

Parameters

+
+
+
+ columns +
+
+ string[] +
+
+

One or more column names. Each consists of the alias followed by a + period (.) and the column name.

+
+

Returns

+
+
+ Select<T> +
+

The Select<T>(string[]) object.

+
+

DeleteFrom<T>()

+
+
+

Gets the DeleteFrom<T>() object to delete the specified + rows of the specified table.

+
+
+
+ C# +
+
DeleteFrom<T> DeleteFrom<T>()
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+

The type qualified with TableAttribute.

+
+

Returns

+
+ +

The DeleteFrom<T>() object.

+
+

NewTables(Type[])

+
+
+

Creates new tables.

+
+
+
+ C# +
+
void NewTables(params Type[] tables)
+

Parameters

+
+
+
+ tables +
+
+ Type[] +
+
+

The types qualified with TableAttribute representing + the tables to create.

+
+

Remarks

+

This method drops the tables if they exist and then creates them newly.

+

NewTables(IEnumerable<Type>)

+
+
+

Creates new tables.

+
+
+
+ C# +
+
void NewTables(IEnumerable<Type> allTables)
+

Parameters

+
+
+
+ allTables +
+
+ IEnumerable<Type> +
+
+

The types qualified with TableAttribute representing + the tables to create.

+
+

Remarks

+

This method drops the tables if they exist and then creates them newly.

+

Insert<T>(T)

+
+
+

Inserts a new row into the table.

+
+
+
+ C# +
+
void Insert<T>(T row)
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+

The type qualified with TableAttribute representing + the table.

+
+

Parameters

+
+
+
+ row +
+
+ T +
+
+

The row of the table to add.

+
+

InsertAndGetRowId<T>(T)

+
+
+

Inserts a new row into the table and gets its ID.

+
+
+
+ C# +
+
long InsertAndGetRowId<T>(T row)
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+

The type qualified with TableAttribute representing the + table. It must have the field qualified with AutoIncrementAttribute.

+
+

Parameters

+
+
+
+ row +
+
+ T +
+
+

The row of the table to add.

+
+

Returns

+
+
+ long +
+

The ID of the row newly inserted.

+
+

SelectUnique<T>(string, object)

+
+
+

Gets the single row of the table in which the specified unique field + matches the specified value.

+
+
+
+ C# +
+
T SelectUnique<T>(string columnName, object value)
+

Type Parameters

+
+
+
+ T +
+
+ class +
+
+

The type qualified with TableAttribute representing the + table. It must have the field qualified with UniqueAttribute.

+
+

Parameters

+
+
+
+ columnName +
+
+ string +
+
+

The name of the unique field.

+
+
+
+
+ value +
+
+ object +
+
+

The value that the unique field matches.

+
+

Returns

+
+
+ T +
+

The row in which the field specified with columnName + matches the specified value if it exists, + null otherwise.

+
+

SelectAll<T>()

+
+
+

Gets all the rows of the specified table.

+
+
+
+ C# +
+
IEnumerable<T> SelectAll<T>()
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+

The type represents the row of the table.

+
+

Returns

+
+ +

All the rows of the specified table.

+
+

Remarks

+

The IEnumerable<T> object returned by this method is + valid as long as the transaction is in progress. If you need access to + it after the transaction, you must use something like the + Enumerable.ToList<TSource>(IEnumerable<TSource>) + method to get the list in the meantime and then use it afterward.

+

ColumnName<T>(string)

+
+
+

Gets the column name associated with the specified parameter.

+
+
+
+ C# +
+
string ColumnName<T>(string parameterName)
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+

The type represents the row of the table.

+
+

Parameters

+
+
+
+ parameterName +
+
+ string +
+
+

The parameter name that the constructor of T + contains.

+
+

Returns

+
+
+ string +
+

The column name.

+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Select.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Select.html new file mode 100644 index 0000000..b77c793 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Select.html @@ -0,0 +1,126 @@ + + + + + + + Select<T> Interface | API Reference | SqlBind Project + + + + + +
+
+
+

Select<T> Interface

+ +
+
+

Represents the SELECT statement in SQL.

+
+
+
+ C# +
+
public interface Select<T>
where T : notnull
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+

The type of the class representing any row of the result of the query.

+
+

Methods

+
+ + + + + + + +
+ From<U>(string) + +

Gets a new SelectFrom<T> object.

+
+
+

Methods Detail

+

From<U>(string)

+
+
+

Gets a new SelectFrom<T> object.

+
+
+
+ C# +
+
SelectFrom<T> From<U>(string alias)
+

Type Parameters

+
+
+
+ U +
+
+ notnull +
+
+

The type of the class qualified with the TableAttribute.

+
+

Parameters

+
+
+
+ alias +
+
+ string +
+
+

The alias name of the table that U represents.

+
+

Returns

+
+ +

The new SelectFrom<T> object.

+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.SelectFrom.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.SelectFrom.html new file mode 100644 index 0000000..1c69757 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.SelectFrom.html @@ -0,0 +1,213 @@ + + + + + + + SelectFrom<T> Interface | API Reference | SqlBind Project + + + + + +
+
+
+

SelectFrom<T> Interface

+ +
+
+

Represents the SELECT statement in SQL without a WHERE + clause. It can end with a INNER JOIN clause.

+
+
+
+ C# +
+
public interface SelectFrom<T> : TerminalOperation<T>
where T : notnull
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+

The type of the class representing any row of the result of the query.

+
+
+
+ Implements +
+
+ +
+
+

Methods

+
+ + + + + + + + + + + +
+ InnerJoin<U>(string, string) + +

Gets a new SelectFrom<T> object, which represents + the combination of this (SELECT ... From ...) + and the INNER JOIN ... ON ... clause with the table that + U represents.

+
+ Where(string, IReadOnlyDictionary<string, object>) + +

Gets a new WhereImpl<T> object, which represents + the combination of this (SELECT ... From ...) + and the WHERE ... clause.

+
+
+

Methods Detail

+

InnerJoin<U>(string, string)

+
+
+

Gets a new SelectFrom<T> object, which represents + the combination of this (SELECT ... From ...) + and the INNER JOIN ... ON ... clause with the table that + U represents.

+
+
+
+ C# +
+
SelectFrom<T> InnerJoin<U>(string alias, string constraint)
+

Type Parameters

+
+
+
+ U +
+
+ notnull +
+
+

The type of the class qualified with the TableAttribute.

+
+

Parameters

+
+
+
+ alias +
+
+ string +
+
+

The alias name of the table that U represents.

+
+
+
+
+ constraint +
+
+ string +
+
+

The expression following ON.

+
+

Returns

+
+ +

The new SelectFrom<T> object.

+
+

Remarks

+

The object that this method returns represents SELECT ... FROM ... + INNER JOIN "the table name of U" alias ON constraint.

+

Where(string, IReadOnlyDictionary<string, object>)

+
+
+

Gets a new WhereImpl<T> object, which represents + the combination of this (SELECT ... From ...) + and the WHERE ... clause.

+
+
+
+ C# +
+
Where<T> Where(string condition, IReadOnlyDictionary<string, object> parameters)
+

Parameters

+
+
+
+ condition +
+
+ string +
+
+

The condition of the WHERE clause.

+
+
+
+
+ parameters +
+
+ IReadOnlyDictionary<string, object> +
+
+

Immutable key-value pairs. The condition must + contain all the keys. Each value must be of the appropriate type.

+
+

Returns

+
+
+ Where<T> +
+

The new WhereImpl<T> object.

+
+

Remarks

+

The object that this method returns represents SELECT ... FROM ... + WHERE condition.

+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.TableAttribute.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.TableAttribute.html new file mode 100644 index 0000000..6a63f65 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.TableAttribute.html @@ -0,0 +1,240 @@ + + + + + + + TableAttribute Class | API Reference | SqlBind Project + + + + + +
+
+
+

TableAttribute Class

+ +
+
+

An attribute that qualifies any class representing a row of a table, + associating the class with the table that has the specified name.

+
+
+
+ C# +
+
[AttributeUsage(System.AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class TableAttribute : Attribute
+
+
+ Inheritance +
+
+
+
+ object +
+
+ Attribute +
+ TableAttribute +
+
+
+
+
+ Attributes +
+
+ +
+
+

Remarks

+

The class that this attribute qualifies must have a single + constructor, every parameter of which must be qualified with ColumnAttribute. And the class must have the properties + corresponding to those parameters. Each property must have the same name + as the corresponding parameter, in the simular way of a record + class.

+

See: + SQLite CREATE + TABLE.

+

Constructors

+
+ + + + + + + +
+ TableAttribute(string) + +

Initializes a new instance of the TableAttribute class.

+
+
+

Properties

+
+ + + + + + + + + + + +
+ Name + +

Gets the table name.

+
+ TypeId + + (Inherited from Attribute) +
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Equals(object) + + (Inherited from Attribute) +
+ GetHashCode() + + (Inherited from Attribute) +
+ IsDefaultAttribute() + + (Inherited from Attribute) +
+ Match(object) + + (Inherited from Attribute) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+

See Also

+ +

Constructors Detail

+

TableAttribute(string)

+
+
+

Initializes a new instance of the TableAttribute class.

+
+
+
+ C# +
+
public TableAttribute(string name)
+

Parameters

+
+
+
+ name +
+
+ string +
+
+

The table name.

+
+

Properties Detail

+

Name

+
+
+

Gets the table name.

+
+
+
+ C# +
+
public string Name { get; }
+

Property Value

+
+
+ string +
+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.TerminalOperation.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.TerminalOperation.html new file mode 100644 index 0000000..55097c0 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.TerminalOperation.html @@ -0,0 +1,146 @@ + + + + + + + TerminalOperation<T> Interface | API Reference | SqlBind Project + + + + + +
+
+
+

TerminalOperation<T> Interface

+ +
+
+

Represents the executable SELECT statement in SQL.

+
+
+
+ C# +
+
public interface TerminalOperation<T>
where T : notnull
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+

The type of the class representing any row of the result of the query.

+
+

Methods

+
+ + + + + + + + + + + +
+ Execute() + +

Executes the query and gets the result.

+
+ OrderBy(string[]) + +

Executes the query and gets the result in the order sorted by the + specified columns.

+
+
+

Methods Detail

+

Execute()

+
+
+

Executes the query and gets the result.

+
+
+
+ C# +
+
IEnumerable<T> Execute()
+

Returns

+
+ +

The T objects representing the result of the + query.

+
+

OrderBy(string[])

+
+
+

Executes the query and gets the result in the order sorted by the + specified columns.

+
+
+
+ C# +
+
IEnumerable<T> OrderBy(params string[] columns)
+

Parameters

+
+
+
+ columns +
+
+ string[] +
+
+

The columns to sort the rows of the result by.

+
+

Returns

+
+ +

The T objects representing the result of the + query.

+
+

Remarks

+

The result that this method returns represents that of SELECT + ... FROM ... ORDER BY columns.

+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.TransactionKit.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.TransactionKit.html new file mode 100644 index 0000000..a151749 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.TransactionKit.html @@ -0,0 +1,252 @@ + + + + + + + TransactionKit Class | API Reference | SqlBind Project + + + + + +
+
+
+

TransactionKit Class

+ +
+
+

The factory that creates queries.

+
+
+
+ C# +
+
public sealed class TransactionKit
+
+
+ Inheritance +
+
+
+
+ object +
+ TransactionKit +
+
+
+

Constructors

+
+ + + + + + + +
+ TransactionKit(string, Action<Func<string>>) + +

Initializes a new instance of the TransactionKit class.

+
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Execute(Action<Query>) + +

Executes queries within a single transaction.

+
+ Execute<T>(Func<Query, T>) + +

Executes queries within a single transaction and returns the result.

+
+ Equals(object) + + (Inherited from object) +
+ GetHashCode() + + (Inherited from object) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+

Constructors Detail

+

TransactionKit(string, Action<Func<string>>)

+
+
+

Initializes a new instance of the TransactionKit class.

+
+
+
+ C# +
+
public TransactionKit(string databasePath, Action<Func<string>> logger)
+

Parameters

+
+
+
+ databasePath +
+
+ string +
+
+

The path of the database file.

+
+
+
+
+ logger +
+
+ Action<Func<string>> +
+
+

The logger.

+
+

Methods Detail

+

Execute(Action<Query>)

+
+
+

Executes queries within a single transaction.

+
+
+
+ C# +
+
public void Execute(Action<Query> action)
+

Parameters

+
+
+
+ action +
+
+ Action<Query> +
+
+

The action that takes a Query object.

+
+

Remarks

+

If the action throws an exception, this method + performs the rollback.

+

Execute<T>(Func<Query, T>)

+
+
+

Executes queries within a single transaction and returns the result.

+
+
+
+ C# +
+
public T Execute<T>(Func<Query, T> apply)
+

Type Parameters

+
+
+
+ T +
+
+
+
+

The type of the result.

+
+

Parameters

+
+
+
+ apply +
+
+ Func<Query, T> +
+
+

The function that takes a Query object and returns the + result.

+
+

Returns

+
+
+ T +
+

The result.

+
+

Remarks

+

If the apply throws an exception, this method + performs the rollback.

+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.UniqueAttribute.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.UniqueAttribute.html new file mode 100644 index 0000000..6c80531 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.UniqueAttribute.html @@ -0,0 +1,166 @@ + + + + + + + UniqueAttribute Class | API Reference | SqlBind Project + + + + + +
+
+
+

UniqueAttribute Class

+ +
+
+

An attribute that qualifies any parameter in the constructor, making the + column associated with the parameter a UNIQUE field.

+
+
+
+ C# +
+
[AttributeUsage(System.AttributeTargets.Parameter, Inherited = false, AllowMultiple = false)]
public sealed class UniqueAttribute : Attribute
+
+
+ Inheritance +
+
+
+
+ object +
+
+ Attribute +
+ UniqueAttribute +
+
+
+
+
+ Attributes +
+
+ +
+
+

Remarks

+

This attribute can be specified for at most one of the parameters of the + constructor.

+

See: SQLite CREATE TABLE.

+

Properties

+
+ + + + + + + +
+ TypeId + + (Inherited from Attribute) +
+
+

Methods

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Equals(object) + + (Inherited from Attribute) +
+ GetHashCode() + + (Inherited from Attribute) +
+ IsDefaultAttribute() + + (Inherited from Attribute) +
+ Match(object) + + (Inherited from Attribute) +
+ GetType() + + (Inherited from object) +
+ MemberwiseClone() + + (Inherited from object) +
+ ToString() + + (Inherited from object) +
+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Where.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Where.html new file mode 100644 index 0000000..d614a04 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Where.html @@ -0,0 +1,79 @@ + + + + + + + Where<T> Interface | API Reference | SqlBind Project + + + + + +
+
+
+

Where<T> Interface

+ +
+
+

Represents the SELECT ... WHERE ... statement in SQL.

+
+
+
+ C# +
+
public interface Where<T> : TerminalOperation<T>
where T : notnull
+

Type Parameters

+
+
+
+ T +
+
+ notnull +
+
+

The type of the class representing any row of the result of the query.

+
+
+
+ Implements +
+
+ +
+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.html b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.html new file mode 100644 index 0000000..5f761f6 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.html @@ -0,0 +1,169 @@ + + + + + + + Maroontress.SqlBind Namespace | API Reference | SqlBind Project + + + + + +
+
+
+

Maroontress.SqlBind Namespace

+
+
+

This namespace provides the wrapper of SQLite.

+
+
+

Classes

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ AutoIncrementAttribute + +

An attribute that qualifies any parameter in the constructor, making the + column associated with the parameter an AUTOINCREMENT field.

+
+ ColumnAttribute + +

An attribute that qualifies any parameter in the constructor, associating + the parameter with the column that has the specified name.

+
+ IgnoredAttribute + +

An attribute that qualifies the constructor that SqlBind does not use to + instantiate when the type has two or more constructors.

+
+ IndexedColumnsAttribute + +

An attribute that qualifies any class representing a table, creating the + index of the table and using the specified column names for the index key.

+
+ PrimaryKeyAttribute + +

An attribute that qualifies any parameter in the constructor, making the + column associated with the parameter a PRIMARY KEY field.

+
+ TableAttribute + +

An attribute that qualifies any class representing a row of a table, + associating the class with the table that has the specified name.

+
+ TransactionKit + +

The factory that creates queries.

+
+ UniqueAttribute + +

An attribute that qualifies any parameter in the constructor, making the + column associated with the parameter a UNIQUE field.

+
+
+

Interfaces

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ DeleteFrom<T> + +

Represents the DELETE statement in SQL.

+
+ Query + +

Represents a query.

+
+ Select<T> + +

Represents the SELECT statement in SQL.

+
+ SelectFrom<T> + +

Represents the SELECT statement in SQL without a WHERE + clause. It can end with a INNER JOIN clause.

+
+ TerminalOperation<T> + +

Represents the executable SELECT statement in SQL.

+
+ Where<T> + +

Represents the SELECT ... WHERE ... statement in SQL.

+
+
+
+
+
+ + diff --git a/SqlBind-CSharp/api/latest/html/bulldoc.css b/SqlBind-CSharp/api/latest/html/bulldoc.css new file mode 100644 index 0000000..5a44b28 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/bulldoc.css @@ -0,0 +1,567 @@ +@font-face { + font-family: "docons"; + src: url("docons.woff") format('woff'); +} + +body { + color: var(--text); + background-color: var(--body-background); + font-family: Segoe UI,SegoeUI,Segoe WP,Helvetica Neue,Helvetica,Tahoma,Arial,sans-serif; + font-weight: 400; + line-height: 160%; + overflow-x: hidden; + overflow-y: scroll; + min-height: 100vh; +} + +html *, html :after, html :before { + -webkit-box-sizing: inherit; + box-sizing: inherit; +} + +html { + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + text-size-adjust: 100%; + box-sizing: border-box; +} + +h1:first-of-type { + margin-top: -10px; + margin-bottom: 0; +} + +h1 { + line-height: 1.3; + margin-bottom: 12px; + font-size: 2.5rem; + margin-top: 0; + word-wrap: break-word; + word-break: break-word; +} + +h1 { + margin: .67em 0; +} + +h1, h2, h3, h4, h5, h6 { + font-weight: 600; +} + +.content h2 { + font-size: 1.75rem; + margin-top: 32px; +} + +.content h4 { + font-size: 1rem; + margin-top: 36px; + margin-bottom: 6px; + line-height: 1.3; +} + +.subtle { + color: var(--text-subtle); +} + +a { + color: var(--primary-base); + cursor: pointer; + text-decoration: none; + word-wrap: break-word; +} + +a:hover { + color: var(--primary-hover); + text-decoration: underline; +} + +.pdlHolder .pdl:after { + color: var(--text-subtle); + content: "\FF19"; + font-family: docons; + font-size: 12px; + padding-left: 6px; + vertical-align: text-top; + padding-right: 6px; +} + +.cdlHolder .cdl, .pdlHolder .pdl { + display: inline-block; +} + +.cdlHolder .cdl:last-child:after, .pdlHolder .pdl:last-child:after { + content: ""; +} + +.cdlHolder .cdl:after { + content: ","; +} + +dl.attributeList { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + margin: 0; +} + +.stack, dl.stack { + margin-top: 24px; +} + +dl { + display: block; + margin-block-start: 1em; + margin-block-end: 1em; + margin-inline-start: 0px; + margin-inline-end: 0px; +} + +dl.parameterList { + display: flex; + margin: 0; +} + +.propertyInfo p:nth-child(2) { + margin-top: 2px; +} + +dl.parameterList dt { + background-color: var(--body-background-medium); + display: inline-block; + font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif; + font-weight: 600; + padding: 0 6px 2px; +} + +dl.parameterList dd { + margin-left: 12px; +} + +dt { + display: block; +} + +dl.attributeList dd { + margin-left: 8px; +} + +dd { + display: block; + margin-inline-start: 40px; +} + +div.table-scroll-wrapper { + overflow-x: auto; +} + +main table.nameValue { + border-width: 0; + table-layout: fixed; +} + +main table { + border-collapse: collapse; + border-spacing: 0; + table-layout: auto; + width: 100%; + font-size: .875rem; +} + +main table.nameValue td:first-child { + float: left; + padding: 14px 0 0; + width: 100%; +} + +main table.nameValue td:nth-child(2) { + border-width: 0; + float: left; + padding: 0 0 14px; +} + +main table.nameValue.cols3 td:nth-child(2) { + border-width: 0; + float: left; + padding: 8px 14px 0 0; + width: 100%; +} + +main table.nameValue.cols3 td:nth-child(3) { + border-width: 0; + float: left; + padding: 8px 0 14px; +} + +@media only screen and (min-width: 769px) { + main table.nameValue td:first-child { + float: none; + padding: 14px 28px 14px 0; + width: 30%; + min-width: 200px; + } + + main table.nameValue td:nth-child(2) { + float: none; + padding: 14px 0; + width: 70%; + border-top-width: 1px; + } + + main table.nameValue.cols3 td:first-child { + float: none; + padding: 14px 14px 14px 0; + width: 25%; + min-width: 200px; + } + + main table.nameValue.cols3 td:nth-child(2) { + float: none; + padding: 14px; + width: 25%; + border-top-width: 1px; + } + + main table.nameValue.cols3 td:nth-child(3) { + float: none; + padding: 14px 0; + width: 50%; + border-top-width: 1px; + } +} + +main table.nameValue td { + border-color: var(--border); + padding: 12px 0; +} + +main td, main th { + display: table-cell; + word-wrap: break-word; + line-height: 1.5; + vertical-align: top; + border: solid var(--border); + border-width: 1px 0 0; +} + +main table.nameValue td p:first-child { + margin: 0; +} + +main td p:first-child, main th p:first-child { + margin-top: 0; +} + +.content p { + margin-top: 1rem; + margin-bottom: 0; +} + +.content p a { + text-decoration: underline; +} + +.metadata { + color: var(--text-subtle); + display: block; + font-size: .875rem; +} + +p code { + font-size: .8rem; +} + +code { + border: 1px solid var(--border); + background-color: var(--body-background-medium); + font-size: .875rem; + border-radius: 2px; + display: inline-block; + padding: 3px 7px; + direction: ltr; +} + +pre code { + border: 0; + padding: 0; + display: block; +} + +pre.wrap { + white-space: pre-wrap; +} + +.codeHeader+pre { + margin-top: 0; +} + +.codeHeader { + box-sizing: content-box; + background-color: var(--body-background-dark); + color: var(--text); + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + font-size: .8rem; + border: 1px solid var(--border); + border-bottom: 0; + margin-top: 16px; + min-height: 30px; +} + +.codeHeader > .language { + padding: 2px 16px; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} + +.codeHeader > .action { + padding: 2px 10px; + background-color: transparent; + border: solid var(--border); + border-width: 0 0 0 1px; + color: var(--text); + cursor: pointer; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + line-height: normal; + font-family: Segoe UI,SegoeUI,Segoe WP,Helvetica Neue,Helvetica,Tahoma,Arial,sans-serif; +} + +.codeHeader > .action > .docon { + margin-right: .25em; +} + +.docon-edit-copy:before { + content: "\FF1D"; +} + +.docon { + font-family: docons; + font-size: inherit; + speak: none; + display: inline-block; + font-style: normal; + font-weight: 400; + font-variant: normal; + text-transform: none; + text-align: center; + direction: ltr; + line-height: 16px; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +pre { + overflow: auto; + padding: 16px; + margin: 16px 0 0; + direction: ltr; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + tab-size: 4; + hyphens: none; + border: 1px solid var(--border); + background-color: var(--body-background-medium); + font-size: .875rem; +} + +.code-like, .is-monospace, code, kbd, pre, samp { + -moz-osx-font-smoothing: auto; + -webkit-font-smoothing: auto; + font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif!important +} + +code, kbd, pre, samp { + line-height: 19px; +} + +.summary p:first-of-type { + margin-top: 0; +} + +.summaryHolder>.summary { + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.summaryHolder { + display: flex; + margin-top: 24px; +} + +.clearFix:after { + content: "."; + visibility: hidden; + display: block; + height: 0; + clear: both; +} + +.has-top-padding.uhf-container { + padding-top: 1.5rem; +} + +.uhf-container { + margin-right: auto; + margin-left: auto; + position: relative; + max-width: 100%; +} + +@media print, screen and (min-width: 860px) { + .uhf-container:not(.has-padding) { + max-width: calc(100% - 48px); + width: calc(100% - 48px); + } +} + +@media print, screen and (min-width: 1084px) { + .uhf-container:not(.has-padding) { + max-width: calc(100% - 10vw); + width: calc(100% - 10vw); + } +} + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + color: #abb2bf; +} + +.hljs-comment, +.hljs-quote { + color: #57a64a; +} + +.hljs-doctag, +.hljs-keyword, +.hljs-formula { + color: #569cd6; +} + +.hljs-section, +.hljs-name, +.hljs-selector-tag, +.hljs-deletion, +.hljs-subst { + color: #e06c75; +} + +.hljs-literal { + color: #56b6c2; +} + +.hljs-string, +.hljs-regexp, +.hljs-addition, +.hljs-attribute, +.hljs-meta-string { + color: #ce9178; +} + +.hljs-built_in, +.hljs-class .hljs-title { + color: #01cfff; +} + +.hljs-attr, +.hljs-variable, +.hljs-template-variable, +.hljs-type, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-number { + color: #b5cea8; +} + +.hljs-symbol, +.hljs-bullet, +.hljs-link, +.hljs-meta, +.hljs-selector-id, +.hljs-title { + color: #01cfff; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} + +.hljs-link { + text-decoration: underline; +} + +:root { + --text: #e3e3e3; + --text-subtle: #c7c7c7; + --text-invert: #2e2e2e; + --box-shadow-light: hsla(0,0%,100%,0.108); + --box-shadow-medium: hsla(0,0%,100%,0.132); + --box-shadow-heavy: hsla(0,0%,100%,0.18); + --box-shadow-extra-heavy: hsla(0,0%,100%,0.22); + --overlay: hsla(0,0%,45.9%,0.5); + --overlay-hover: hsla(0,0%,9%,0.5); + --body-background: #171717; + --body-background-medium: #2e2e2e; + --body-background-dark: #242424; + --border: #454545; + --primary-base: #4db2ff; + --primary-background: #002b4d; + --primary-dark: #a3d7ff; + --primary-hover: #0091ff; + --primary-active: #0065b3; + --primary-box-shadow: rgba(0,101,179,0.3); + --primary-invert: #000; + --secondary-base: #757575; + --secondary-background: #2e2e2e; + --secondary-dark: #e3e3e3; + --secondary-hover: #919191; + --secondary-active: #ababab; + --secondary-box-shadow: rgba(0,0,0,0.7); + --secondary-invert: #fff; + --success-base: #128712; + --success-background: #094409; + --success-dark: #d2f9d2; + --success-hover: #17b517; + --success-active: #4ae84a; + --success-box-shadow: rgba(18,135,18,0.7); + --success-invert: #fff; + --info-base: #8763c5; + --info-background: #38225d; + --info-dark: #e2daf1; + --info-hover: #9b7dcf; + --info-active: #a98fd6; + --info-box-shadow: rgba(38,23,63,0.7); + --info-invert: #fff; + --warning-base: #fb0; + --warning-background: #664b00; + --warning-dark: #fff1cc; + --warning-hover: #ffc933; + --warning-active: #ffd666; + --warning-box-shadow: rgba(255,187,0,0.7); + --warning-invert: #000; + --danger-base: #da3b01; + --danger-background: #651b01; + --danger-dark: #ffdacc; + --danger-hover: #fe571b; + --danger-active: #fe8f67; + --danger-box-shadow: rgba(218,59,1,0.7); + --danger-invert: #fff; +} diff --git a/SqlBind-CSharp/api/latest/html/docons.woff b/SqlBind-CSharp/api/latest/html/docons.woff new file mode 100644 index 0000000..3c66e7b Binary files /dev/null and b/SqlBind-CSharp/api/latest/html/docons.woff differ diff --git a/SqlBind-CSharp/api/latest/html/highlight.pack.js b/SqlBind-CSharp/api/latest/html/highlight.pack.js new file mode 100644 index 0000000..8172397 --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/highlight.pack.js @@ -0,0 +1,2 @@ +/*! highlight.js v9.13.1 | BSD3 License | git.io/hljslicense */ +!function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"!=typeof exports?e(exports):n&&(n.hljs=e({}),"function"==typeof define&&define.amd&&define([],function(){return n.hljs}))}(function(e){function n(e){return e.replace(/&/g,"&").replace(//g,">")}function t(e){return e.nodeName.toLowerCase()}function r(e,n){var t=e&&e.exec(n);return t&&0===t.index}function a(e){return k.test(e)}function i(e){var n,t,r,i,o=e.className+" ";if(o+=e.parentNode?e.parentNode.className:"",t=M.exec(o))return w(t[1])?t[1]:"no-highlight";for(o=o.split(/\s+/),n=0,r=o.length;r>n;n++)if(i=o[n],a(i)||w(i))return i}function o(e){var n,t={},r=Array.prototype.slice.call(arguments,1);for(n in e)t[n]=e[n];return r.forEach(function(e){for(n in e)t[n]=e[n]}),t}function c(e){var n=[];return function r(e,a){for(var i=e.firstChild;i;i=i.nextSibling)3===i.nodeType?a+=i.nodeValue.length:1===i.nodeType&&(n.push({event:"start",offset:a,node:i}),a=r(i,a),t(i).match(/br|hr|img|input/)||n.push({event:"stop",offset:a,node:i}));return a}(e,0),n}function u(e,r,a){function i(){return e.length&&r.length?e[0].offset!==r[0].offset?e[0].offset"}function c(e){l+=""}function u(e){("start"===e.event?o:c)(e.node)}for(var s=0,l="",f=[];e.length||r.length;){var g=i();if(l+=n(a.substring(s,g[0].offset)),s=g[0].offset,g===e){f.reverse().forEach(c);do u(g.splice(0,1)[0]),g=i();while(g===e&&g.length&&g[0].offset===s);f.reverse().forEach(o)}else"start"===g[0].event?f.push(g[0].node):f.pop(),u(g.splice(0,1)[0])}return l+n(a.substr(s))}function s(e){return e.v&&!e.cached_variants&&(e.cached_variants=e.v.map(function(n){return o(e,{v:null},n)})),e.cached_variants||e.eW&&[o(e)]||[e]}function l(e){function n(e){return e&&e.source||e}function t(t,r){return new RegExp(n(t),"m"+(e.cI?"i":"")+(r?"g":""))}function r(a,i){if(!a.compiled){if(a.compiled=!0,a.k=a.k||a.bK,a.k){var o={},c=function(n,t){e.cI&&(t=t.toLowerCase()),t.split(" ").forEach(function(e){var t=e.split("|");o[t[0]]=[n,t[1]?Number(t[1]):1]})};"string"==typeof a.k?c("keyword",a.k):B(a.k).forEach(function(e){c(e,a.k[e])}),a.k=o}a.lR=t(a.l||/\w+/,!0),i&&(a.bK&&(a.b="\\b("+a.bK.split(" ").join("|")+")\\b"),a.b||(a.b=/\B|\b/),a.bR=t(a.b),a.endSameAsBegin&&(a.e=a.b),a.e||a.eW||(a.e=/\B|\b/),a.e&&(a.eR=t(a.e)),a.tE=n(a.e)||"",a.eW&&i.tE&&(a.tE+=(a.e?"|":"")+i.tE)),a.i&&(a.iR=t(a.i)),null==a.r&&(a.r=1),a.c||(a.c=[]),a.c=Array.prototype.concat.apply([],a.c.map(function(e){return s("self"===e?a:e)})),a.c.forEach(function(e){r(e,a)}),a.starts&&r(a.starts,i);var u=a.c.map(function(e){return e.bK?"\\.?("+e.b+")\\.?":e.b}).concat([a.tE,a.i]).map(n).filter(Boolean);a.t=u.length?t(u.join("|"),!0):{exec:function(){return null}}}}r(e)}function f(e,t,a,i){function o(e){return new RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function c(e,n){var t,a;for(t=0,a=n.c.length;a>t;t++)if(r(n.c[t].bR,e))return n.c[t].endSameAsBegin&&(n.c[t].eR=o(n.c[t].bR.exec(e)[0])),n.c[t]}function u(e,n){if(r(e.eR,n)){for(;e.endsParent&&e.parent;)e=e.parent;return e}return e.eW?u(e.parent,n):void 0}function s(e,n){return!a&&r(n.iR,e)}function p(e,n){var t=R.cI?n[0].toLowerCase():n[0];return e.k.hasOwnProperty(t)&&e.k[t]}function d(e,n,t,r){var a=r?"":j.classPrefix,i='',i+n+o}function h(){var e,t,r,a;if(!E.k)return n(k);for(a="",t=0,E.lR.lastIndex=0,r=E.lR.exec(k);r;)a+=n(k.substring(t,r.index)),e=p(E,r),e?(M+=e[1],a+=d(e[0],n(r[0]))):a+=n(r[0]),t=E.lR.lastIndex,r=E.lR.exec(k);return a+n(k.substr(t))}function b(){var e="string"==typeof E.sL;if(e&&!L[E.sL])return n(k);var t=e?f(E.sL,k,!0,B[E.sL]):g(k,E.sL.length?E.sL:void 0);return E.r>0&&(M+=t.r),e&&(B[E.sL]=t.top),d(t.language,t.value,!1,!0)}function v(){y+=null!=E.sL?b():h(),k=""}function m(e){y+=e.cN?d(e.cN,"",!0):"",E=Object.create(e,{parent:{value:E}})}function N(e,n){if(k+=e,null==n)return v(),0;var t=c(n,E);if(t)return t.skip?k+=n:(t.eB&&(k+=n),v(),t.rB||t.eB||(k=n)),m(t,n),t.rB?0:n.length;var r=u(E,n);if(r){var a=E;a.skip?k+=n:(a.rE||a.eE||(k+=n),v(),a.eE&&(k=n));do E.cN&&(y+=I),E.skip||E.sL||(M+=E.r),E=E.parent;while(E!==r.parent);return r.starts&&(r.endSameAsBegin&&(r.starts.eR=r.eR),m(r.starts,"")),a.rE?0:n.length}if(s(n,E))throw new Error('Illegal lexeme "'+n+'" for mode "'+(E.cN||"")+'"');return k+=n,n.length||1}var R=w(e);if(!R)throw new Error('Unknown language: "'+e+'"');l(R);var x,E=i||R,B={},y="";for(x=E;x!==R;x=x.parent)x.cN&&(y=d(x.cN,"",!0)+y);var k="",M=0;try{for(var C,A,S=0;;){if(E.t.lastIndex=S,C=E.t.exec(t),!C)break;A=N(t.substring(S,C.index),C[0]),S=C.index+A}for(N(t.substr(S)),x=E;x.parent;x=x.parent)x.cN&&(y+=I);return{r:M,value:y,language:e,top:E}}catch(O){if(O.message&&-1!==O.message.indexOf("Illegal"))return{r:0,value:n(t)};throw O}}function g(e,t){t=t||j.languages||B(L);var r={r:0,value:n(e)},a=r;return t.filter(w).filter(x).forEach(function(n){var t=f(n,e,!1);t.language=n,t.r>a.r&&(a=t),t.r>r.r&&(a=r,r=t)}),a.language&&(r.second_best=a),r}function p(e){return j.tabReplace||j.useBR?e.replace(C,function(e,n){return j.useBR&&"\n"===e?"
":j.tabReplace?n.replace(/\t/g,j.tabReplace):""}):e}function d(e,n,t){var r=n?y[n]:t,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(r)&&a.push(r),a.join(" ").trim()}function h(e){var n,t,r,o,s,l=i(e);a(l)||(j.useBR?(n=document.createElementNS("http://www.w3.org/1999/xhtml","div"),n.innerHTML=e.innerHTML.replace(/\n/g,"").replace(//g,"\n")):n=e,s=n.textContent,r=l?f(l,s,!0):g(s),t=c(n),t.length&&(o=document.createElementNS("http://www.w3.org/1999/xhtml","div"),o.innerHTML=r.value,r.value=u(t,c(o),s)),r.value=p(r.value),e.innerHTML=r.value,e.className=d(e.className,l,r.language),e.result={language:r.language,re:r.r},r.second_best&&(e.second_best={language:r.second_best.language,re:r.second_best.r}))}function b(e){j=o(j,e)}function v(){if(!v.called){v.called=!0;var e=document.querySelectorAll("pre code");E.forEach.call(e,h)}}function m(){addEventListener("DOMContentLoaded",v,!1),addEventListener("load",v,!1)}function N(n,t){var r=L[n]=t(e);r.aliases&&r.aliases.forEach(function(e){y[e]=n})}function R(){return B(L)}function w(e){return e=(e||"").toLowerCase(),L[e]||L[y[e]]}function x(e){var n=w(e);return n&&!n.disableAutodetect}var E=[],B=Object.keys,L={},y={},k=/^(no-?highlight|plain|text)$/i,M=/\blang(?:uage)?-([\w-]+)\b/i,C=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,I="
",j={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};return e.highlight=f,e.highlightAuto=g,e.fixMarkup=p,e.highlightBlock=h,e.configure=b,e.initHighlighting=v,e.initHighlightingOnLoad=m,e.registerLanguage=N,e.listLanguages=R,e.getLanguage=w,e.autoDetection=x,e.inherit=o,e.IR="[a-zA-Z]\\w*",e.UIR="[a-zA-Z_]\\w*",e.NR="\\b\\d+(\\.\\d+)?",e.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BNR="\\b(0b[01]+)",e.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BE={b:"\\\\[\\s\\S]",r:0},e.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE]},e.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},e.C=function(n,t,r){var a=e.inherit({cN:"comment",b:n,e:t,c:[]},r||{});return a.c.push(e.PWM),a.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),a},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e.METHOD_GUARD={b:"\\.\\s*"+e.UIR,r:0},e});hljs.registerLanguage("objectivec",function(e){var t={cN:"built_in",b:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},_={keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},i=/[a-zA-Z@][a-zA-Z0-9_]*/,n="@interface @class @protocol @implementation";return{aliases:["mm","objc","obj-c"],k:_,l:i,i:""}]}]},{cN:"class",b:"("+n.split(" ").join("|")+")\\b",e:"({|$)",eE:!0,k:n,l:i,c:[e.UTM]},{b:"\\."+e.UIR,r:0}]}});hljs.registerLanguage("sql",function(e){var t=e.C("--","$");return{cI:!0,i:/[<>{}*]/,c:[{bK:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment with",e:/;/,eW:!0,l:/[\w\.]+/,k:{keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias allocate allow alter always analyze ancillary and any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second section securefile security seed segment select self sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null unknown",built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp varchar varying void"},c:[{cN:"string",b:"'",e:"'",c:[e.BE,{b:"''"}]},{cN:"string",b:'"',e:'"',c:[e.BE,{b:'""'}]},{cN:"string",b:"`",e:"`",c:[e.BE]},e.CNM,e.CBCM,t,e.HCM]},e.CBCM,t,e.HCM]}});hljs.registerLanguage("xml",function(s){var e="[A-Za-z0-9\\._:-]+",t={eW:!0,i:/`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],cI:!0,c:[{cN:"meta",b:"",r:10,c:[{b:"\\[",e:"\\]"}]},s.C("",{r:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{cN:"meta",b:/<\?xml/,e:/\?>/,r:10},{b:/<\?(php)?/,e:/\?>/,sL:"php",c:[{b:"/\\*",e:"\\*/",skip:!0},{b:'b"',e:'"',skip:!0},{b:"b'",e:"'",skip:!0},s.inherit(s.ASM,{i:null,cN:null,c:null,skip:!0}),s.inherit(s.QSM,{i:null,cN:null,c:null,skip:!0})]},{cN:"tag",b:"|$)",e:">",k:{name:"style"},c:[t],starts:{e:"",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"|$)",e:">",k:{name:"script"},c:[t],starts:{e:"",rE:!0,sL:["actionscript","javascript","handlebars","xml"]}},{cN:"tag",b:"",c:[{cN:"name",b:/[^\/><\s]+/,r:0},t]}]}});hljs.registerLanguage("markdown",function(e){return{aliases:["md","mkdown","mkd"],c:[{cN:"section",v:[{b:"^#{1,6}",e:"$"},{b:"^.+?\\n[=-]{2,}$"}]},{b:"<",e:">",sL:"xml",r:0},{cN:"bullet",b:"^([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",v:[{b:"\\*.+?\\*"},{b:"_.+?_",r:0}]},{cN:"quote",b:"^>\\s+",e:"$"},{cN:"code",v:[{b:"^```w*s*$",e:"^```s*$"},{b:"`.+?`"},{b:"^( {4}| )",e:"$",r:0}]},{b:"^[-\\*]{3,}",e:"$"},{b:"\\[.+?\\][\\(\\[].*?[\\)\\]]",rB:!0,c:[{cN:"string",b:"\\[",e:"\\]",eB:!0,rE:!0,r:0},{cN:"link",b:"\\]\\(",e:"\\)",eB:!0,eE:!0},{cN:"symbol",b:"\\]\\[",e:"\\]",eB:!0,eE:!0}],r:10},{b:/^\[[^\n]+\]:/,rB:!0,c:[{cN:"symbol",b:/\[/,e:/\]/,eB:!0,eE:!0},{cN:"link",b:/:\s*/,e:/$/,eB:!0}]}]}});hljs.registerLanguage("perl",function(e){var t="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when",r={cN:"subst",b:"[$@]\\{",e:"\\}",k:t},s={b:"->{",e:"}"},n={v:[{b:/\$\d/},{b:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{b:/[\$%@][^\s\w{]/,r:0}]},i=[e.BE,r,n],o=[n,e.HCM,e.C("^\\=\\w","\\=cut",{eW:!0}),s,{cN:"string",c:i,v:[{b:"q[qwxr]?\\s*\\(",e:"\\)",r:5},{b:"q[qwxr]?\\s*\\[",e:"\\]",r:5},{b:"q[qwxr]?\\s*\\{",e:"\\}",r:5},{b:"q[qwxr]?\\s*\\|",e:"\\|",r:5},{b:"q[qwxr]?\\s*\\<",e:"\\>",r:5},{b:"qw\\s+q",e:"q",r:5},{b:"'",e:"'",c:[e.BE]},{b:'"',e:'"'},{b:"`",e:"`",c:[e.BE]},{b:"{\\w+}",c:[],r:0},{b:"-?\\w+\\s*\\=\\>",c:[],r:0}]},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\/\\/|"+e.RSR+"|\\b(split|return|print|reverse|grep)\\b)\\s*",k:"split return print reverse grep",r:0,c:[e.HCM,{cN:"regexp",b:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",r:10},{cN:"regexp",b:"(m|qr)?/",e:"/[a-z]*",c:[e.BE],r:0}]},{cN:"function",bK:"sub",e:"(\\s*\\(.*?\\))?[;{]",eE:!0,r:5,c:[e.TM]},{b:"-\\w\\b",r:0},{b:"^__DATA__$",e:"^__END__$",sL:"mojolicious",c:[{b:"^@@.*",e:"$",cN:"comment"}]}];return r.c=o,s.c=o,{aliases:["pl","pm"],l:/[\w\.]+/,k:t,c:o}});hljs.registerLanguage("java",function(e){var a="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",t=a+"(<"+a+"(\\s*,\\s*"+a+")*>)?",r="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",s="\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",c={cN:"number",b:s,r:0};return{aliases:["jsp"],k:r,i:/<\/|#/,c:[e.C("/\\*\\*","\\*/",{r:0,c:[{b:/\w+@/,r:0},{cN:"doctag",b:"@[A-Za-z]+"}]}),e.CLCM,e.CBCM,e.ASM,e.QSM,{cN:"class",bK:"class interface",e:/[{;=]/,eE:!0,k:"class interface",i:/[:"\[\]]/,c:[{bK:"extends implements"},e.UTM]},{bK:"new throw return else",r:0},{cN:"function",b:"("+t+"\\s+)+"+e.UIR+"\\s*\\(",rB:!0,e:/[{;=]/,eE:!0,k:r,c:[{b:e.UIR+"\\s*\\(",rB:!0,r:0,c:[e.UTM]},{cN:"params",b:/\(/,e:/\)/,k:r,r:0,c:[e.ASM,e.QSM,e.CNM,e.CBCM]},e.CLCM,e.CBCM]},c,{cN:"meta",b:"@[A-Za-z]+"}]}});hljs.registerLanguage("bash",function(e){var t={cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)}/}]},s={cN:"string",b:/"/,e:/"/,c:[e.BE,t,{cN:"variable",b:/\$\(/,e:/\)/,c:[e.BE]}]},a={cN:"string",b:/'/,e:/'/};return{aliases:["sh","zsh"],l:/\b-?[a-z\._]+\b/,k:{keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",_:"-ne -eq -lt -gt -f -d -e -s -l -a"},c:[{cN:"meta",b:/^#![^\n]+sh\s*$/,r:10},{cN:"function",b:/\w[\w\d_]*\s*\(\s*\)\s*\{/,rB:!0,c:[e.inherit(e.TM,{b:/\w[\w\d_]*/})],r:0},e.HCM,s,a,t]}});hljs.registerLanguage("shell",function(s){return{aliases:["console"],c:[{cN:"meta",b:"^\\s{0,3}[\\w\\d\\[\\]()@-]*[>%$#]",starts:{e:"$",sL:"bash"}}]}});hljs.registerLanguage("json",function(e){var i={literal:"true false null"},n=[e.QSM,e.CNM],r={e:",",eW:!0,eE:!0,c:n,k:i},t={b:"{",e:"}",c:[{cN:"attr",b:/"/,e:/"/,c:[e.BE],i:"\\n"},e.inherit(r,{b:/:/})],i:"\\S"},c={b:"\\[",e:"\\]",c:[e.inherit(r)],i:"\\S"};return n.splice(n.length,0,t,c),{c:n,k:i,i:"\\S"}});hljs.registerLanguage("nginx",function(e){var r={cN:"variable",v:[{b:/\$\d+/},{b:/\$\{/,e:/}/},{b:"[\\$\\@]"+e.UIR}]},b={eW:!0,l:"[a-z/_]+",k:{literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},r:0,i:"=>",c:[e.HCM,{cN:"string",c:[e.BE,r],v:[{b:/"/,e:/"/},{b:/'/,e:/'/}]},{b:"([a-z]+):/",e:"\\s",eW:!0,eE:!0,c:[r]},{cN:"regexp",c:[e.BE,r],v:[{b:"\\s\\^",e:"\\s|{|;",rE:!0},{b:"~\\*?\\s+",e:"\\s|{|;",rE:!0},{b:"\\*(\\.[a-z\\-]+)+"},{b:"([a-z\\-]+\\.)+\\*"}]},{cN:"number",b:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{cN:"number",b:"\\b\\d+[kKmMgGdshdwy]*\\b",r:0},r]};return{aliases:["nginxconf"],c:[e.HCM,{b:e.UIR+"\\s+{",rB:!0,e:"{",c:[{cN:"section",b:e.UIR}],r:0},{b:e.UIR+"\\s",e:";|{",rB:!0,c:[{cN:"attribute",b:e.UIR,starts:b}],r:0}],i:"[^\\s\\}]"}});hljs.registerLanguage("ini",function(e){var b={cN:"string",c:[e.BE],v:[{b:"'''",e:"'''",r:10},{b:'"""',e:'"""',r:10},{b:'"',e:'"'},{b:"'",e:"'"}]};return{aliases:["toml"],cI:!0,i:/\S/,c:[e.C(";","$"),e.HCM,{cN:"section",b:/^\s*\[+/,e:/\]+/},{b:/^[a-z0-9\[\]_-]+\s*=\s*/,e:"$",rB:!0,c:[{cN:"attr",b:/[a-z0-9\[\]_-]+/},{b:/=/,eW:!0,r:0,c:[{cN:"literal",b:/\bon|off|true|false|yes|no\b/},{cN:"variable",v:[{b:/\$[\w\d"][\w\d_]*/},{b:/\$\{(.*?)}/}]},b,{cN:"number",b:/([\+\-]+)?[\d]+_[\d_]+/},e.NM]}]}]}});hljs.registerLanguage("http",function(e){var t="HTTP/[0-9\\.]+";return{aliases:["https"],i:"\\S",c:[{b:"^"+t,e:"$",c:[{cN:"number",b:"\\b\\d{3}\\b"}]},{b:"^[A-Z]+ (.*?) "+t+"$",rB:!0,e:"$",c:[{cN:"string",b:" ",e:" ",eB:!0,eE:!0},{b:t},{cN:"keyword",b:"[A-Z]+"}]},{cN:"attribute",b:"^\\w",e:": ",eE:!0,i:"\\n|\\s|=",starts:{e:"$",r:0}},{b:"\\n\\n",starts:{sL:[],eW:!0}}]}});hljs.registerLanguage("css",function(e){var c="[a-zA-Z-][a-zA-Z0-9_-]*",t={b:/[A-Z\_\.\-]+\s*:/,rB:!0,e:";",eW:!0,c:[{cN:"attribute",b:/\S/,e:":",eE:!0,starts:{eW:!0,eE:!0,c:[{b:/[\w-]+\(/,rB:!0,c:[{cN:"built_in",b:/[\w-]+/},{b:/\(/,e:/\)/,c:[e.ASM,e.QSM]}]},e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"number",b:"#[0-9A-Fa-f]+"},{cN:"meta",b:"!important"}]}}]};return{cI:!0,i:/[=\/|'\$]/,c:[e.CBCM,{cN:"selector-id",b:/#[A-Za-z0-9_-]+/},{cN:"selector-class",b:/\.[A-Za-z0-9_-]+/},{cN:"selector-attr",b:/\[/,e:/\]/,i:"$"},{cN:"selector-pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{b:"@",e:"[{;]",i:/:/,c:[{cN:"keyword",b:/\w+/},{b:/\s/,eW:!0,eE:!0,r:0,c:[e.ASM,e.QSM,e.CSSNM]}]},{cN:"selector-tag",b:c,r:0},{b:"{",e:"}",i:/\S/,c:[e.CBCM,t]}]}});hljs.registerLanguage("javascript",function(e){var r="[A-Za-z$_][0-9A-Za-z$_]*",t={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},a={cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},n={cN:"subst",b:"\\$\\{",e:"\\}",k:t,c:[]},c={cN:"string",b:"`",e:"`",c:[e.BE,n]};n.c=[e.ASM,e.QSM,c,a,e.RM];var s=n.c.concat([e.CBCM,e.CLCM]);return{aliases:["js","jsx"],k:t,c:[{cN:"meta",r:10,b:/^\s*['"]use (strict|asm)['"]/},{cN:"meta",b:/^#!/,e:/$/},e.ASM,e.QSM,c,e.CLCM,e.CBCM,a,{b:/[{,]\s*/,r:0,c:[{b:r+"\\s*:",rB:!0,r:0,c:[{cN:"attr",b:r,r:0}]}]},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+r+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:r},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:t,c:s}]}]},{b://,sL:"xml",c:[{b:/<\w+\s*\/>/,skip:!0},{b:/<\w+/,e:/(\/\w+|\w+\/)>/,skip:!0,c:[{b:/<\w+\s*\/>/,skip:!0},"self"]}]}],r:0},{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:r}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,c:s}],i:/\[|%/},{b:/\$[(.]/},e.METHOD_GUARD,{cN:"class",bK:"class",e:/[{;=]/,eE:!0,i:/[:"\[\]]/,c:[{bK:"extends"},e.UTM]},{bK:"constructor",e:/\{/,eE:!0}],i:/#(?!!)/}});hljs.registerLanguage("makefile",function(e){var i={cN:"variable",v:[{b:"\\$\\("+e.UIR+"\\)",c:[e.BE]},{b:/\$[@%>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",r={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"},c={cN:"doctag",b:"@[A-Za-z]+"},a={b:"#<",e:">"},s=[e.C("#","$",{c:[c]}),e.C("^\\=begin","^\\=end",{c:[c],r:10}),e.C("^__END__","\\n$")],n={cN:"subst",b:"#\\{",e:"}",k:r},t={cN:"string",c:[e.BE,n],v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:/`/,e:/`/},{b:"%[qQwWx]?\\(",e:"\\)"},{b:"%[qQwWx]?\\[",e:"\\]"},{b:"%[qQwWx]?{",e:"}"},{b:"%[qQwWx]?<",e:">"},{b:"%[qQwWx]?/",e:"/"},{b:"%[qQwWx]?%",e:"%"},{b:"%[qQwWx]?-",e:"-"},{b:"%[qQwWx]?\\|",e:"\\|"},{b:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{b:/<<(-?)\w+$/,e:/^\s*\w+$/}]},i={cN:"params",b:"\\(",e:"\\)",endsParent:!0,k:r},d=[t,a,{cN:"class",bK:"class module",e:"$|;",i:/=/,c:[e.inherit(e.TM,{b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{b:"<\\s*",c:[{b:"("+e.IR+"::)?"+e.IR}]}].concat(s)},{cN:"function",bK:"def",e:"$|;",c:[e.inherit(e.TM,{b:b}),i].concat(s)},{b:e.IR+"::"},{cN:"symbol",b:e.UIR+"(\\!|\\?)?:",r:0},{cN:"symbol",b:":(?!\\s)",c:[t,{b:b}],r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{cN:"params",b:/\|/,e:/\|/,k:r},{b:"("+e.RSR+"|unless)\\s*",k:"unless",c:[a,{cN:"regexp",c:[e.BE,n],i:/\n/,v:[{b:"/",e:"/[a-z]*"},{b:"%r{",e:"}[a-z]*"},{b:"%r\\(",e:"\\)[a-z]*"},{b:"%r!",e:"![a-z]*"},{b:"%r\\[",e:"\\][a-z]*"}]}].concat(s),r:0}].concat(s);n.c=d,i.c=d;var l="[>?]>",o="[\\w#]+\\(\\w+\\):\\d+:\\d+>",u="(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>",w=[{b:/^\s*=>/,starts:{e:"$",c:d}},{cN:"meta",b:"^("+l+"|"+o+"|"+u+")",starts:{e:"$",c:d}}];return{aliases:["rb","gemspec","podspec","thor","irb"],k:r,i:/\/\*/,c:s.concat(w).concat(d)}});hljs.registerLanguage("cs",function(e){var i={keyword:"abstract as base bool break byte case catch char checked const continue decimal default delegate do double enum event explicit extern finally fixed float for foreach goto if implicit in int interface internal is lock long nameof object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this try typeof uint ulong unchecked unsafe ushort using virtual void volatile while add alias ascending async await by descending dynamic equals from get global group into join let on orderby partial remove select set value var where yield",literal:"null false true"},r={cN:"number",v:[{b:"\\b(0b[01']+)"},{b:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{b:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],r:0},t={cN:"string",b:'@"',e:'"',c:[{b:'""'}]},a=e.inherit(t,{i:/\n/}),c={cN:"subst",b:"{",e:"}",k:i},n=e.inherit(c,{i:/\n/}),s={cN:"string",b:/\$"/,e:'"',i:/\n/,c:[{b:"{{"},{b:"}}"},e.BE,n]},b={cN:"string",b:/\$@"/,e:'"',c:[{b:"{{"},{b:"}}"},{b:'""'},c]},l=e.inherit(b,{i:/\n/,c:[{b:"{{"},{b:"}}"},{b:'""'},n]});c.c=[b,s,t,e.ASM,e.QSM,r,e.CBCM],n.c=[l,s,a,e.ASM,e.QSM,r,e.inherit(e.CBCM,{i:/\n/})];var o={v:[b,s,t,e.ASM,e.QSM]},d=e.IR+"(<"+e.IR+"(\\s*,\\s*"+e.IR+")*>)?(\\[\\])?";return{aliases:["csharp"],k:i,i:/::/,c:[e.C("///","$",{rB:!0,c:[{cN:"doctag",v:[{b:"///",r:0},{b:""},{b:""}]}]}),e.CLCM,e.CBCM,{cN:"meta",b:"#",e:"$",k:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},o,r,{bK:"class interface",e:/[{;=]/,i:/[^\s:,]/,c:[e.TM,e.CLCM,e.CBCM]},{bK:"namespace",e:/[{;=]/,i:/[^\s:]/,c:[e.inherit(e.TM,{b:"[a-zA-Z](\\.?\\w)*"}),e.CLCM,e.CBCM]},{cN:"meta",b:"^\\s*\\[",eB:!0,e:"\\]",eE:!0,c:[{cN:"meta-string",b:/"/,e:/"/}]},{bK:"new return throw await else",r:0},{cN:"function",b:"("+d+"\\s+)+"+e.IR+"\\s*\\(",rB:!0,e:/\s*[{;=]/,eE:!0,k:i,c:[{b:e.IR+"\\s*\\(",rB:!0,c:[e.TM],r:0},{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,k:i,r:0,c:[o,r,e.CBCM]},e.CLCM,e.CBCM]}]}});hljs.registerLanguage("coffeescript",function(e){var c={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super yield import export from as default await then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",built_in:"npm require console print module global window document"},n="[A-Za-z$_][0-9A-Za-z$_]*",r={cN:"subst",b:/#\{/,e:/}/,k:c},i=[e.BNM,e.inherit(e.CNM,{starts:{e:"(\\s*/)?",r:0}}),{cN:"string",v:[{b:/'''/,e:/'''/,c:[e.BE]},{b:/'/,e:/'/,c:[e.BE]},{b:/"""/,e:/"""/,c:[e.BE,r]},{b:/"/,e:/"/,c:[e.BE,r]}]},{cN:"regexp",v:[{b:"///",e:"///",c:[r,e.HCM]},{b:"//[gim]*",r:0},{b:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{b:"@"+n},{sL:"javascript",eB:!0,eE:!0,v:[{b:"```",e:"```"},{b:"`",e:"`"}]}];r.c=i;var s=e.inherit(e.TM,{b:n}),t="(\\(.*\\))?\\s*\\B[-=]>",o={cN:"params",b:"\\([^\\(]",rB:!0,c:[{b:/\(/,e:/\)/,k:c,c:["self"].concat(i)}]};return{aliases:["coffee","cson","iced"],k:c,i:/\/\*/,c:i.concat([e.C("###","###"),e.HCM,{cN:"function",b:"^\\s*"+n+"\\s*=\\s*"+t,e:"[-=]>",rB:!0,c:[s,o]},{b:/[:\(,=]\s*/,r:0,c:[{cN:"function",b:t,e:"[-=]>",rB:!0,c:[o]}]},{cN:"class",bK:"class",e:"$",i:/[:="\[\]]/,c:[{bK:"extends",eW:!0,i:/[:="\[\]]/,c:[s]},s]},{b:n+":",e:":",rB:!0,rE:!0,r:0}])}});hljs.registerLanguage("php",function(e){var c={b:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},i={cN:"meta",b:/<\?(php)?|\?>/},t={cN:"string",c:[e.BE,i],v:[{b:'b"',e:'"'},{b:"b'",e:"'"},e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null})]},a={v:[e.BNM,e.CNM]};return{aliases:["php","php3","php4","php5","php6","php7"],cI:!0,k:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",c:[e.HCM,e.C("//","$",{c:[i]}),e.C("/\\*","\\*/",{c:[{cN:"doctag",b:"@[A-Za-z]+"}]}),e.C("__halt_compiler.+?;",!1,{eW:!0,k:"__halt_compiler",l:e.UIR}),{cN:"string",b:/<<<['"]?\w+['"]?$/,e:/^\w+;?$/,c:[e.BE,{cN:"subst",v:[{b:/\$\w+/},{b:/\{\$/,e:/\}/}]}]},i,{cN:"keyword",b:/\$this\b/},c,{b:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{cN:"function",bK:"function",e:/[;{]/,eE:!0,i:"\\$|\\[|%",c:[e.UTM,{cN:"params",b:"\\(",e:"\\)",c:["self",c,e.CBCM,t,a]}]},{cN:"class",bK:"class interface",e:"{",eE:!0,i:/[:\(\$"]/,c:[{bK:"extends implements"},e.UTM]},{bK:"namespace",e:";",i:/[\.']/,c:[e.UTM]},{bK:"use",e:";",c:[e.UTM]},{b:"=>"},t,a]}});hljs.registerLanguage("cpp",function(t){var e={cN:"keyword",b:"\\b[a-z\\d_]*_t\\b"},r={cN:"string",v:[{b:'(u8?|U|L)?"',e:'"',i:"\\n",c:[t.BE]},{b:'(u8?|U|L)?R"\\(',e:'\\)"'},{b:"'\\\\?.",e:"'",i:"."}]},s={cN:"number",v:[{b:"\\b(0b[01']+)"},{b:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{b:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],r:0},i={cN:"meta",b:/#\s*[a-z]+\b/,e:/$/,k:{"meta-keyword":"if else elif endif define undef warning error line pragma ifdef ifndef include"},c:[{b:/\\\n/,r:0},t.inherit(r,{cN:"meta-string"}),{cN:"meta-string",b:/<[^\n>]*>/,e:/$/,i:"\\n"},t.CLCM,t.CBCM]},a=t.IR+"\\s*\\(",c={keyword:"int float while private char catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignof constexpr decltype noexcept static_assert thread_local restrict _Bool complex _Complex _Imaginary atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and or not",built_in:"std string cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr",literal:"true false nullptr NULL"},n=[e,t.CLCM,t.CBCM,s,r];return{aliases:["c","cc","h","c++","h++","hpp"],k:c,i:"",k:c,c:["self",e]},{b:t.IR+"::",k:c},{v:[{b:/=/,e:/;/},{b:/\(/,e:/\)/},{bK:"new throw return else",e:/;/}],k:c,c:n.concat([{b:/\(/,e:/\)/,k:c,c:n.concat(["self"]),r:0}]),r:0},{cN:"function",b:"("+t.IR+"[\\*&\\s]+)+"+a,rB:!0,e:/[{;=]/,eE:!0,k:c,i:/[^\w\s\*&]/,c:[{b:a,rB:!0,c:[t.TM],r:0},{cN:"params",b:/\(/,e:/\)/,k:c,r:0,c:[t.CLCM,t.CBCM,r,s,e,{b:/\(/,e:/\)/,k:c,r:0,c:["self",t.CLCM,t.CBCM,r,s,e]}]},t.CLCM,t.CBCM,i]},{cN:"class",bK:"class struct",e:/[{;:]/,c:[{b://,c:["self"]},t.TM]}]),exports:{preprocessor:i,strings:r,k:c}}});hljs.registerLanguage("properties",function(r){var t="[ \\t\\f]*",e="[ \\t\\f]+",s="("+t+"[:=]"+t+"|"+e+")",n="([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",c={e:s,r:0,starts:{cN:"string",e:/$/,r:0,c:[{b:"\\\\\\n"}]}};return{cI:!0,i:/\S/,c:[r.C("^\\s*[!#]","$"),{b:n+s,rB:!0,c:[{cN:"attr",b:n,endsParent:!0,r:0}],starts:c},{b:a+s,rB:!0,r:0,c:[{cN:"meta",b:a,endsParent:!0,r:0}],starts:c},{cN:"attr",r:0,b:a+t+"$"}]}});hljs.registerLanguage("diff",function(e){return{aliases:["patch"],c:[{cN:"meta",r:10,v:[{b:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{b:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{b:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{cN:"comment",v:[{b:/Index: /,e:/$/},{b:/={3,}/,e:/$/},{b:/^\-{3}/,e:/$/},{b:/^\*{3} /,e:/$/},{b:/^\+{3}/,e:/$/},{b:/\*{5}/,e:/\*{5}$/}]},{cN:"addition",b:"^\\+",e:"$"},{cN:"deletion",b:"^\\-",e:"$"},{cN:"addition",b:"^\\!",e:"$"}]}});hljs.registerLanguage("apache",function(e){var r={cN:"number",b:"[\\$%]\\d+"};return{aliases:["apacheconf"],cI:!0,c:[e.HCM,{cN:"section",b:""},{cN:"attribute",b:/\w+/,r:0,k:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{e:/$/,r:0,k:{literal:"on off all"},c:[{cN:"meta",b:"\\s\\[",e:"\\]$"},{cN:"variable",b:"[\\$%]\\{",e:"\\}",c:["self",r]},r,e.QSM]}}],i:/\S/}});hljs.registerLanguage("python",function(e){var r={keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10 None True False",built_in:"Ellipsis NotImplemented"},b={cN:"meta",b:/^(>>>|\.\.\.) /},c={cN:"subst",b:/\{/,e:/\}/,k:r,i:/#/},a={cN:"string",c:[e.BE],v:[{b:/(u|b)?r?'''/,e:/'''/,c:[e.BE,b],r:10},{b:/(u|b)?r?"""/,e:/"""/,c:[e.BE,b],r:10},{b:/(fr|rf|f)'''/,e:/'''/,c:[e.BE,b,c]},{b:/(fr|rf|f)"""/,e:/"""/,c:[e.BE,b,c]},{b:/(u|r|ur)'/,e:/'/,r:10},{b:/(u|r|ur)"/,e:/"/,r:10},{b:/(b|br)'/,e:/'/},{b:/(b|br)"/,e:/"/},{b:/(fr|rf|f)'/,e:/'/,c:[e.BE,c]},{b:/(fr|rf|f)"/,e:/"/,c:[e.BE,c]},e.ASM,e.QSM]},s={cN:"number",r:0,v:[{b:e.BNR+"[lLjJ]?"},{b:"\\b(0o[0-7]+)[lLjJ]?"},{b:e.CNR+"[lLjJ]?"}]},i={cN:"params",b:/\(/,e:/\)/,c:["self",b,s,a]};return c.c=[a,s,b],{aliases:["py","gyp"],k:r,i:/(<\/|->|\?)|=>/,c:[b,s,a,e.HCM,{v:[{cN:"function",bK:"def"},{cN:"class",bK:"class"}],e:/:/,i:/[${=;\n,]/,c:[e.UTM,i,{b:/->/,eW:!0,k:"None"}]},{cN:"meta",b:/^[\t ]*@/,e:/$/},{b:/\b(print|exec)\(/}]}}); \ No newline at end of file diff --git a/SqlBind-CSharp/api/latest/html/index.html b/SqlBind-CSharp/api/latest/html/index.html new file mode 100644 index 0000000..278e86d --- /dev/null +++ b/SqlBind-CSharp/api/latest/html/index.html @@ -0,0 +1,53 @@ + + + + + + + API Reference | SqlBind Project + + + + + +
+
+
+

API Reference — SqlBind Project

+

Namespaces

+
+ + + + + + + + + + + +
+ Maroontress.SqlBind + +

This namespace provides the wrapper of SQLite.

+
+ Maroontress.SqlBind.Impl + +

This namespace provides the default implementation of some interfaces.

+
+
+
+
+
+ + diff --git a/SqlBind-CSharp/index.html b/SqlBind-CSharp/index.html new file mode 100644 index 0000000..2fa8ad2 --- /dev/null +++ b/SqlBind-CSharp/index.html @@ -0,0 +1,329 @@ + + + + + + + + + + Top | SqlBind.CSharp + + + + + + + + + + + +
+
+
+
+ +
+

SqlBind.CSharp is a C# class library that is a wrapper for SQLite.

+

How to create a table and insert rows

+

Let's consider creating the Actors table as follows:

+
+

Actors

+ + + + + + + + + + + + + + + + + + + + + +
idname
1Chloë Grace Moretz
2Gary Carr
3Jack Reynor
+
+

Create the following class to represent this table:

+
[Table("Actors")]
+public record class Actor(
+    [Column("id")][PrimaryKey][AutoIncrement] long Id,
+    [Column("name")] string Name)
+{
+}
+
+

Each parameter in the constructor of the Actor class corresponds to each column in the Actors table in the same order. The type of each parameter must be either long or string.

+

Note that you can implement the Actor class without a record class. However, the parameter names of the constructor must start with an uppercase letter if you create a regular one according to the naming conventions of the record class. This is inconsistent with general naming conventions. Therefore, we recommend that you use record classes.

+

The following code from the Example class uses the Actor class to create the Actors table and add three rows of data to the table:

+
public sealed class Example
+{
+    private TransactionKit Kit { get; } = new TransactionKit(
+        "example.db",
+        m => Console.WriteLine(m()));
+
+    public void CreateTableAndInsertRows()
+    {
+        Kit.Execute(q =>
+        {
+            q.NewTables(typeof(Actor));
+            q.Insert(new Actor(0, "Chloë Grace Moretz"));
+            q.Insert(new Actor(0, "Gary Carr"));
+            q.Insert(new Actor(0, "Jack Reynor"));
+        });
+    }
+    ...
+
+

The Kit property has the TransactionKit instance, which uses the example.db file as a database backend and writes log messages to the console. The Execute method executes the queries that the lambda expression of its parameter performs atomically (as a single transaction).

+

Note that calling the Insert(object) method with the Actor instance ignores its Id property, which is specified with the first parameter of the constructor of the Actor class, because it is qualified with the AutoIncrement attribute.

+

The log messages that the CreateTableAndInsertRows() method prints to the console are as follows:

+
DROP TABLE IF EXISTS Actors
+CREATE TABLE Actors (id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT)
+INSERT INTO Actors (name) VALUES ($name)
+  ($name, Chloë Grace Moretz)
+INSERT INTO Actors (name) VALUES ($name)
+  ($name, Gary Carr)
+INSERT INTO Actors (name) VALUES ($name)
+  ($name, Jack Reynor)
+
+

The non-indented lines are actual SQL statements that were automatically generated and executed.

+

How to select a table and get rows

+

Then run the SelectAllRows() method as follows:

+
public sealed class Example
+{
+    ...
+    public void SelectAllRows()
+    {
+        Kit.Execute(q =>
+        {
+            var all = q.SelectAll<Actor>();
+            foreach (var i in all)
+            {
+                Console.WriteLine(i);
+            }
+        });
+    }
+    ...
+
+

The SelectAllRows() method outputs:

+
SELECT id, name FROM Actors
+Actor { Id = 1, Name = Chloë Grace Moretz }
+Actor { Id = 2, Name = Gary Carr }
+Actor { Id = 3, Name = Jack Reynor }
+
+

The first line is the log message that the TransactionKit instance prints. The SelectAll<T>() method generates this statement.

+

The next three lines are the messages that the WriteLine(object) method outputs within the foreach block.

+

Inner join with two or more tables

+

Consider the following Titles table:

+
+

Titles

+ + + + + + + + + + + + + +
idname
1Peripheral
+
+

And the following Casts table:

+
+

Casts

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
idtitleIdactorIdrole
111Flynne Fisher
212Wilf Netherton
313Burton Fisher
+
+

The classes that correspond to these tables are:

+
[Table("Titles")]
+public record class Title(
+    [Column("id")][PrimaryKey][AutoIncrement] long Id,
+    [Column("name")] string Name)
+{
+}
+
+[Table("Casts")]
+public record class Cast(
+    [Column("id")][PrimaryKey][AutoIncrement] long Id,
+    [Column("titleId")] long TitleId,
+    [Column("actorId")] long ActorId,
+    [Column("role")] string Role)
+{
+}
+
+

The following code creates the tables and inserts the rows:

+
public sealed class Example
+{
+    ...
+    public void CreateTables()
+    {
+        Kit.Execute(q =>
+        {
+            q.NewTables(typeof(Title));
+            q.NewTables(typeof(Actor));
+            q.NewTables(typeof(Cast));
+            var titleId = q.InsertAndGetRowId(new Title(0, "Peripheral"));
+            var allCasts = new (string Name, string Role)[]
+            {
+                ("Chloë Grace Moretz", "Flynne Fisher"),
+                ("Gary Carr", "Wilf Netherton"),
+                ("Jack Reynor", "Burton Fisher"),
+            };
+            foreach (var (name, role) in allCasts)
+            {
+                var actorId = q.InsertAndGetRowId(new Actor(0, name));
+                q.Insert(new Cast(0, titleId, actorId, role));
+            }
+        });
+    }
+    ...
+
+

The log messages that the CreateTables() method prints to the console are as follows:

+
DROP TABLE IF EXISTS Titles
+CREATE TABLE Titles (id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT)
+DROP TABLE IF EXISTS Actors
+CREATE TABLE Actors (id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT)
+DROP TABLE IF EXISTS Casts
+CREATE TABLE Casts (id INTEGER PRIMARY KEY AUTOINCREMENT, titleId INTEGER, actorId INTEGER, role TEXT)
+INSERT INTO Titles (name) VALUES ($name)
+  ($name, Peripheral)
+select last_insert_rowid()
+INSERT INTO Actors (name) VALUES ($name)
+  ($name, Chloë Grace Moretz)
+select last_insert_rowid()
+INSERT INTO Casts (titleId, actorId, role) VALUES ($titleId, $actorId, $role)
+  ($titleId, 1)
+  ($role, Flynne Fisher)
+  ($actorId, 1)
+INSERT INTO Actors (name) VALUES ($name)
+  ($name, Gary Carr)
+select last_insert_rowid()
+INSERT INTO Casts (titleId, actorId, role) VALUES ($titleId, $actorId, $role)
+  ($titleId, 1)
+  ($role, Wilf Netherton)
+  ($actorId, 2)
+INSERT INTO Actors (name) VALUES ($name)
+  ($name, Jack Reynor)
+select last_insert_rowid()
+INSERT INTO Casts (titleId, actorId, role) VALUES ($titleId, $actorId, $role)
+  ($titleId, 1)
+  ($role, Burton Fisher)
+  ($actorId, 3)
+
+

Let's suppose that you would like to get a list of the names of the actors who performed in the specified title. To do this, use the APIs as follows:

+
public sealed class Example
+{
+    ...
+    public void ListActorNames(string title)
+    {
+        Kit.Execute(q =>
+        {
+            var map = new Dictionary<string, object>
+            {
+                ["$name"] = title,
+            };
+            var all = q.SelectAllFrom<Actor>("a")
+                .InnerJoin<Cast>("c", "a.id = c.actorId")
+                .InnerJoin<Title>("t", "t.id = c.titleId")
+                .Where("t.name = $name", map)
+                .Execute();
+            foreach (var i in all)
+            {
+                Console.WriteLine(i.Name);
+            }
+        });
+    }
+    ...
+
+
+

Calling ListActorNames("Peripheral"); results in the following output:

+
SELECT a.id, a.name FROM Actors a INNER JOIN Casts c ON a.id = c.actorId INNER JOIN Titles t ON t.id = c.titleId WHERE t.name = $name
+  ($name, Peripheral)
+Chloë Grace Moretz
+Gary Carr
+Jack Reynor
+
+

Get started

+

SqlBind.CSharp is available as +the NuGet-logo NuGet package.

+

API Reference

+ +
+
+
+
+ +
+
+ + diff --git a/SqlBind-CSharp/releasenotes.html b/SqlBind-CSharp/releasenotes.html new file mode 100644 index 0000000..9371551 --- /dev/null +++ b/SqlBind-CSharp/releasenotes.html @@ -0,0 +1,91 @@ + + + + + + + + + + Release Notes | SqlBind.CSharp + + + + + + + + + + + +
+
+
+
+ +
+

Release Notes

+ +

1.0.0 (2023-05-02)

+

Initial release.

+

Requirements

+
    +
  • Visual Studio 2022 (17.5) or .NET 7.0 (7.0.203)
  • +
+

New

+
    +
  • Add TransactionKit class, Query interface, Table attribute, and so on.
  • +
+
+
+
+
+ +
+
+ + diff --git a/sitemap.txt b/sitemap.txt index 1c6a74f..8743c77 100644 --- a/sitemap.txt +++ b/sitemap.txt @@ -221,6 +221,43 @@ https://maroontress.github.io/Oxbind-CSharp/index.html https://maroontress.github.io/Oxbind-CSharp/releasenotes.html https://maroontress.github.io/PourOver/index.html https://maroontress.github.io/PourOver/releasenotes.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.AutoIncrementAttribute.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.ColumnAttribute.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.DeleteFrom.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.IgnoredAttribute.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Committable.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.DatabaseLink.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.DefaultToolkit.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.DeleteFromImpl.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Field.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Metadata.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.MetadataBank.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.QueryImpl.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Reservoir.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.SelectFromImpl.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.SelectImpl.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Siphon.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.SqliteCommittable.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.SqliteDatabaseLink.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.Toolkit.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.WhereImpl.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.WildField.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.WildMetadata.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Impl.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.IndexedColumnsAttribute.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.PrimaryKeyAttribute.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Query.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Select.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.SelectFrom.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.TableAttribute.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.TerminalOperation.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.TransactionKit.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.UniqueAttribute.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.Where.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/Maroontress.SqlBind.html +https://maroontress.github.io/SqlBind-CSharp/api/latest/html/index.html +https://maroontress.github.io/SqlBind-CSharp/index.html +https://maroontress.github.io/SqlBind-CSharp/releasenotes.html https://maroontress.github.io/StyleChecker-Annotations/index.html https://maroontress.github.io/StyleChecker-Annotations/releasenotes.html https://maroontress.github.io/StyleChecker/diagnostics/AssignmentToParameter.html