C# Class QSOrmProject.Deletion.DeleteCore

ファイルを表示 Open project: QualitySolution/QSProjects Class Usage Examples

Private Properties

Property Type Description
AddParameterWithId void
CalculateSecondInfo IDeleteInfo
ExecuteSql void
FillChildOperation int
FillCleanItemsOperation int
FillDeleteItemsOperation int
FillRemoveFromItemsOperation int
HasHibernateOperations bool
Run bool

Public Methods

Method Description
DeleteCore ( ) : System
DeleteCore ( IUnitOfWork uow ) : System
RunDeletion ( Type objectClass, int id ) : bool
RunDeletion ( string table, int id ) : bool

Private Methods

Method Description
AddParameterWithId ( IDbCommand cmd, uint id ) : void
CalculateSecondInfo ( IDeleteInfo info, EntityDTO entity ) : IDeleteInfo
ExecuteSql ( String sql, uint id ) : void
FillChildOperation ( IDeleteInfo currentDeletion, Operation parentOperation, Gtk.TreeIter parentIter, EntityDTO masterEntity ) : int
FillCleanItemsOperation ( IDeleteInfo currentDeletion, Operation parentOperation, Gtk.TreeIter parentIter, EntityDTO masterEntity, int &totalCount ) : int
FillDeleteItemsOperation ( IDeleteInfo currentDeletion, Operation parentOperation, Gtk.TreeIter parentIter, EntityDTO masterEntity, int &totalCount ) : int
FillRemoveFromItemsOperation ( IDeleteInfo currentDeletion, Operation parentOperation, Gtk.TreeIter parentIter, EntityDTO masterEntity, int &totalCount ) : int
HasHibernateOperations ( Operation op ) : bool
Run ( IDeleteInfo info, uint id ) : bool

Method Details

DeleteCore() public method

public DeleteCore ( ) : System
return System

DeleteCore() public method

public DeleteCore ( IUnitOfWork uow ) : System
uow IUnitOfWork
return System

RunDeletion() public method

public RunDeletion ( Type objectClass, int id ) : bool
objectClass System.Type
id int
return bool

RunDeletion() public method

public RunDeletion ( string table, int id ) : bool
table string
id int
return bool