DbCommand GetDeleteSessionRecordCmd() { DbTableStructure tblAppSesssion = _daMgr.DbCatalogGetTable(DataAccess.Constants.SCHEMA_CORE , Constants.SignonControl); DbTableDmlMgr dmlDeleteMgr = _daMgr.DbCatalogGetTableDmlMgr(DataAccess.Constants.SCHEMA_CORE , Constants.AppSessions , Constants.AppId , Constants.StartDateTime); dmlDeleteMgr.SetWhereCondition((j) => j.Column(Constants.AppCode) == j.Parameter(dmlDeleteMgr.MainTable.SchemaName , dmlDeleteMgr.MainTable.TableName , Constants.AppCode , _daMgr.BuildParamName(Constants.AppCode)) && j.Column(Constants.MultipleSessionCode) == j.Parameter(dmlDeleteMgr.MainTable.SchemaName , dmlDeleteMgr.MainTable.TableName , Constants.MultipleSessionCode , _daMgr.BuildParamName(Constants.MultipleSessionCode))); return(_daMgr.BuildDeleteDbCommand(dmlDeleteMgr)); }