DbDataProvider Methods

SimpleEssentials

DbDataProvider Methods

The DbDataProvider type exposes the following members.

Methods


  Name Description
Public method BulkInsert<(Of <<'(T>)>>)
TODO. Currently Not working
Public method CreateTable<(Of <<'(T>)>>)
Creates a table in the database.
Public method Delete<(Of <<'(T>)>>)
Deleted the row in the table.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public method Execute
Executes the specified SQL.
Public method ExecuteScalar
Executes the scalar.
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method Get<(Of <<'(T>)>>)(Object, CacheSettings)
Get a row from the database by ID.
Public method Get<(Of <<'(T>)>>)(CacheSettings)
Get all rows from a table.
Public method Get<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T, Boolean>)>>)>)>>), CacheSettings)
Get all rows that match the expression given
Public method GetByParameters<(Of <<'(T>)>>)
Gets all rows by a sql statement and optional parameters.
Public method GetByType<(Of <<'(T>)>>)
Get all rows from a table.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetMultiMap<(Of <<'(T, T2>)>>)(String, Func<(Of <<'(T, T2, T>)>>), Object, String, CacheSettings)
Builds an object that references multiple tables/rows.
Public method GetMultiMap<(Of <<'(T, T2, T3>)>>)(String, Func<(Of <<'(T, T2, T3, T>)>>), Object, String, CacheSettings)
Gets the multi map.
Public method GetMultiMap<(Of <<'(T, T2, T3, T4>)>>)(String, Func<(Of <<'(T, T2, T3, T4, T>)>>), Object, String, CacheSettings)
Gets the multi map.
Public method GetMultiMap<(Of <<'(T, T2, T3, T4, T5>)>>)(String, Func<(Of <<'(T, T2, T3, T4, T5, T>)>>), Object, String, CacheSettings)
Gets the multi map.
Public method GetMultiMap<(Of <<'(T, T2, T3, T4, T5, T6>)>>)(String, Func<(Of <<'(T, T2, T3, T4, T5, T6, T>)>>), Object, String, CacheSettings)
Gets the multi map.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method Insert<(Of <<'(T>)>>)
Inserts a strongly typed object into a table.
Public method InsertAndReturnId<(Of <<'(T>)>>)(T, CacheSettings)
Inserts an object into a table and then return its ID.
Public method InsertAndReturnId<(Of <<'(T>)>>)(String, T, CacheSettings)
Inserts an object into a table and then return its ID.
Public method InsertList<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>), CacheSettings)
Insert a list of objects into a table.
Public method InsertList<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>), String, CacheSettings)
Insert a list of objects into a table.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method Update<(Of <<'(T>)>>)
Updates te row in the table by the object passed.