Click or drag to resize

SQLInserter Methods

The SQLInserter type exposes the following members.

Methods
  NameDescription
Public methodAddColumn(String, Object, OleDbType)
Adds a column to the class
Public methodAddColumn(String, Object, OleDbType, Int32)
Adds a column to the class, truncating if necessary.
Public methodAddColumn(String, Object, OleDbType, Int32, SQLColumnFlags)
Adds a column to the class, truncating if necessary.
Public methodAddColumnPerSchema
Adds a column to the class if the column is found in the table's schema. The Schema is interrogated from the IDatabase object and for the Table provided in the object's SQLInserter(IDatabase, String) constructor which must have been used in order to use this method.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecute(String)
Execute the SQL INSERT statement. Note that embedded functions are always resolved. Requires that the object was created with the SQLInserter(IDatabase, String) constructor. Note that if you want to obtain the value of the IDENTITY value for the newly created record you must use the Execute(String, Int32, Boolean, ExecuteOptions) overload.
Public methodExecute(String, Boolean)
Execute the SQL INSERT statement. Note that embedded functions are always resolved. Requires that the object was created with the SQLInserter(IDatabase, String) constructor. Note that if you want to obtain the value of the IDENTITY value for the newly created record you must use the Execute(String, Int32, Boolean, ExecuteOptions) overload.
Public methodExecute(String, Int32)
Execute the SQL INSERT statement. Note that embedded functions are always resolved. Requires that the object was created with the SQLInserter(IDatabase, String) constructor. Note that if you want to obtain the value of the IDENTITY value for the newly created record you must use the Execute(String, Int32, Boolean, ExecuteOptions) overload.
Public methodExecute(IDatabase, String)
Execute the SQL INSERT statement. Note that embedded functions are always resolved.
Public methodExecute(IDatabase, String, Int32)
Execute the SQL INSERT statement. Note that embedded functions are always resolved.
Public methodExecute(String, Int32, Boolean, ExecuteOptions)
Execute the SQL INSERT statement. Note that embedded functions are always resolved unless an executeOptions parameter is provided (without ResolveEmbedded set). Requires that the object was created with the SQLInserter(IDatabase, String) constructor.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFireAndForget
Executes the specified SQL asynchronously on a thread pool thread. Uses IDatabase.FireAndForget.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOfColumn
Get the index of the column in the internal column collection.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodToString(DBMSType)
Returns the INSERT statement.
Public methodToString(DBMSType, Boolean)
Returns the INSERT statement.
Top
Extension Methods
  NameDescription
Public Extension MethodAddColumn
Add a column to the inserter corresponding to the specified field and using the specified value. If the field does not exist in the mapper then no action is taken.
(Defined by MapperExtensions.)
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also