DBEntityExtension Save Method (IDBEntity, DBExecution)DataBaseExecutors
Save to database by using passed DBExecution.
Mainly, it's for transaction process (open transaction before it,then execute save).

Namespace: DataBaseExecutors.Entity
Assembly: DataBaseExecutors (in DataBaseExecutors.dll) Version: 1.0.1.3 (1.0.1.3)
Syntax

public static bool Save(
	this IDBEntity obj,
	DBExecution db
)

Parameters

obj
Type: DataBaseExecutors.Entity IDBEntity

[Missing <param name="obj"/> documentation for "M:DataBaseExecutors.Entity.DBEntityExtension.Save(DataBaseExecutors.Entity.IDBEntity,DataBaseExecutors.DBExecution)"]

db
Type: DataBaseExecutors DBExecution

[Missing <param name="db"/> documentation for "M:DataBaseExecutors.Entity.DBEntityExtension.Save(DataBaseExecutors.Entity.IDBEntity,DataBaseExecutors.DBExecution)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:DataBaseExecutors.Entity.DBEntityExtension.Save(DataBaseExecutors.Entity.IDBEntity,DataBaseExecutors.DBExecution)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDBEntity. When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
Remarks

See Also