Miado - Much-improved ADO.Net

The Database type exposes the following members.

Constructors

  Name Description
Database
Initializes a new instance of the Database class.

Methods

  Name Description
CallingStoredProcedureNamed
Creates a database statement using a stored procedure.
ConfigureQueryRegistry
Configures the query registry.
CreateConnection
Creates a DbConnection using the underlying DbProviderFactory.
CreateDataAdapter
Creates a DbDataAdapter using the underlying DbProviderFactory.
CreateParameter
Creates a DbParameter using the underlying DbProviderFactory.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExecutingSql
Creates a database statement using standard SQL.
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
LoadQueryRegisteredAs
Creates a database statement using standard SQL that was registered in the Query Registry.
MapSourceCodeSyntaxTo
Fluent interface to maps the source code syntax to the one used in the underlying DbProvider.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
RetrieveQueryFromRegistry
Creates a database statement using standard SQL that was registered in the Query Registry.
RunningQuery
Creates a database statement using a custom query.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
UsingSourceCodeSyntax
Fluent interface for configuring the Miado repository to use the specified IParameterParser to parse the parameters in the SQL as designated in the actual source code.

Properties

  Name Description
ConnectionString
Gets or sets the connection string.
DbProviderFactory
Gets or sets the underlying DbProviderFactory.
DbProviderSyntaxParser
Gets the parser that represents the syntax used by the DbProvider to represent parameters in SQL.
QueryRegistry
Gets the query registry.
SourceCodeSyntaxParser
Gets the parser that represents the syntax used in the source code to represent parameters in SQL.

See Also