x4Trace Documentation v1.0
Loading...
Searching...
No Matches
Ix4Trace.Engine.Database.Entity Namespace Reference

Classes

class  DataColumn
 Database Entity-Table member-column connection handler class. Stores information of columns of table. More...
 
class  EmptyEntityPropertyException
 Exception of empty value of property of entity. More...
 
class  Entity
 Represent a row of database, basic element of object relational database. Inserts, updates adn deletes row of database. Each property can have a column relationship. But this is not required. More...
 
class  Entity2
 
class  EntityData
 Represents data of entity. Caches insert and update command. Stores data of columns. More...
 

Functions

delegate void Updated ()
 Delegate of updated event.
 
delegate void InsertEntity (Ix4Trace.Engine.Database.Entity.Entity entity, List< DataColumn > dcolumns, string tableName, bool useScopeIdentity, out string sqlCMD, out string[] columnNames, out object[] columnValues, out string scopeIdentity)
 Delegate of insert. The insert command builder is hidden, but you can call via this delegate.
 
delegate void UpdateEntity (Ix4Trace.Engine.Database.Entity.Entity entity, out string sqlCMD, out string[] names, out object[] objects)
 Delegate of insert. The insert command builder is hidden, but you can call via this delegate.
 

Function Documentation

◆ InsertEntity()

delegate void Ix4Trace.Engine.Database.Entity.InsertEntity ( Ix4Trace.Engine.Database.Entity.Entity entity,
List< DataColumn > dcolumns,
string tableName,
bool useScopeIdentity,
out string sqlCMD,
out string[] columnNames,
out object[] columnValues,
out string scopeIdentity )

Delegate of insert. The insert command builder is hidden, but you can call via this delegate.

Parameters
entityEntity object.
dcolumnsList of data of columns.
tableName
useScopeIdentityUses the scope identiy.
sqlCMDResult of sql command.
columnNamesResult of name of columns.
columnValuesRecult of values of columns.
scopeIdentityThe identity after the insert.

◆ UpdateEntity()

delegate void Ix4Trace.Engine.Database.Entity.UpdateEntity ( Ix4Trace.Engine.Database.Entity.Entity entity,
out string sqlCMD,
out string[] names,
out object[] objects )

Delegate of insert. The insert command builder is hidden, but you can call via this delegate.

Parameters
entityEntity object.
sqlCMDResult of sql command.
namesResult of name of columns.
objectsRecult of values of columns.