Merge branch 'master' of http://dd-vmp07-com04:3000/AppStd/Monorepo
This commit is contained in:
commit
08a55c599c
@ -116,7 +116,7 @@ Namespace IDB
|
|||||||
Public Function NewObjectIdWithTransaction(pKindType As String, pWho As String, pConnection As SqlConnection, pTransaction As SqlTransaction) As Long
|
Public Function NewObjectIdWithTransaction(pKindType As String, pWho As String, pConnection As SqlConnection, pTransaction As SqlTransaction) As Long
|
||||||
Try
|
Try
|
||||||
Dim oNewObjectIdSQL = $"DECLARE @NEW_IDB_OBJ_ID BIGINT
|
Dim oNewObjectIdSQL = $"DECLARE @NEW_IDB_OBJ_ID BIGINT
|
||||||
EXEC PRIDB_NEW_OBJECT '{pKindType}','{pWho}',0, @IDB_OBJ_ID = @NEW_IDB_OBJ_ID OUTPUT;
|
EXEC PRIDB_NEW_OBJECT '{pKindType}','{pWho}',0, 0, @IDB_OBJ_ID = @NEW_IDB_OBJ_ID OUTPUT;
|
||||||
SELECT @NEW_IDB_OBJ_ID"
|
SELECT @NEW_IDB_OBJ_ID"
|
||||||
Dim oObjectId As Long = Database.GetScalarValueWithConnectionObject(oNewObjectIdSQL,
|
Dim oObjectId As Long = Database.GetScalarValueWithConnectionObject(oNewObjectIdSQL,
|
||||||
pConnection,
|
pConnection,
|
||||||
|
|||||||
@ -144,7 +144,7 @@ Namespace Methods.GlobalIndexer
|
|||||||
Return oIndexes
|
Return oIndexes
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LogAndThrow(ex, "Error while loading indexes!")
|
LogAndThrow(ex, $"Error while loading manual indizes [{ex.Message}]")
|
||||||
Return Nothing
|
Return Nothing
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user